freebsd-nq/sys/modules/cxgbe/tom/Makefile
Navdeep Parhar 6790499792 cxgbe/t4_tom: Per-connection rate limiting for TCP sockets handled by
the TOE.  For now this capability is always enabled in kernels with
options RATELIMIT.  t4_tom will check if_capenable once the base driver
gets code to support rate limiting for any socket (TOE or not).

This was tested with iperf3 and netperf ToT as they already support
SO_MAX_PACING_RATE sockopt.  There is a bug in firmwares prior to
1.16.45.0 that affects the BSD driver only and results in rate-limiting
at an incorrect rate.  This will resolve by itself as soon as 1.16.45.0
or later firmware shows up in the driver.

Relnotes:	Yes
Sponsored by:	Chelsio Communications
2017-05-05 20:06:49 +00:00

25 lines
347 B
Makefile

#
# $FreeBSD$
#
CXGBE= ${SRCTOP}/sys/dev/cxgbe
.PATH: ${CXGBE}/tom
KMOD= t4_tom
SRCS= bus_if.h
SRCS+= device_if.h
SRCS+= opt_inet.h
SRCS+= opt_inet6.h
SRCS+= opt_ratelimit.h
SRCS+= pci_if.h
SRCS+= t4_connect.c
SRCS+= t4_cpl_io.c
SRCS+= t4_ddp.c
SRCS+= t4_listen.c
SRCS+= t4_tom.c
SRCS+= t4_tom_l2t.c
CFLAGS+= -I${CXGBE}
.include <bsd.kmod.mk>