1# $FreeBSD$ 2.PATH: ${SRCTOP}/sys/dev/mlx5/mlx5_en 3 4KMOD=mlx5en 5SRCS= \ 6mlx5_en_ethtool.c \ 7mlx5_en_main.c \ 8mlx5_en_tx.c \ 9mlx5_en_flow_table.c \ 10mlx5_en_rx.c \ 11mlx5_en_rl.c \ 12mlx5_en_txrx.c \ 13device_if.h bus_if.h vnode_if.h pci_if.h \ 14opt_inet.h opt_inet6.h opt_rss.h opt_ratelimit.h 15 16.if defined(HAVE_PER_CQ_EVENT_PACKET) 17CFLAGS+= -DHAVE_PER_CQ_EVENT_PACKET 18.endif 19 20.if defined(HAVE_TCP_LRO_RX) 21CFLAGS+= -DHAVE_TCP_LRO_RX 22.endif 23 24CFLAGS+= -I${SRCTOP}/sys/ofed/include 25CFLAGS+= -I${SRCTOP}/sys/compat/linuxkpi/common/include 26 27.include <bsd.kmod.mk> 28 29CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS} 30