[dpdk-dev] [PATCH v1 0/2] simplify flow rules of FDIR for IP fragment
Wenjun Wu
wenjun1.wu at intel.com
Wed Jul 7 08:17:33 CEST 2021
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
More information about the dev
mailing list