Re: [dpdk-dev] [PATCH 2/2] net/mlx5: fix missing shared RSS hash types
From: Matan Azrad <hidden>
Date: 2021-03-29 20:58:59
From: Matan Azrad <hidden>
Date: 2021-03-29 20:58:59
From: Xiaoyu Min
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: d2046c09aa64 ("net/mlx5: support shared action for RSS")
Cc: stable@dpdk.org
Signed-off-by: Xiaoyu Min <redacted>Acked-by: Matan Azrad <redacted>