The branch main has been updated by np: URL: https://cgit.FreeBSD.org/src/commit/?id=f8058d33337425549e42dcccdd0f55c837bb8775
commit f8058d33337425549e42dcccdd0f55c837bb8775 Author: Navdeep Parhar <n...@freebsd.org> AuthorDate: 2022-01-25 22:27:28 +0000 Commit: Navdeep Parhar <n...@freebsd.org> CommitDate: 2022-04-13 04:35:29 +0000 cxgbe/cxgbei: Allow max PDU payload lengths to be changed with a sysctl. New connections will use the new values. Existing connections are not affected. Obtained from: jhb@ MFC after: 3 weeks Sponsored by: Chelsio Communications --- sys/dev/cxgbe/cxgbei/cxgbei.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/cxgbe/cxgbei/cxgbei.c b/sys/dev/cxgbe/cxgbei/cxgbei.c index 979feace81dd..ad66247775e1 100644 --- a/sys/dev/cxgbe/cxgbei/cxgbei.c +++ b/sys/dev/cxgbe/cxgbei/cxgbei.c @@ -197,10 +197,10 @@ cxgbei_init(struct adapter *sc, struct cxgbei_data *ci) CTLFLAG_RW, &ci->ddp_threshold, 0, "Rx zero copy threshold"); SYSCTL_ADD_UINT(&ci->ctx, children, OID_AUTO, "max_rx_data_len", - CTLFLAG_RD, &ci->max_rx_data_len, 0, + CTLFLAG_RW, &ci->max_rx_data_len, 0, "Maximum receive data segment length"); SYSCTL_ADD_UINT(&ci->ctx, children, OID_AUTO, "max_tx_data_len", - CTLFLAG_RD, &ci->max_tx_data_len, 0, + CTLFLAG_RW, &ci->max_tx_data_len, 0, "Maximum transmit data segment length"); return (0);