Home
last modified time | relevance | path

Searched refs:mlx5_sd_get_primary (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dsd.c59 struct mlx5_core_dev *mlx5_sd_get_primary(struct mlx5_core_dev *dev) in mlx5_sd_get_primary() function
106 mlx5_sd_for_each_dev(i, mlx5_sd_get_primary(dev), pos) in mlx5_sd_pf_num_get()
333 struct mlx5_core_dev *primary = mlx5_sd_get_primary(dev); in sd_lag_init()
381 struct mlx5_core_dev *primary = mlx5_sd_get_primary(dev); in sd_lag_cleanup()
736 primary_sd = mlx5_get_sd(mlx5_sd_get_primary(secondary)); in sd_cmd_unset_secondary()
802 primary = mlx5_sd_get_primary(dev); in mlx5_sd_init()
888 primary = mlx5_sd_get_primary(dev); in mlx5_sd_cleanup()
944 primary = mlx5_sd_get_primary(dev); in mlx5_sd_get_adev()
1062 primary = mlx5_sd_get_primary(dev); in mlx5_sd_eswitch_mode_set()
H A Dsd.h14 struct mlx5_core_dev *mlx5_sd_get_primary(struct mlx5_core_dev *dev);
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c4209 (mlx5_sd_get_primary(priv->mdev) == in is_sd_eligible()
4210 mlx5_sd_get_primary(peer_priv->mdev)); in is_sd_eligible()
4215 struct mlx5_core_dev *primary = mlx5_sd_get_primary(priv->mdev); in is_multiport_eligible()
4399 if (!mlx5_lag_is_mpesw(mlx5_sd_get_primary(esw_attr->in_mdev))) in is_peer_flow_needed()
4694 if (mlx5_sd_get_primary(in_mdev) != in mlx5e_add_fdb_flow()
4695 mlx5_sd_get_primary(peer_esw->dev)) in mlx5e_add_fdb_flow()