net/mlx5: Rename total_vfs to total_vports
authorParav Pandit <parav@mellanox.com>
Thu, 21 Mar 2019 22:51:29 +0000 (15:51 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 22 Mar 2019 19:09:29 +0000 (12:09 -0700)
commit2aca178760288936b8b3030ca83fa53082948736
tree2ef7a65244244d4e70843efb9629685d225d15be
parent88d73849e9737983c20403fe5425e3605196fab2
net/mlx5: Rename total_vfs to total_vports

Macro MLX5_TOTAL_VPORTS() returns total number of vports. Therefore,
rename variable total_vfs to total_vports to improve code readability.

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