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?