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
This commit is contained in:
np 2019-06-07 05:03:03 +00:00
parent b592fee0b4
commit 269734ef10

View File

@ -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",