[dpdk-dev] [PATCH] net/mlx5: fix wire vport hint

Raslan Darawsheh rasland at nvidia.com
Thu Jan 28 10:52:51 CET 2021


Hi,

> -----Original Message-----
> From: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> Sent: Wednesday, January 27, 2021 3:53 PM
> To: dev at dpdk.org
> Cc: Raslan Darawsheh <rasland at nvidia.com>; Matan Azrad
> <matan at nvidia.com>; Ori Kam <orika at nvidia.com>; NBU-Contact-Thomas
> Monjalon <thomas at monjalon.net>; stable at dpdk.org
> Subject: [PATCH] net/mlx5: fix wire vport hint
> 
> In order to optimize number of hops in the steering tables there
> was the hint field of source vport in the matcher. If this hint
> was provided for the wire port the actual vport match, used by
> kernel, was not set in the matcher metadata register field.
> This could led to not creating the rule in hardware and E-Switch
> malfunction if kernel used non-zero metadata value for the wire
> vport.
> 
> This patch always sets the match for the vport metadata register
> value besides the hint.
> 
> Fixes: aaf34de5d801 ("net/mlx5: add wire vport hint")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> ---

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh
 


More information about the dev mailing list