summaryrefslogtreecommitdiffstats
path: root/sys/modules/cxgbe
diff options
context:
space:
mode:
authornp <np@FreeBSD.org>2012-08-17 00:49:29 +0000
committernp <np@FreeBSD.org>2012-08-17 00:49:29 +0000
commit79e5034b600a9b0089aa1ad6bc5693025f54ec76 (patch)
tree7951b71980fa60213e80df44593d09d369f5523a /sys/modules/cxgbe
parente3476a5babfbbf01ab5216c29ee8238e6c8a1ab3 (diff)
downloadFreeBSD-src-79e5034b600a9b0089aa1ad6bc5693025f54ec76.zip
FreeBSD-src-79e5034b600a9b0089aa1ad6bc5693025f54ec76.tar.gz
Support for TCP DDP (Direct Data Placement) in the T4 TOE module.
Basically, this is automatic rx zero copy when feasible. TCP payload is DMA'd directly into the userspace buffer described by the uio submitted in soreceive by an application. - Works with sockets that are being handled by the TCP offload engine of a T4 chip (you need t4_tom.ko module loaded after cxgbe, and an "ifconfig +toe" on the cxgbe interface). - Does not require any modification to the application. - Not enabled by default. Use hw.t4nex.<X>.toe.ddp="1" to enable it.
Diffstat (limited to 'sys/modules/cxgbe')
-rw-r--r--sys/modules/cxgbe/tom/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/modules/cxgbe/tom/Makefile b/sys/modules/cxgbe/tom/Makefile
index d17ce6f..72721be 100644
--- a/sys/modules/cxgbe/tom/Makefile
+++ b/sys/modules/cxgbe/tom/Makefile
@@ -8,7 +8,7 @@ CXGBE = ${.CURDIR}/../../../dev/cxgbe
.PATH: ${CXGBE}/tom
KMOD = t4_tom
-SRCS = t4_tom.c t4_connect.c t4_listen.c t4_cpl_io.c t4_tom_l2t.c
+SRCS = t4_tom.c t4_connect.c t4_listen.c t4_cpl_io.c t4_tom_l2t.c t4_ddp.c
SRCS+= device_if.h bus_if.h pci_if.h
SRCS+= opt_inet.h
OpenPOWER on IntegriCloud