Re: [PATCH net-next v7 4/9] net: let pp memory provider to specify rx buf len

From
Jakub Kicinski <kuba@kernel.org>
Date
2025-12-02 19:04:33
Also in
bpf, io-uring, linux-doc, linux-kselftest, lkml
Reply to
Pavel Begunkov, 2025-11-30
On Sun, 30 Nov 2025 23:35:19 +0000 Pavel Begunkov wrote:
quoted hunk ↗ jump to hunk
+enum {
+	/* queue restart support custom rx buffer sizes */
+	NDO_QUEUE_RX_BUF_SIZE		= 0x1,
If you have to respin -- let's drop the NDO from this define.
To suggest something specific - QCFG_ is a better prefix?
IDK why we ended up with ndo_ prefix on the queue ops..

Also RX_PAGE_SIZE is a better name for the fields? RX_BUF_SIZE
is easy to confuse with RX_BUF_LEN which we are no longer trying
to modify.
Thread (20 messages) 20 messages, 4 authors, last reply 2025-12-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help