Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dlegacy.c318 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_set_vepa()
339 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_get_vepa()
432 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_set_vport_vlan()
461 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_set_vport_spoofchk()
493 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_set_vport_trust()
518 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_set_vport_rate()
Dqos.c865 if (!mlx5_esw_allowed(esw)) in mlx5_esw_devlink_rate_leaf_tx_share_set()
891 if (!mlx5_esw_allowed(esw)) in mlx5_esw_devlink_rate_leaf_tx_max_set()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c1525 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_enable()
1566 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_disable_sriov()
1639 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_disable()
2030 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_set_vport_state()
2199 return mlx5_esw_allowed(esw) ? esw->mode : MLX5_ESWITCH_LEGACY; in mlx5_eswitch_mode()
2244 if (!mlx5_esw_allowed(esw)) in mlx5_esw_hold()
2266 if (mlx5_esw_allowed(esw)) in mlx5_esw_release()
2278 if (mlx5_esw_allowed(esw)) in mlx5_esw_get()
2290 if (mlx5_esw_allowed(esw)) in mlx5_esw_put()
2352 return mlx5_esw_allowed(esw) ? esw->total_vports : 0; in mlx5_eswitch_get_total_vports()
[all …]
Deswitch.h626 static inline bool mlx5_esw_allowed(const struct mlx5_eswitch *esw) in mlx5_esw_allowed() function
856 if (mlx5_esw_allowed(esw)) in mlx5_eswitch_num_vfs()
864 if (mlx5_esw_allowed(esw)) in mlx5_eswitch_get_npeers()
Deswitch_offloads.c3698 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_block_mode()
3715 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_unblock_mode()
3925 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_block_encap()
3944 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_unblock_encap()