DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/mlx5: fix vport id translation for LAG configuration
@ 2019-10-07 13:58 Viacheslav Ovsiienko
  2019-10-08  9:35 ` Raslan Darawsheh
  0 siblings, 1 reply; 3+ messages in thread
From: Viacheslav Ovsiienko @ 2019-10-07 13:58 UTC (permalink / raw)
  To: dev; +Cc: matan, rasland

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(-)

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-08 11:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-07 13:58 [dpdk-dev] [PATCH] net/mlx5: fix vport id translation for LAG configuration Viacheslav Ovsiienko
2019-10-08  9:35 ` Raslan Darawsheh
2019-10-08 11:02   ` Ferruh Yigit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).