[dpdk-dev] [PATCH v2] net/mlx5: fix RSS flow action hash type selection
Yongseok Koh
yskoh at mellanox.com
Tue Aug 14 18:23:10 CEST 2018
> On Aug 14, 2018, at 4:17 AM, Shahaf Shuler <shahafs at mellanox.com> wrote:
>
> On the code after the below commits, the criteria to select the IPV4 or
> IPV6 hash functions was the existence of some ETH_RSS_IPV4 RSS types on
> the flow rule.
>
> The check is wrong. For example ETH_RSS_NONFRAG_IPV4_TCP will not select
> the IPV4 hash which will cause the packet to be spread in a bad way.
>
> Fix it by adding the corresponding types needed for each hash selection.
>
> Fixes: 592f05b29a25 ("net/mlx5: add RSS flow action")
> Fixes: fd0b70316bca ("net/mlx5: support inner RSS computation")
> Cc: stable at dpdk.org
> Cc: nelio.laranjeiro at 6wind.com
> Cc: orika at mellanox.com
>
> Reported-by: Yaroslav Brustinov <ybrustin at cisco.com>
> Signed-off-by: Shahaf Shuler <shahafs at mellanox.com>
> ---
Acked-by: Yongseok Koh <yskoh at mellanox.com>
Thanks
More information about the dev
mailing list