Home
last modified time | relevance | path

Searched refs:num_ec_vfs (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.c1195 u16 num_ec_vfs) in mlx5_eswitch_unload_ec_vf_vports() argument
1200 mlx5_esw_for_each_ec_vf_vport(esw, i, vport, num_ec_vfs) { in mlx5_eswitch_unload_ec_vf_vports()
1234 mlx5_esw_for_each_ec_vf_vport(esw, i, vport, num_ec_vfs) { in mlx5_eswitch_load_ec_vf_vports()
1243 mlx5_eswitch_unload_ec_vf_vports(esw, num_ec_vfs); in mlx5_eswitch_load_ec_vf_vports()
1299 ret = mlx5_eswitch_load_ec_vf_vports(esw, esw->esw_funcs.num_ec_vfs, in mlx5_eswitch_enable_pf_vf_vports()
1315 mlx5_eswitch_unload_ec_vf_vports(esw, esw->esw_funcs.num_ec_vfs); in mlx5_eswitch_enable_pf_vf_vports()
1386 esw->esw_funcs.num_ec_vfs = num_vfs; in mlx5_eswitch_update_num_of_vfs()
1553 esw->esw_funcs.num_ec_vfs = num_vfs; in mlx5_eswitch_enable()
1573 if (!esw->esw_funcs.num_vfs && !esw->esw_funcs.num_ec_vfs && !clear_vf) in mlx5_eswitch_disable_sriov()
1585 mlx5_eswitch_unload_ec_vf_vports(esw, esw->esw_funcs.num_ec_vfs); in mlx5_eswitch_disable_sriov()
[all …]
H A Deswitch.h319 u16 num_ec_vfs; member
H A Deswitch_offloads.c3540 mlx5_esw_for_each_ec_vf_vport(esw, i, vport, esw->esw_funcs.num_ec_vfs) in esw_offloads_enable()
3800 mlx5_esw_for_each_ec_vf_vport(esw, i, vport, esw->esw_funcs.num_ec_vfs) { in mlx5_esw_vports_inline_set()
3813 mlx5_esw_for_each_ec_vf_vport(esw, i, vport, esw->esw_funcs.num_ec_vfs) { in mlx5_esw_vports_inline_set()