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