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

From: Jakub Kicinski
Date: Thu Dec 12 2024 - 21:53:20 EST


On Wed, 11 Dec 2024 21:20:32 +0000 Mina Almasry wrote:
> +
> +================
> +Netmem
> +================

The length of the ==== lines must match the title.

> +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.

> +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?