Home
last modified time | relevance | path

Searched refs:mlx5_esw_allowed (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dlegacy.c320 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_set_vepa()
341 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_get_vepa()
434 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_set_vport_vlan()
463 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_set_vport_spoofchk()
495 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_set_vport_trust()
520 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_set_vport_rate()
Dqos.c782 if (!mlx5_esw_allowed(esw)) in mlx5_esw_devlink_rate_leaf_tx_share_set()
808 if (!mlx5_esw_allowed(esw)) in mlx5_esw_devlink_rate_leaf_tx_max_set()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c1315 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_enable()
1348 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_disable_sriov()
1417 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_disable()
1757 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_set_vport_state()
1926 return mlx5_esw_allowed(esw) ? esw->mode : MLX5_ESWITCH_LEGACY; in mlx5_eswitch_mode()
1971 if (!mlx5_esw_allowed(esw)) in mlx5_esw_hold()
1988 if (mlx5_esw_allowed(esw)) in mlx5_esw_release()
2000 if (mlx5_esw_allowed(esw)) in mlx5_esw_get()
2012 if (mlx5_esw_allowed(esw)) in mlx5_esw_put()
2061 return mlx5_esw_allowed(esw) ? esw->total_vports : 0; in mlx5_eswitch_get_total_vports()
[all …]
Deswitch.h556 static inline bool mlx5_esw_allowed(const struct mlx5_eswitch *esw) in mlx5_esw_allowed() function
747 if (mlx5_esw_allowed(esw)) in mlx5_eswitch_num_vfs()