svn commit: r348771 - head/sys/dev/cxgbe
Navdeep Parhar
np at FreeBSD.org
Fri Jun 7 05:03:04 UTC 2019
Author: np
Date: Fri Jun 7 05:03:03 2019
New Revision: 348771
URL: https://svnweb.freebsd.org/changeset/base/348771
Log:
cxgbe(4): Rename the DDP sysctl to rx_zcopy to match the tx_zcopy sysctl
and update its description. The old name continues to work for now.
Sponsored by: Chelsio Communications
Modified:
head/sys/dev/cxgbe/t4_main.c
Modified: head/sys/dev/cxgbe/t4_main.c
==============================================================================
--- head/sys/dev/cxgbe/t4_main.c Fri Jun 7 04:09:12 2019 (r348770)
+++ head/sys/dev/cxgbe/t4_main.c Fri Jun 7 05:03:03 2019 (r348771)
@@ -6232,8 +6232,10 @@ t4_sysctls(struct adapter *sc)
&sc->tt.sndbuf, 0, "max hardware send buffer size");
sc->tt.ddp = 0;
- SYSCTL_ADD_INT(ctx, children, OID_AUTO, "ddp", CTLFLAG_RW,
- &sc->tt.ddp, 0, "DDP allowed");
+ SYSCTL_ADD_INT(ctx, children, OID_AUTO, "ddp",
+ CTLFLAG_RW | CTLFLAG_SKIP, &sc->tt.ddp, 0, "");
+ SYSCTL_ADD_INT(ctx, children, OID_AUTO, "rx_zcopy", CTLFLAG_RW,
+ &sc->tt.ddp, 0, "Enable zero-copy aio_read(2)");
sc->tt.rx_coalesce = 1;
SYSCTL_ADD_INT(ctx, children, OID_AUTO, "rx_coalesce",
More information about the svn-src-all
mailing list