* [dpdk-dev] [PATCH v1 0/2] simplify flow rules of FDIR for IP fragment
@ 2021-07-07 6:17 Wenjun Wu
2021-07-08 5:16 ` Zhang, Qi Z
0 siblings, 1 reply; 2+ messages in thread
From: Wenjun Wu @ 2021-07-07 6:17 UTC (permalink / raw)
To: dev, qi.z.zhang; +Cc: Wenjun Wu
This patch simplify the pattern of flow rules of FDIR for IP fragment.
Flow rule can be created by the following command:
1. flow create 0 ingress pattern eth /
ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x2000 /
end <actions>
2. flow create 0 ingress pattern eth / ipv6 /
ipv6_frag_ext fragment_offset spec 0x0001 fragment_offset mask 0x0001 /
end <actions>
Wenjun Wu (2):
net/ice: simplify flow rules of FDIR for IP fragment
net/iavf: simplify flow rules of FDIR for IP fragment
drivers/net/iavf/iavf_fdir.c | 36 ++++++++++++---------------
drivers/net/ice/ice_fdir_filter.c | 41 +++++++++++--------------------
2 files changed, 31 insertions(+), 46 deletions(-)
--
2.25.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH v1 0/2] simplify flow rules of FDIR for IP fragment
2021-07-07 6:17 [dpdk-dev] [PATCH v1 0/2] simplify flow rules of FDIR for IP fragment Wenjun Wu
@ 2021-07-08 5:16 ` Zhang, Qi Z
0 siblings, 0 replies; 2+ messages in thread
From: Zhang, Qi Z @ 2021-07-08 5:16 UTC (permalink / raw)
To: Wu, Wenjun1, dev
> -----Original Message-----
> From: Wu, Wenjun1 <wenjun1.wu@intel.com>
> Sent: Wednesday, July 7, 2021 2:18 PM
> To: dev@dpdk.org; Zhang, Qi Z <qi.z.zhang@intel.com>
> Cc: Wu, Wenjun1 <wenjun1.wu@intel.com>
> Subject: [PATCH v1 0/2] simplify flow rules of FDIR for IP fragment
>
> This patch simplify the pattern of flow rules of FDIR for IP fragment.
>
> Flow rule can be created by the following command:
> 1. flow create 0 ingress pattern eth /
> ipv4 fragment_offset spec 0x2000 fragment_offset mask 0x2000 /
> end <actions>
> 2. flow create 0 ingress pattern eth / ipv6 /
> ipv6_frag_ext fragment_offset spec 0x0001 fragment_offset mask 0x0001 /
> end <actions>
>
> Wenjun Wu (2):
> net/ice: simplify flow rules of FDIR for IP fragment
> net/iavf: simplify flow rules of FDIR for IP fragment
>
> drivers/net/iavf/iavf_fdir.c | 36 ++++++++++++---------------
> drivers/net/ice/ice_fdir_filter.c | 41 +++++++++++--------------------
> 2 files changed, 31 insertions(+), 46 deletions(-)
>
> --
> 2.25.1
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-07-08 5:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-07 6:17 [dpdk-dev] [PATCH v1 0/2] simplify flow rules of FDIR for IP fragment Wenjun Wu
2021-07-08 5:16 ` Zhang, Qi Z
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).