forked from OISF/suricata
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dpdk/rss: add rte_flow rss support for ice
ice driver requires 2 rte_flow rules for matching and redistributing incoming traffic with RSS. The rules set up by iceDeviceSetRSSFlowIPv4() and iceDeviceSetRSSFlowIPv6() are different only in the pattern ("pattern eth / ipv4 / end" or "pattern eth / ipv6 / end" in dpdk-testpmd syntax) and in the hash type (ipv4 src dst / ipv6 src dst). ice will match all ipv4 or ipv6 traffic independently of following l4 protocol. The rules can not have queues configured, implicitly they will use all queues available. The hash function is set to RTE_ETH_HASH_FUNCTION_SYMMETRIC_TOEPLITZ as the hash key also can not be set explicitly. The syntax in dpdk-testpmd for rule to match all ipv4 traffic with attributes: port index == 0 is as follows: "flow create 0 ingress pattern eth / ipv4 / end actions rss types ipv4 end queues end func symmetric_toeplitz / end" (queues need to be set to NULL) Ticket: 7337
- Loading branch information
Adam Kiripolsky
authored and
Adam Kiripolsky
committed
Dec 21, 2024
1 parent
f2e9cd6
commit ccd2aed
Showing
3 changed files
with
79 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters