RE: [PATCH v2 5/5] ethdev: add MPLS header modification support

2023-05-22 Thread Michael Baum
Hi Ori, > -Original Message- > From: Ori Kam > Sent: Sunday, 21 May 2023 22:03 > > Hi Michael, > > > -Original Message- > > From: Michael Baum > > Sent: Thursday, May 18, 2023 8:40 PM > > > > Add support for MPLS modify header using "RTE_FLOW_FIELD_MPLS" id. > > > > Since MPLS

RE: [PATCH v2 5/5] ethdev: add MPLS header modification support

2023-05-21 Thread Ori Kam
Hi Michael, > -Original Message- > From: Michael Baum > Sent: Thursday, May 18, 2023 8:40 PM > > Add support for MPLS modify header using "RTE_FLOW_FIELD_MPLS" id. > > Since MPLS heaser might appear more the one time in inner/outer/tunnel, > a new field was added to "rte_flow_action_mod

[PATCH v2 5/5] ethdev: add MPLS header modification support

2023-05-18 Thread Michael Baum
Add support for MPLS modify header using "RTE_FLOW_FIELD_MPLS" id. Since MPLS heaser might appear more the one time in inner/outer/tunnel, a new field was added to "rte_flow_action_modify_data" structure in addition to "level" field. The "tag_index" field is the index of the header inside encapsul