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.c1241 struct mlx5_esw_pf_info host_pf_info; in mlx5_esw_host_functions_enabled_query() local
1251 host_pf_info = mlx5_esw_get_host_pf_info(esw->dev, query_host_out); in mlx5_esw_host_functions_enabled_query()
1252 esw->esw_funcs.host_funcs_disabled = host_pf_info.pf_not_exist; in mlx5_esw_host_functions_enabled_query()
1721 struct mlx5_esw_pf_info host_pf_info; in mlx5_eswitch_update_num_of_vfs() local
1736 host_pf_info = mlx5_esw_get_host_pf_info(esw->dev, out); in mlx5_eswitch_update_num_of_vfs()
1737 esw->esw_funcs.num_vfs = host_pf_info.num_of_vfs; in mlx5_eswitch_update_num_of_vfs()
2208 struct mlx5_esw_pf_info host_pf_info; in mlx5_esw_hpf_info_init() local
2219 host_pf_info = mlx5_esw_get_host_pf_info(esw->dev, query_host_out); in mlx5_esw_hpf_info_init()
2220 esw->esw_funcs.hpf_host_number = host_pf_info.host_number; in mlx5_esw_hpf_info_init()
2221 esw->esw_funcs.hpf_pf_num = host_pf_info.pf_num; in mlx5_esw_hpf_info_init()
H A Deswitch_offloads.c3995 struct mlx5_esw_pf_info host_pf_info; in esw_changed_event_handler() local
4003 host_pf_info = mlx5_esw_get_host_pf_info(esw->dev, out); in esw_changed_event_handler()
4004 new_num_vfs = host_pf_info.num_of_vfs; in esw_changed_event_handler()
4006 if (host_pf_info.pf_disabled) { in esw_changed_event_handler()
4011 if (new_num_vfs == esw->esw_funcs.num_vfs || host_pf_info.pf_disabled) in esw_changed_event_handler()
5297 struct mlx5_esw_pf_info host_pf_info; in mlx5_devlink_pf_port_fn_state_get() local
5299 host_pf_info = mlx5_esw_get_host_pf_info(vport->dev, in mlx5_devlink_pf_port_fn_state_get()
5301 pf_disabled = host_pf_info.pf_disabled; in mlx5_devlink_pf_port_fn_state_get()