[dpdk-dev] [PATCH 2/2] net/mlx5: fix missing shared RSS hash types

Matan Azrad matan at nvidia.com
Mon Mar 29 22:58:55 CEST 2021



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 at dpdk.org
> 
> Signed-off-by: Xiaoyu Min <jackmin at nvidia.com>
Acked-by: Matan Azrad <matan at nvidia.com>


More information about the dev mailing list