Message ID | 20210707061733.624486-1-wenjun1.wu@intel.com (mailing list archive) |
---|---|
Headers | show |
Series | simplify flow rules of FDIR for IP fragment | expand |
> -----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