Home
last modified time | relevance | path

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

/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()
/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()
2028 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_set_vport_state()
2197 return mlx5_esw_allowed(esw) ? esw->mode : MLX5_ESWITCH_LEGACY; in mlx5_eswitch_mode()
2242 if (!mlx5_esw_allowed(esw)) in mlx5_esw_hold()
2264 if (mlx5_esw_allowed(esw)) in mlx5_esw_release()
2276 if (mlx5_esw_allowed(esw)) in mlx5_esw_get()
2288 if (mlx5_esw_allowed(esw)) in mlx5_esw_put()
2350 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.c3683 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_block_mode()
3700 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_unblock_mode()
3904 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_block_encap()
3923 if (!mlx5_esw_allowed(esw)) in mlx5_eswitch_unblock_encap()