Thread (58 messages) 58 messages, 4 authors, 2025-08-25

Re: [PATCH net-next v3 03/23] net: ethtool: report max value for rx-buf-len

From: Mina Almasry <hidden>
Date: 2025-08-19 00:00:28
Also in: io-uring, lkml

On Mon, Aug 18, 2025 at 6:56 AM Pavel Begunkov [off-list ref] wrote:
From: Jakub Kicinski <kuba@kernel.org>

Unlike most of our APIs the rx-buf-len param does not have an associated
max value. In theory user could set this value pretty high, but in
practice most NICs have limits due to the width of the length fields
in the descriptors.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
The other driver that supports rx_buf_len I think is hns3, and I think
you can set the max_rx_buf_len as RX_BUF_LEN_4K there? It only support
2K and 4K.

Other than that, looks good to me,

Reviewed-by: Mina Almasry <redacted>

-- 
Thanks,
Mina
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help