net/mlx5: Use consistent vport num argument type
authorBodong Wang <bodong@mellanox.com>
Wed, 13 Feb 2019 06:55:33 +0000 (22:55 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 14 Feb 2019 20:14:41 +0000 (12:14 -0800)
commit7e4c4330a3bc7f34f82b5bc370821e1e16d425fb
tree12facd337c1a97d56e3fa60a0d3a91556494ede3
parent20bbf22a622178db71fb8bea5f9000d6f346185a
net/mlx5: Use consistent vport num argument type

Use u16 for vport number, which matches how hardware refers to this
argument throughout commands.

This patch doesn't change any functionality.

Signed-off-by: Bodong Wang <bodong@mellanox.com>
Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/vport.c
include/linux/mlx5/vport.h