[PATCH] net/ixgbe: shrink size of context index

Bruce Richardson bruce.richardson at intel.com
Thu Apr 9 15:45:44 CEST 2026


On Thu, Apr 09, 2026 at 02:18:25PM +0200, Burakov, Anatoly wrote:
> On 4/8/2026 5:48 PM, Bruce Richardson wrote:
> > The ixgbe driver only supports two contexts, so using uint32_t for the
> > context index is excessive. Reducing this to uint8_t shrinks the ixgbe
> > part of the union from 32 bytes to 24. Although it does not in itself
> > shrink the space for the whole struct, it is worth doing as ixgbe is the
> > second-largest block in the union, so may become relevant if other
> > rework shrinks the idpf-specific block.
> > 
> > Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> > ---
> 
> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
> 
Applied to dpdk-next-net-intel

Thanks,
/Bruce


More information about the dev mailing list