d79e19f564
- Skeleton code to perform a binary debug dump via ethtoolops "set_dump", "get_dump_flags" and "get_dump_data", i.e. the ethtool -W/w mechanism. - Skeleton functions for debugdump operations provided. - An integer "dump level" can be specified, this is stored between ethtool invocations. Dump level 0 is still the "arm.diag" resource for backward compatibility. Other dump levels each define a set of state information to include in the dump, driven by a spec from FW. Signed-off-by: Carl Heymann <carl.heymann@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
54 lines
1.1 KiB
Makefile
54 lines
1.1 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_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 \
|
|
nic/main.o
|
|
|
|
ifeq ($(CONFIG_NFP_APP_FLOWER),y)
|
|
nfp-objs += \
|
|
flower/action.o \
|
|
flower/cmsg.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/main.o \
|
|
bpf/offload.o \
|
|
bpf/verifier.o \
|
|
bpf/jit.o
|
|
endif
|
|
|
|
nfp-$(CONFIG_NFP_DEBUG) += nfp_net_debugfs.o
|