28/10/2020 10:30, Nithin Dabilpuram: > From: Thomas Monjalon <tho...@monjalon.net> > > 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 <tho...@monjalon.net> > Signed-off-by: Nithin Dabilpuram <ndabilpu...@marvell.com> [...] > + 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?