[dpdk-dev] [PATCH] net/mlx5: fix vport index in port action

Raslan Darawsheh rasland at mellanox.com
Sun Nov 17 15:26:51 CET 2019


Hi,

> -----Original Message-----
> From: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
> Sent: Sunday, November 17, 2019 10:48 AM
> To: dev at dpdk.org
> Cc: Matan Azrad <matan at mellanox.com>; Raslan Darawsheh
> <rasland at mellanox.com>; Ori Kam <orika at mellanox.com>
> Subject: [PATCH] net/mlx5: fix vport index in port action
> 
> The rdma_core routine mlx5dv_dr_create_flow_action_dest_vport()
> requires the vport id parameter to create port action.
> The register c[0] value was used to deduce the port id value
> and it fails in bonding configuration. The correct way is
> to apply vport_num value queried from the rdma_core library.
> 
> Fixes: f07341e7aed3 ("net/mlx5: update source and destination vport
> translations")
> 
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at mellanox.com>
> ---
>  drivers/net/mlx5/mlx5.c         | 3 ++-
>  drivers/net/mlx5/mlx5_flow_dv.c | 6 +-----
>  2 files changed, 3 insertions(+), 6 deletions(-)
> 


Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh


More information about the dev mailing list