[PATCH v4] net/mlx5/hws: fix shared context to use local defaults

Raslan Darawsheh rasland at nvidia.com
Thu Mar 23 08:20:02 CET 2023


Hi,

> -----Original Message-----
> From: Erez Shitrit <erezsh at nvidia.com>
> Sent: Wednesday, March 22, 2023 4:43 PM
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Matan Azrad <matan at nvidia.com>; Slava Ovsiienko
> <viacheslavo at nvidia.com>
> Subject: [PATCH v4] net/mlx5/hws: fix shared context to use local defaults
> 
> 
> Every Flow-table has a default miss behavior, meaning what action to do in
> case of miss in that Flow-table.
> When we are using shared Flow-table we should not use the shared default
> instead we should use the default of the local Flow-table that pointed by the
> shared Flow-table.
> 
> There are two cases that need to be fixed:
> When the table created, the default miss should go to the alias ft that will
> direct it back to local context.
> 
> And also when the rule is without specific hit address and we are in a shared
> RTC from here it should be redirected back to the local context.
> 
> Fixes: ce946c7d3999 ("net/mlx5/hws: support ibv context shared with local
> one")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Erez Shitrit <erezsh at nvidia.com>
> Reviewed-by: Alex Vesker <valex at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
> ---

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the stable mailing list