Re: [PATCH net-next v4 5/5] net: Document netmem driver support

From
Jakub Kicinski <kuba@kernel.org>
Date
2024-12-13 02:53:12
Also in
linux-doc, lkml
Reply to
Mina Almasry, 2024-12-11
On Wed, 11 Dec 2024 21:20:32 +0000 Mina Almasry wrote:
quoted hunk ↗ jump to hunk
+
+================
+Netmem
+================
The length of the ==== lines must match the title.
quoted hunk ↗ jump to hunk
+Introduction
+============
+
+Device memory TCP, and likely more upcoming features, are reliant on netmem
+support in the driver. This outlines what drivers need to do to support netmem.
+
+
+Driver support
+==============
+
+1. The driver must support page_pool. The driver must not do its own recycling
+   on top of page_pool.
We discussed this one, probably needs a bit of rewording at least.
quoted hunk ↗ jump to hunk
+2. The driver must support the tcp-data-split ethtool option.
+
+3. The driver must use the page_pool netmem APIs.
We should probably mention that this is only for payload pages?
Thread (11 messages) 11 messages, 4 authors, last reply 2024-12-17
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