]> git.droids-corp.org - dpdk.git/commit
net/iavf: support VF RSS flow rule with raw pattern
authorTing Xu <ting.xu@intel.com>
Mon, 23 May 2022 02:31:38 +0000 (10:31 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 24 May 2022 02:53:37 +0000 (04:53 +0200)
commitbc0e85586eaf774a2a0d53900aa74b257d1505f7
tree870f6f17f54076faece3ec0ee882dc7ac8867c1b
parent444a7d096e72125c1e12ba191e238c481d77225b
net/iavf: support VF RSS flow rule with raw pattern

Enable Protocol Agnostic Flow Offloading for RSS hash in VF. It supports
raw pattern flow rule creation in VF based on Parser Library feature. VF
parses the spec and mask input of raw pattern, and passes it to kernel
driver to create the flow rule. Current rte_flow raw API is utilized.

command example:
RSS hash for ipv4-src-dst:
flow create 0 ingress pattern raw pattern spec
00000000000000000000000008004500001400004000401000000000000000000000
pattern mask
0000000000000000000000000000000000000000000000000000ffffffffffffffff /
end actions rss queues end / end

Signed-off-by: Ting Xu <ting.xu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_hash.c