esw_funcs 1818 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_NB_INIT(&esw->esw_funcs.nb, mlx5_esw_funcs_changed_handler, esw_funcs 1820 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_eq_notifier_register(esw->dev, &esw->esw_funcs.nb); esw_funcs 1827 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_eq_notifier_unregister(esw->dev, &esw->esw_funcs.nb); esw_funcs 1858 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_esw_for_each_vf_vport(esw, i, vport, esw->esw_funcs.num_vfs) esw_funcs 1911 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c esw->esw_funcs.num_vfs, esw->enabled_vports); esw_funcs 1935 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c esw->esw_funcs.num_vfs, esw->enabled_vports); esw_funcs 2615 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c esw->esw_funcs.num_vfs = num_vfs; esw_funcs 2623 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c esw->esw_funcs.num_vfs = MLX5_GET(query_esw_functions_out, out, esw_funcs 245 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h struct mlx5_esw_functions esw_funcs; esw_funcs 358 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_esw_for_each_host_func_rep(esw, i, rep, esw->esw_funcs.num_vfs) { esw_funcs 1471 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c __unload_reps_vf_vport(esw, esw->esw_funcs.num_vfs, rep_type); esw_funcs 1567 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c err = __load_reps_vf_vport(esw, esw->esw_funcs.num_vfs, rep_type); esw_funcs 2036 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c int num_vfs = esw->esw_funcs.num_vfs; esw_funcs 2097 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (new_num_vfs == esw->esw_funcs.num_vfs || host_pf_disabled) esw_funcs 2101 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c if (esw->esw_funcs.num_vfs > 0) { esw_funcs 2102 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw_offloads_unload_vf_reps(esw, esw->esw_funcs.num_vfs); esw_funcs 2110 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->esw_funcs.num_vfs = new_num_vfs; esw_funcs 2134 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c struct mlx5_esw_functions *esw_funcs; esw_funcs 2142 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw_funcs = mlx5_nb_cof(nb, struct mlx5_esw_functions, nb); esw_funcs 2143 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw = container_of(esw_funcs, struct mlx5_eswitch, esw_funcs); esw_funcs 2389 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_esw_for_each_host_func_vport(esw, vport, esw->esw_funcs.num_vfs) { esw_funcs 2449 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_esw_for_each_host_func_vport(esw, vport, esw->esw_funcs.num_vfs) {