Re: [dpdk-dev] [PATCH v2] net/iavf: support FDIR TCP/UDP pattern without input set
From: Zhang, Qi Z <hidden>
Date: 2021-01-07 04:37:48
From: Zhang, Qi Z <hidden>
Date: 2021-01-07 04:37:48
-----Original Message----- From: Zhang, Yuying <redacted> Sent: Wednesday, January 6, 2021 6:49 PM To: dev@dpdk.org; Zhang, Qi Z <redacted>; Wu, Jingjing [off-list ref]; Yigit, Ferruh [off-list ref] Cc: Zhang, Yuying <redacted> Subject: [PATCH v2] net/iavf: support FDIR TCP/UDP pattern without input set This patch adds an input set refinement function to support outer and inner TCP/UDP patterns without input set for flow director filter. 1. flow create 0 ingress pattern eth / ipv4 / udp / end actions rss queues 0 1 2 3 end / end 2. flow create 0 ingress pattern eth / ipv6 / tcp / end actions queue index 3 / end This patch supports above patterns which can't be created currently.
Refine the commit a little bit as below: This patch will refine the inputset when it is empty and generate a dummy proto type as inputset in l3 header which is required by the hardware.
Signed-off-by: Yuying Zhang <redacted>
Acked-by: Qi Zhang <redacted> Applied to dpdk-next-net-intel after reverted v1. Thanks Qi