28/10/2020 10:30, Nithin Dabilpuram:
> From: Thomas Monjalon <[email protected]>
> 
> The node_mbuf_priv1 was stored in the deprecated mbuf field udata64.
> It is moved to a dynamic field in order to allow removal of udata64.
> 
> Signed-off-by: Thomas Monjalon <[email protected]>
> Signed-off-by: Nithin Dabilpuram <[email protected]>
[...]
> +     IP4_LOOKUP_NODE_PRIV1_OFF(node->ctx) = node_mbuf_priv1_dynfield_offset;

That's interesting.
You copy the offset in the node context for better performance.
How much is it better than with global offset variable?
How much it decreases compared to a static mbuf field?




Reply via email to