[dpdk-dev] [PATCH] mbuf: extend pktmbuf pool private structure

Stephen Hemminger stephen at networkplumber.org
Mon Nov 18 17:12:03 CET 2019


On Mon, 18 Nov 2019 10:02:55 +0000
Shahaf Shuler <shahafs at mellanox.com> wrote:

> With the API and ABI freeze ahead, it will be good to reserve
> some bits on the private structure for future use.
> 
> Otherwise we will potentially need to maintain two different
> private structure during 2020 period.
> 
> There is already one use case for those reserved bits[1]
> 
> The reserved field should be set to 0 by the user.
> 
> [1]
> https://patches.dpdk.org/patch/63077/
> 
> Signed-off-by: Shahaf Shuler <shahafs at mellanox.com>
> ---

Understand the motivation but in my experience until you know
what it is for, this doesn't work. And it creates lots of dead ends.

https://en.wikipedia.org/wiki/You_aren%27t_gonna_need_it


More information about the dev mailing list