net/mlx5: fix vport id translation for LAG configuration
Checks
Commit Message
The vport id value was taken from wrong field.
Fixes: a6282bb1f8f4 ("net/mlx5: update source and destination vport translations")
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
---
drivers/net/mlx5/mlx5_flow_dv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hi,
> -----Original Message-----
> From: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
> Sent: Monday, October 7, 2019 4:58 PM
> To: dev@dpdk.org
> Cc: Matan Azrad <matan@mellanox.com>; Raslan Darawsheh
> <rasland@mellanox.com>
> Subject: [PATCH] net/mlx5: fix vport id translation for LAG configuration
>
> The vport id value was taken from wrong field.
>
> Fixes: a6282bb1f8f4 ("net/mlx5: update source and destination vport
> translations")
>
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
On 10/8/2019 10:35 AM, Raslan Darawsheh wrote:
> Hi,
>
>> -----Original Message-----
>> From: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
>> Sent: Monday, October 7, 2019 4:58 PM
>> To: dev@dpdk.org
>> Cc: Matan Azrad <matan@mellanox.com>; Raslan Darawsheh
>> <rasland@mellanox.com>
>> Subject: [PATCH] net/mlx5: fix vport id translation for LAG configuration
>>
>> The vport id value was taken from wrong field.
>>
>> Fixes: a6282bb1f8f4 ("net/mlx5: update source and destination vport
>> translations")
>>
>> Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
>
>
> Patch applied to next-net-mlx,
>
Squashed into relevant commit in next-net, thanks.
@@ -5143,7 +5143,7 @@ struct field_modify_info modify_tcp[] = {
NULL,
"No eswitch info was found for port");
if (priv->vport_meta_mask)
- *dst_port_id = priv->ibv_port;
+ *dst_port_id = priv->vport_meta_tag;
else
*dst_port_id = priv->vport_id;
return 0;