Re: [PATCH v3] ethdev: add packet type matching item

2023-10-10 Thread Ferruh Yigit
On 10/9/2023 5:24 PM, Alexander Kozyrev wrote: > Add RTE_FLOW_ITEM_TYPE_PTYPE to allow matching on > L2/L3/L4 and tunnel information as defined in mbuf. > > To match on RTE_PTYPE_L4_TCP and RTE_PTYPE_INNER_L4_UDP: > flow pattern_template 0 create pattern_template_id 1 > ingress template ptyp

[PATCH v3] ethdev: add packet type matching item

2023-10-09 Thread Alexander Kozyrev
Add RTE_FLOW_ITEM_TYPE_PTYPE to allow matching on L2/L3/L4 and tunnel information as defined in mbuf. To match on RTE_PTYPE_L4_TCP and RTE_PTYPE_INNER_L4_UDP: flow pattern_template 0 create pattern_template_id 1 ingress template ptype packet_type mask 0x0f000f00 / end flow queue 0 create 0