diff options
author | 2018-05-23 19:22:53 -0700 | |
---|---|---|
committer | 2018-05-24 23:10:57 -0400 | |
commit | bb9a8d031140f186d13d82f57b0f5646d596652f (patch) | |
tree | 1d367a01216b01615475271e302f205ffb875db0 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | net: include hash policy in LAG changeupper info (diff) | |
download | wireguard-linux-bb9a8d031140f186d13d82f57b0f5646d596652f.tar.xz wireguard-linux-bb9a8d031140f186d13d82f57b0f5646d596652f.zip |
nfp: flower: monitor and offload LAG groups
Monitor LAG events via the NETDEV_CHANGEUPPER/NETDEV_CHANGELOWERSTATE
notifiers to maintain a list of offloadable groups. Sync these groups with
HW via a delayed workqueue to prevent excessive re-configuration. When the
workqueue is triggered it may generate multiple control messages for
different groups. These messages are linked via a batch ID and flags to
indicate a new batch and the end of a batch.
Update private data in each repr to track their LAG lower state flags. The
state of a repr is used to determine the active netdevs that can be
offloaded. For example, in active-backup mode, we only offload the netdev
currently active.
Signed-off-by: John Hurley <john.hurley@netronome.com>
Reviewed-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions