linux/drivers/net/ethernet/netronome/nfp/flower
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
..
Makefile nfp: add Makefiles to all directories 2018-02-22 15:22:50 -05:00
action.c nfp: flower: set tunnel ttl value to net default 2018-05-01 18:59:57 -04:00
cmsg.c nfp: flower: check for/turn on LAG support in firmware 2018-05-24 23:10:56 -04:00
cmsg.h nfp: flower: check for/turn on LAG support in firmware 2018-05-24 23:10:56 -04:00
lag_conf.c nfp: flower: monitor and offload LAG groups 2018-05-24 23:10:57 -04:00
main.c nfp: flower: monitor and offload LAG groups 2018-05-24 23:10:57 -04:00
main.h nfp: flower: monitor and offload LAG groups 2018-05-24 23:10:57 -04:00
match.c nfp: flower: implement ip fragmentation match offload 2018-03-26 13:01:09 -04:00
metadata.c nfp: flower: support offloading multiple rules with same cookie 2018-04-25 14:07:04 -04:00
offload.c nfp: flower: ignore duplicate cb requests for same rule 2018-04-25 14:07:04 -04:00
tunnel_conf.c nfp: fix kdoc warnings on nested structures 2018-02-06 11:43:58 -05:00