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 ptype packet_type mask 0x0f000f00 / end
> flow queue 0 create 0 template_table 1
> pattern_template 0 actions_template 0
> pattern ptype packet_type is 0x02000100 / end
> actions queue index 1 / end
>
> Signed-off-by: Alexander Kozyrev <akozy...@nvidia.com>
> Acked-by: Ori Kam <or...@nvidia.com>
>
Applied to dpdk-next-net/main, thanks.