net/mlx5: fix port action for LAG
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Tue, 19 Nov 2019 09:16:04 +0000 (09:16 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Nov 2019 16:36:06 +0000 (17:36 +0100)
commit6cfe84fbe7b166d272797c859966e387ef078e44
treedf9c92e9615bba03a48c881c43c12c75c1aa2857
parent6e18704b7e19855a0744cf4b291f1d1fe874d710
net/mlx5: fix port action for LAG

To support LAG configurations the mlx5dv_dr_action_create_dest_ib_port()
should be called instead of mlx5dv_dr_action_create_dest_vport().

Fixes: f07341e7aed3 ("net/mlx5: update source and destination vport translations")

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Ori Kam <orika@mellanox.com>
drivers/net/mlx5/mlx5_flow_dv.c
drivers/net/mlx5/mlx5_glue.c
drivers/net/mlx5/mlx5_glue.h