net/mlx5: E-Switch, Use vport index when init rep
authorBodong Wang <bodong@mellanox.com>
Fri, 28 Jun 2019 22:35:51 +0000 (22:35 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 1 Jul 2019 23:40:30 +0000 (16:40 -0700)
commitd6518db278ed64561aa58f74ef5f3ee2f9dbe546
treef48a1ea5dc4e9f823d5625ae53ded86903b07096
parenta82e0b5bdac29d9719d3ca2df01494a7947351aa
net/mlx5: E-Switch, Use vport index when init rep

Driver is referring to the array index when doing rep initialization,
using vport is confusing as it's normally interpreted as vport number.

This patch doesn't change any functionality.

Signed-off-by: Bodong Wang <bodong@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c