mirror of https://gitee.com/openkylin/linux.git
bb9a8d0311
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> |
||
---|---|---|
.. | ||
abm | ||
bpf | ||
flower | ||
nfpcore | ||
nic | ||
Makefile | ||
nfp_abi.h | ||
nfp_app.c | ||
nfp_app.h | ||
nfp_app_nic.c | ||
nfp_asm.c | ||
nfp_asm.h | ||
nfp_devlink.c | ||
nfp_hwmon.c | ||
nfp_main.c | ||
nfp_main.h | ||
nfp_net.h | ||
nfp_net_common.c | ||
nfp_net_ctrl.c | ||
nfp_net_ctrl.h | ||
nfp_net_debugdump.c | ||
nfp_net_debugfs.c | ||
nfp_net_ethtool.c | ||
nfp_net_main.c | ||
nfp_net_repr.c | ||
nfp_net_repr.h | ||
nfp_net_sriov.c | ||
nfp_net_sriov.h | ||
nfp_netvf_main.c | ||
nfp_port.c | ||
nfp_port.h | ||
nfp_shared_buf.c |