#
f74914c9 |
| 17-Jun-2024 |
Gregory Etelson <getelson@nvidia.com> |
net/mlx5: fix non-template IPv6 flow RSS hash
MLX5 HW prioritizes IPv4 hash over IPv6 in TIR setup. If TIR was configured to hash both IPv4 and IPv6 the MLX5 HW will use IPv4 hash even if packet mat
net/mlx5: fix non-template IPv6 flow RSS hash
MLX5 HW prioritizes IPv4 hash over IPv6 in TIR setup. If TIR was configured to hash both IPv4 and IPv6 the MLX5 HW will use IPv4 hash even if packet matched IPv6 flow item.
The patch removes IPv4 hash from RSS action configuration if flow rule matched IPV6 item in the non-template PMD setup.
Fixes: ae67e3c43dd5 ("net/mlx5: support RSS expansion in non-template HWS setup")
Signed-off-by: Gregory Etelson <getelson@nvidia.com> Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
show more ...
|
#
a233fe1d |
| 17-Jun-2024 |
Gregory Etelson <getelson@nvidia.com> |
net/mlx5: refactor non-template flow RSS expansion
The current PMD handled non-template RSS expansion in the `flow_nta_handle_rss()` function. The function returned flow handle for expanded RSS flow
net/mlx5: refactor non-template flow RSS expansion
The current PMD handled non-template RSS expansion in the `flow_nta_handle_rss()` function. The function returned flow handle for expanded RSS flow rule or NULL if there was no RSS expansion. The NULL result with non-zero rte_errno value pointed to an error during RSS expansion. If rte_errno value was 0, PMD resumed normal flow creation for the RSS rule without expansion.
The patch changes `flow_nta_handle_rss()` behavior. On success, the function always creates a flow handle. The flow handle references multiple flows if RSS expansion was required and single flow if no RSS expansion was not required. The function returns NULL if it failed to create RSS flow.
Signed-off-by: Gregory Etelson <getelson@nvidia.com> Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
show more ...
|
#
ae67e3c4 |
| 10-Jun-2024 |
Gregory Etelson <getelson@nvidia.com> |
net/mlx5: support RSS expansion in non-template HWS setup
The MLX5 PMD expands flow rule with the RSS action in the non-template environment.
The patch adds RSS flow rule expansion for legacy flow
net/mlx5: support RSS expansion in non-template HWS setup
The MLX5 PMD expands flow rule with the RSS action in the non-template environment.
The patch adds RSS flow rule expansion for legacy flow rules in the template setup.
Signed-off-by: Gregory Etelson <getelson@nvidia.com> Acked-by: Dariusz Sosnowski <dsosnowski@nvidia.com>
show more ...
|