Searched refs:esw_funcs (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | eswitch_offloads.c | 358 mlx5_esw_for_each_host_func_rep(esw, i, rep, esw->esw_funcs.num_vfs) { in esw_set_global_vlan_pop() 1471 __unload_reps_vf_vport(esw, esw->esw_funcs.num_vfs, rep_type); in __unload_reps_all_vport() 1567 err = __load_reps_vf_vport(esw, esw->esw_funcs.num_vfs, rep_type); in __load_reps_all_vport() 2036 int num_vfs = esw->esw_funcs.num_vfs; in esw_offloads_steering_init() 2097 if (new_num_vfs == esw->esw_funcs.num_vfs || host_pf_disabled) in esw_vfs_changed_event_handler() 2101 if (esw->esw_funcs.num_vfs > 0) { in esw_vfs_changed_event_handler() 2102 esw_offloads_unload_vf_reps(esw, esw->esw_funcs.num_vfs); in esw_vfs_changed_event_handler() 2110 esw->esw_funcs.num_vfs = new_num_vfs; in esw_vfs_changed_event_handler() 2134 struct mlx5_esw_functions *esw_funcs; in mlx5_esw_funcs_changed_handler() local 2142 esw_funcs = mlx5_nb_cof(nb, struct mlx5_esw_functions, nb); in mlx5_esw_funcs_changed_handler() [all …]
|
D | eswitch.c | 1818 MLX5_NB_INIT(&esw->esw_funcs.nb, mlx5_esw_funcs_changed_handler, in mlx5_eswitch_event_handlers_register() 1820 mlx5_eq_notifier_register(esw->dev, &esw->esw_funcs.nb); in mlx5_eswitch_event_handlers_register() 1827 mlx5_eq_notifier_unregister(esw->dev, &esw->esw_funcs.nb); in mlx5_eswitch_event_handlers_unregister() 1858 mlx5_esw_for_each_vf_vport(esw, i, vport, esw->esw_funcs.num_vfs) in mlx5_eswitch_enable_pf_vf_vports() 1911 esw->esw_funcs.num_vfs, esw->enabled_vports); in mlx5_eswitch_enable() 1935 esw->esw_funcs.num_vfs, esw->enabled_vports); in mlx5_eswitch_disable() 2623 esw->esw_funcs.num_vfs = num_vfs; in mlx5_eswitch_update_num_of_vfs() 2631 esw->esw_funcs.num_vfs = MLX5_GET(query_esw_functions_out, out, in mlx5_eswitch_update_num_of_vfs()
|
D | eswitch.h | 245 struct mlx5_esw_functions esw_funcs; member
|