[dpdk-dev] [PATCH] net/mlx5: fix vport id translation for LAG configuration
Viacheslav Ovsiienko
viacheslavo at mellanox.com
Mon Oct 7 15:58:00 CEST 2019
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 at mellanox.com>
---
drivers/net/mlx5/mlx5_flow_dv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c
index 20e66f6..f0422dc 100644
--- a/drivers/net/mlx5/mlx5_flow_dv.c
+++ b/drivers/net/mlx5/mlx5_flow_dv.c
@@ -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;
--
1.8.3.1
More information about the dev
mailing list