mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 13:05:08 +07:00
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>
64 lines
1.3 KiB
Makefile
64 lines
1.3 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_NFP) += nfp.o
|
|
|
|
nfp-objs := \
|
|
nfpcore/nfp6000_pcie.o \
|
|
nfpcore/nfp_cppcore.o \
|
|
nfpcore/nfp_cpplib.o \
|
|
nfpcore/nfp_hwinfo.o \
|
|
nfpcore/nfp_mip.o \
|
|
nfpcore/nfp_mutex.o \
|
|
nfpcore/nfp_nffw.o \
|
|
nfpcore/nfp_nsp.o \
|
|
nfpcore/nfp_nsp_cmds.o \
|
|
nfpcore/nfp_nsp_eth.o \
|
|
nfpcore/nfp_resource.o \
|
|
nfpcore/nfp_rtsym.o \
|
|
nfpcore/nfp_target.o \
|
|
nfp_asm.o \
|
|
nfp_app.o \
|
|
nfp_app_nic.o \
|
|
nfp_devlink.o \
|
|
nfp_hwmon.o \
|
|
nfp_main.o \
|
|
nfp_net_common.o \
|
|
nfp_net_ctrl.o \
|
|
nfp_net_debugdump.o \
|
|
nfp_net_ethtool.o \
|
|
nfp_net_main.o \
|
|
nfp_net_repr.o \
|
|
nfp_net_sriov.o \
|
|
nfp_netvf_main.o \
|
|
nfp_port.o \
|
|
nfp_shared_buf.o \
|
|
nic/main.o
|
|
|
|
ifeq ($(CONFIG_NFP_APP_FLOWER),y)
|
|
nfp-objs += \
|
|
flower/action.o \
|
|
flower/cmsg.o \
|
|
flower/lag_conf.o \
|
|
flower/main.o \
|
|
flower/match.o \
|
|
flower/metadata.o \
|
|
flower/offload.o \
|
|
flower/tunnel_conf.o
|
|
endif
|
|
|
|
ifeq ($(CONFIG_BPF_SYSCALL),y)
|
|
nfp-objs += \
|
|
bpf/cmsg.o \
|
|
bpf/main.o \
|
|
bpf/offload.o \
|
|
bpf/verifier.o \
|
|
bpf/jit.o
|
|
endif
|
|
|
|
ifeq ($(CONFIG_NFP_APP_ABM_NIC),y)
|
|
nfp-objs += \
|
|
abm/ctrl.o \
|
|
abm/main.o
|
|
endif
|
|
|
|
nfp-$(CONFIG_NFP_DEBUG) += nfp_net_debugfs.o
|