mlx5_eswitch_get_total_vports
u32 num_ports = mlx5_eswitch_get_total_vports(dev);
u32 peer_n_ports = mlx5_eswitch_get_total_vports(peer_dev);
u32 peer_num_ports = mlx5_eswitch_get_total_vports(peer_dev);
int num_vports = mlx5_eswitch_get_total_vports(mdev);
int total_vports = mlx5_eswitch_get_total_vports(dev);
int total_vports = mlx5_eswitch_get_total_vports(dev);
int total_vports = mlx5_eswitch_get_total_vports(dev);
int total_vports = mlx5_eswitch_get_total_vports(dev);
EXPORT_SYMBOL_GPL(mlx5_eswitch_get_total_vports);
total_vports = mlx5_eswitch_get_total_vports(dev) ?: 1;
total_vports = mlx5_eswitch_get_total_vports(dev) ?: 1;
u16 mlx5_eswitch_get_total_vports(const struct mlx5_core_dev *dev);