1290650Shselasky# $FreeBSD: releng/11.0/sys/modules/mlx5en/Makefile 291938 2015-12-07 12:38:51Z hselasky $ 2290650Shselasky.PATH: ${.CURDIR}/../../dev/mlx5/mlx5_en 3290650Shselasky 4290650ShselaskyKMOD=mlx5en 5290650ShselaskySRCS= \ 6290650Shselaskymlx5_en_ethtool.c \ 7290650Shselaskymlx5_en_main.c \ 8290650Shselaskymlx5_en_tx.c \ 9290650Shselaskymlx5_en_flow_table.c \ 10290650Shselaskymlx5_en_rx.c \ 11290650Shselaskymlx5_en_txrx.c \ 12290650Shselaskydevice_if.h bus_if.h vnode_if.h pci_if.h \ 13291938Shselasky opt_inet.h opt_inet6.h opt_rss.h 14290650Shselasky 15290650Shselasky.if defined(HAVE_TURBO_LRO) 16290650ShselaskyCFLAGS+= -DHAVE_TURBO_LRO 17290650ShselaskySRCS+= tcp_tlro.c 18290650Shselasky.endif 19290650Shselasky 20290650Shselasky.if defined(HAVE_PER_CQ_EVENT_PACKET) 21290650ShselaskyCFLAGS+= -DHAVE_PER_CQ_EVENT_PACKET 22290650Shselasky.endif 23290650Shselasky 24290650ShselaskyCFLAGS+= -I${.CURDIR}/../../ofed/include 25290650ShselaskyCFLAGS+= -I${.CURDIR}/../../compat/linuxkpi/common/include 26290650Shselasky 27290650Shselasky.include <bsd.kmod.mk> 28290650Shselasky 29290650ShselaskyCFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS} 30