Home
last modified time | relevance | path

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

/linux-6.6.21/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.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.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c1524 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_enable()
1565 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_disable_sriov()
1638 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_disable()
2031 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_set_vport_state()
2200 return mlx5_esw_allowed(esw) ? esw->mode : MLX5_ESWITCH_LEGACY; in mlx5_eswitch_mode()
2245 if (!mlx5_esw_allowed(esw)) in mlx5_esw_hold()
2267 if (mlx5_esw_allowed(esw)) in mlx5_esw_release()
2279 if (mlx5_esw_allowed(esw)) in mlx5_esw_get()
2291 if (mlx5_esw_allowed(esw)) in mlx5_esw_put()
2353 return mlx5_esw_allowed(esw) ? esw->total_vports : 0; in mlx5_eswitch_get_total_vports()
[all …]
Deswitch.h616 static inline bool mlx5_esw_allowed(const struct mlx5_eswitch *esw) in mlx5_esw_allowed() function
853 if (mlx5_esw_allowed(esw)) in mlx5_eswitch_num_vfs()
861 if (mlx5_esw_allowed(esw)) in mlx5_eswitch_get_npeers()
Deswitch_offloads.c3682 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_block_mode()
3699 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_unblock_mode()
3910 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_block_encap()
3929 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_unblock_encap()