forked from DPDK/dpdk
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/mlx5: fix missing shared RSS hash types
[ upstream commit 212d17b ] Shared RSS action create all supported RSS hash combination in advance and lookup the right hash TIR when flow is actually applied by comparing hash field value. Unfortunately some hash combination is missed, for example, UDP/TCP dest port only, L3-src-only, etc. This patch add the missing hash combination. In order to reduce the usage of pre-created TIRs and because for one L3+L4 combination only one IBV hash type is possible, for example, either IBV_RX_HASH_SRC_PORT_UDP or IBV_RX_HASH_DST_PORT_UDP or both of them could be set so they can share same slot in mlx5_rss_hash_fields, means only one TIR will be created. Fixes: d2046c0 ("net/mlx5: support shared action for RSS") Signed-off-by: Xiaoyu Min <jackmin@nvidia.com> Acked-by: Matan Azrad <matan@nvidia.com>
- Loading branch information
1 parent
43af55f
commit b52bd28
Showing
2 changed files
with
148 additions
and
0 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