summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
diff options
context:
space:
mode:
authorBodong Wang2019-02-13 07:55:40 +0100
committerSaeed Mahameed2019-02-14 21:14:42 +0100
commitb05af6aacdb920dc3bfd27d53ade7f680d43265c (patch)
treeabb1c73c4ff4042e70b9d0b5ccc11ff827dd3fbe /drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
parentnet/mlx5: Provide an alternative VF upper bound for ECPF (diff)
downloadkernel-qcow2-linux-b05af6aacdb920dc3bfd27d53ade7f680d43265c.tar.gz
kernel-qcow2-linux-b05af6aacdb920dc3bfd27d53ade7f680d43265c.tar.xz
kernel-qcow2-linux-b05af6aacdb920dc3bfd27d53ade7f680d43265c.zip
net/mlx5: E-Switch, Normalize the name of uplink vport number
Driver used to name uplink vport as FDB_UPLINK_VPORT, it's hard to comply with the same naming convention along with the introduction of other vports. Use MLX5_VPORT as the prefix for such vports and relocate the uplink vport definition to public header file for the benefits of both net and IB drivers. This patch doesn't change any functionality. Signed-off-by: Bodong Wang <bodong@mellanox.com> Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/eswitch.h')
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/eswitch.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
index 9c89eea9b2c3..94da74b1e6ea 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
+++ b/drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
@@ -49,8 +49,6 @@
#define MLX5_MAX_MC_PER_VPORT(dev) \
(1 << MLX5_CAP_GEN(dev, log_max_current_mc_list))
-#define FDB_UPLINK_VPORT 0xffff
-
#define MLX5_MIN_BW_SHARE 1
#define MLX5_RATE_TO_BW_SHARE(rate, divider, limit) \