c3191c2e2b
Background: The coming ibcore update forces an update of mlx4ib(4) which in turn requires an updated mlx4 core module. This also affects the mlx4en(4) module because commonly used APIs are updated. This commit is a middle step updating the mlx4 modules towards the new ibcore. This change contains no major new features. Changes in mlx4: a) Improved error handling when mlx4 PCI devices are detached inside VMs. b) Major update of codebase towards Linux 4.9. Changes in mlx4ib(4): a) Minimal changes needed in order to compile using the updated mlx4 core APIs. Changes in mlx4en(4): a) Update flow steering code in mlx4en to use new APIs for registering MAC addresses and IP addresses. b) Update all statistics counters to be 64-bit. c) Minimal changes needed in order to compile using the updated mlx4 core APIs. Sponsored by: Mellanox Technologies MFC after: 1 week
34 lines
606 B
Makefile
34 lines
606 B
Makefile
# $FreeBSD$
|
|
.PATH: ${SRCTOP}/sys/dev/mlx4/mlx4_core
|
|
|
|
KMOD= mlx4
|
|
SRCS= device_if.h bus_if.h vnode_if.h pci_if.h \
|
|
opt_inet.h opt_inet6.h \
|
|
mlx4_alloc.c \
|
|
mlx4_catas.c \
|
|
mlx4_cmd.c \
|
|
mlx4_cq.c \
|
|
mlx4_eq.c \
|
|
mlx4_fw.c \
|
|
mlx4_fw_qos.c \
|
|
mlx4_icm.c \
|
|
mlx4_intf.c \
|
|
mlx4_main.c \
|
|
mlx4_mcg.c \
|
|
mlx4_mr.c \
|
|
mlx4_pd.c \
|
|
mlx4_port.c \
|
|
mlx4_profile.c \
|
|
mlx4_qp.c \
|
|
mlx4_reset.c \
|
|
mlx4_sense.c \
|
|
mlx4_srq.c \
|
|
mlx4_resource_tracker.c
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys/ofed/include
|
|
CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith
|