[PATCH] net/ixgbe: shrink size of context index
Burakov, Anatoly
anatoly.burakov at intel.com
Thu Apr 9 14:18:25 CEST 2026
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>
--
Thanks,
Anatoly
More information about the dev
mailing list