2015-11-10 07:20:22 -05:00
|
|
|
# $FreeBSD$
|
|
|
|
|
.PATH: ${.CURDIR}/../../dev/mlx5/mlx5_en
|
|
|
|
|
|
|
|
|
|
KMOD=mlx5en
|
|
|
|
|
SRCS= \
|
|
|
|
|
mlx5_en_ethtool.c \
|
|
|
|
|
mlx5_en_main.c \
|
|
|
|
|
mlx5_en_tx.c \
|
|
|
|
|
mlx5_en_flow_table.c \
|
|
|
|
|
mlx5_en_rx.c \
|
|
|
|
|
mlx5_en_txrx.c \
|
|
|
|
|
device_if.h bus_if.h vnode_if.h pci_if.h \
|
2015-12-07 07:38:51 -05:00
|
|
|
opt_inet.h opt_inet6.h opt_rss.h
|
2015-11-10 07:20:22 -05:00
|
|
|
|
|
|
|
|
.if defined(HAVE_PER_CQ_EVENT_PACKET)
|
|
|
|
|
CFLAGS+= -DHAVE_PER_CQ_EVENT_PACKET
|
|
|
|
|
.endif
|
|
|
|
|
|
2016-08-08 12:22:16 -04:00
|
|
|
.if defined(HAVE_TCP_LRO_RX)
|
|
|
|
|
CFLAGS+= -DHAVE_TCP_LRO_RX
|
|
|
|
|
.endif
|
|
|
|
|
|
2015-11-10 07:20:22 -05:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../ofed/include
|
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include
|
|
|
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|
|
|
|
|
|
|
|
|
|
CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS}
|