Searched refs:MLX5_ESWITCH_MANAGER (Results 1 – 13 of 13) sorted by relevance
47 if (MLX5_ESWITCH_MANAGER(sf_dev->parent_mdev)) in mlx5_sf_dev_probe()70 if (MLX5_ESWITCH_MANAGER(sf_dev->parent_mdev)) in mlx5_sf_dev_probe()
61 if (MLX5_ESWITCH_MANAGER(mdev)) { in mlx5e_devlink_port_register()
13 #define MLX5_ESWITCH_MANAGER(mdev) MLX5_CAP_GEN(mdev, eswitch_manager) macro
284 return (MLX5_ESWITCH_MANAGER(priv->mdev) && priv->ppriv); in mlx5e_is_vport_rep()
48 if (!MLX5_ESWITCH_MANAGER(dev)) in is_eth_rep_supported()
75 if (!MLX5_ESWITCH_MANAGER(dev)) in mlx5_eswitch_check()1814 if (!MLX5_ESWITCH_MANAGER(dev)) in mlx5_devlink_esw_multiport_set()1846 if (!MLX5_VPORT_MANAGER(dev) && !MLX5_ESWITCH_MANAGER(dev)) in mlx5_eswitch_init()
201 if (MLX5_ESWITCH_MANAGER(dev)) { in mlx5_query_hca_caps()
628 return esw && MLX5_ESWITCH_MANAGER(esw->dev); in mlx5_esw_allowed()
720 if (!MLX5_ESWITCH_MANAGER(priv->mdev)) in mlx5e_is_uplink_rep()
3635 if (MLX5_ESWITCH_MANAGER(dev)) { in mlx5_fs_core_init()
2491 if (MLX5_ESWITCH_MANAGER(esw->dev) && in esw_offloads_init()
102 if (!MLX5_ESWITCH_MANAGER(dev) || l2table_size == 1) in mlx5_mpfs_init()
296 return dev->priv.eswitch && MLX5_ESWITCH_MANAGER(dev) && in mlx5_sf_table_supported()