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:
parent
3cf556f05e
commit
27c3a85d07
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=348771
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user