DPDK patches and discussions
 help / color / mirror / Atom feed
* [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

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).