mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
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
1 changed files with 4 additions and 2 deletions
|
|
@ -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 a new issue