linux/drivers/net/ethernet/netronome/nfp
John Hurley bb9a8d0311 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>
2018-05-24 23:10:57 -04:00
..
abm nfp: use split in naming of PCIe PF ports 2018-05-23 14:26:19 -04:00
bpf Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next 2018-05-24 22:20:51 -04:00
flower nfp: flower: monitor and offload LAG groups 2018-05-24 23:10:57 -04:00
nfpcore nfp: nfpcore: add rtsym writing function 2018-05-24 23:10:56 -04:00
nic nfp: add Makefiles to all directories 2018-02-22 15:22:50 -05:00
Makefile nfp: flower: monitor and offload LAG groups 2018-05-24 23:10:57 -04:00
nfp_abi.h nfp: add shared buffer configuration 2018-05-23 14:26:18 -04:00
nfp_app.c nfp: abm: add initial active buffer management NIC skeleton 2018-05-23 14:26:18 -04:00
nfp_app.h nfp: add devlink_eswitch_mode_set callback 2018-05-23 14:26:19 -04:00
nfp_app_nic.c nfp: abm: create project-specific vNIC structure 2018-05-23 14:26:18 -04:00
nfp_asm.c nfp: bpf: add support for atomic add of unknown values 2018-03-28 19:36:14 -07:00
nfp_asm.h nfp: bpf: support arithmetic right shift by constant (BPF_ARSH | BPF_K) 2018-05-18 21:35:55 +02:00
nfp_devlink.c nfp: add devlink_eswitch_mode_set callback 2018-05-23 14:26:19 -04:00
nfp_hwmon.c nfp: add hwmon support 2017-05-30 11:27:06 -04:00
nfp_main.c nfp: add support for per-PCI PF mailbox 2018-05-23 14:26:18 -04:00
nfp_main.h nfp: add shared buffer configuration 2018-05-23 14:26:18 -04:00
nfp_net.h nfp: assign vNIC id as phys_port_name of vNICs which are not ports 2018-05-23 14:26:19 -04:00
nfp_net_common.c nfp: assign vNIC id as phys_port_name of vNICs which are not ports 2018-05-23 14:26:19 -04:00
nfp_net_ctrl.c nfp: fix TLV offset calculation 2018-02-02 19:08:20 -05:00
nfp_net_ctrl.h nfp: standardize FW header whitespace 2018-02-16 16:24:24 -05:00
nfp_net_debugdump.c nfp: fix fw dump handling of absolute rtsym size 2018-01-23 10:12:01 -05:00
nfp_net_debugfs.c nfp: assign vNIC id as phys_port_name of vNICs which are not ports 2018-05-23 14:26:19 -04:00
nfp_net_ethtool.c nfp: add a separate counter for packets with CHECKSUM_COMPLETE 2018-04-04 11:36:50 -04:00
nfp_net_main.c nfp: assign vNIC id as phys_port_name of vNICs which are not ports 2018-05-23 14:26:19 -04:00
nfp_net_repr.c nfp: add ndo_set_mac_address for representors 2018-05-24 23:10:56 -04:00
nfp_net_repr.h nfp: abm: spawn port netdevs 2018-05-23 14:26:19 -04:00
nfp_net_sriov.c nfp: inform the VF driver needs to be restarted after changing the MAC 2017-10-28 18:59:48 +09:00
nfp_net_sriov.h nfp: add basic SR-IOV ndo functions 2017-08-25 19:24:58 -07:00
nfp_netvf_main.c nfp: assign vNIC id as phys_port_name of vNICs which are not ports 2018-05-23 14:26:19 -04:00
nfp_port.c nfp: use split in naming of PCIe PF ports 2018-05-23 14:26:19 -04:00
nfp_port.h nfp: use split in naming of PCIe PF ports 2018-05-23 14:26:19 -04:00
nfp_shared_buf.c nfp: add shared buffer configuration 2018-05-23 14:26:18 -04:00