[PATCH v6 0/2] node: add mbuf dynamic field for nodes

Pavan Nikhilesh Bhagavatula pbhagavatula at marvell.com
Mon May 5 19:20:04 CEST 2025



> -----Original Message-----
> From: Nitin Saxena <nsaxena at marvell.com>
> Sent: Monday, April 28, 2025 4:07 PM
> To: Nithin Kumar Dabilpuram <ndabilpuram at marvell.com>; Pavan Nikhilesh
> Bhagavatula <pbhagavatula at marvell.com>; Robin Jarry
> <rjarry at redhat.com>; Christophe Fontaine <cfontain at redhat.com>
> Cc: dev at dpdk.org; Jerin Jacob <jerinj at marvell.com>; Nitin Saxena
> <nsaxena16 at gmail.com>
> Subject: [PATCH v6 0/2] node: add mbuf dynamic field for nodes
> 
> Currently each rte_node registers separate mbuf dynamic fields for their
> own purpose. This leads to wastage of mbuf space as once mbuf get passed
> a particular node, the registered dynamic field(by that node) is no
> longer used.
> 
> This patch series adds a global/common mbuf dynamic field which is
> reusable by all the nodes(including out-of-tree nodes). This helps to
> repurpose same mbuf dynamic field for other nodes. It contains two types
> of fields: (a) persistent (b) overloadable.
> 
> While persistent fields are those which does not often changes during a
> graph walk such as rx/tx interface, buffer flags etc. Currently there
> are no persistent fields added but they can be added later
> 
> Overloadable fields are those which can be used by two adjacent nodes.
> Same overloadable fields can be repurposed by other two adjacent nodes.
> 
> This patch series also updates ip4/ip6 lookup/rewrite nodes to use
> overlaodable mbuf dynamic fields.
> 

Series-acked-by: Pavan Nikhilesh <pbhagavatula at marvell.com>


More information about the dev mailing list