mirror of
https://github.com/opnsense/src.git
synced 2026-03-01 04:40:53 -05:00
The hardware rate limiting feature is enabled by the RATELIMIT kernel option. Please refer to ifconfig(8) and the txrtlmt option and the SO_MAX_PACING_RATE set socket option for more information. This feature is compatible with hardware transmit send offload, TSO. A set of sysctl(8) knobs under dev.mce.<N>.rate_limit are provided to setup the ratelimit table and also to fine tune various rate limit related parameters. Sponsored by: Mellanox Technologies
29 lines
615 B
Makefile
29 lines
615 B
Makefile
# $FreeBSD$
|
|
.PATH: ${SRCTOP}/sys/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_rl.c \
|
|
mlx5_en_txrx.c \
|
|
device_if.h bus_if.h vnode_if.h pci_if.h \
|
|
opt_inet.h opt_inet6.h opt_rss.h opt_ratelimit.h
|
|
|
|
.if defined(HAVE_PER_CQ_EVENT_PACKET)
|
|
CFLAGS+= -DHAVE_PER_CQ_EVENT_PACKET
|
|
.endif
|
|
|
|
.if defined(HAVE_TCP_LRO_RX)
|
|
CFLAGS+= -DHAVE_TCP_LRO_RX
|
|
.endif
|
|
|
|
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 ${GCC_MS_EXTENSIONS}
|