mlx5_core_is_mp_slave
if (!mlx5_core_is_mp_slave(dev))
if (mlx5_core_is_mp_slave(dev)) {
if (mlx5_core_is_mp_slave(dev) || mlx5_lag_is_active(dev)) {
bool is_mpv_slave = mlx5_core_is_mp_slave(mdev);
if (!mlx5_core_is_mp_slave(mdev))
if (mlx5_core_is_mp_slave(mdev)) {
bool is_mpv_slave = mlx5_core_is_mp_slave(mdev);
bool is_mpv_slave = mlx5_core_is_mp_slave(mdev);
return mlx5_core_is_mp_slave(dev) ||