Home
last modified time | relevance | path

Searched refs:host_pf_info (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.c1235 struct mlx5_esw_pf_info host_pf_info; in mlx5_esw_host_functions_enabled_query() local
1245 host_pf_info = mlx5_esw_get_host_pf_info(esw->dev, query_host_out); in mlx5_esw_host_functions_enabled_query()
1246 esw->esw_funcs.host_funcs_disabled = host_pf_info.pf_not_exist; in mlx5_esw_host_functions_enabled_query()
1715 struct mlx5_esw_pf_info host_pf_info; in mlx5_eswitch_update_num_of_vfs() local
1730 host_pf_info = mlx5_esw_get_host_pf_info(esw->dev, out); in mlx5_eswitch_update_num_of_vfs()
1731 esw->esw_funcs.num_vfs = host_pf_info.num_of_vfs; in mlx5_eswitch_update_num_of_vfs()
2202 struct mlx5_esw_pf_info host_pf_info; in mlx5_esw_hpf_info_init() local
2213 host_pf_info = mlx5_esw_get_host_pf_info(esw->dev, query_host_out); in mlx5_esw_hpf_info_init()
2214 esw->esw_funcs.hpf_host_number = host_pf_info.host_number; in mlx5_esw_hpf_info_init()
2215 esw->esw_funcs.hpf_pf_num = host_pf_info.pf_num; in mlx5_esw_hpf_info_init()
H A Deswitch_offloads.c3991 struct mlx5_esw_pf_info host_pf_info; in esw_changed_event_handler() local
3999 host_pf_info = mlx5_esw_get_host_pf_info(esw->dev, out); in esw_changed_event_handler()
4000 new_num_vfs = host_pf_info.num_of_vfs; in esw_changed_event_handler()
4002 if (host_pf_info.pf_disabled) { in esw_changed_event_handler()
4007 if (new_num_vfs == esw->esw_funcs.num_vfs || host_pf_info.pf_disabled) in esw_changed_event_handler()
5293 struct mlx5_esw_pf_info host_pf_info; in mlx5_devlink_pf_port_fn_state_get() local
5295 host_pf_info = mlx5_esw_get_host_pf_info(vport->dev, in mlx5_devlink_pf_port_fn_state_get()
5297 pf_disabled = host_pf_info.pf_disabled; in mlx5_devlink_pf_port_fn_state_get()