nvports 242 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int nvports; nvports 689 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c int nvports = esw->total_vports; nvports 699 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c flows = kvzalloc(nvports * sizeof(*flows), GFP_KERNEL); nvports 753 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c nvports = --i; nvports 754 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_esw_for_each_vf_vport_num_reverse(esw, i, nvports) nvports 1045 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_create_offloads_fdb_tables(struct mlx5_eswitch *esw, int nvports) nvports 1091 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c table_size = nvports * MAX_SQ_NVPORTS + MAX_PF_SQ + nvports 1134 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c ix = nvports * MAX_SQ_NVPORTS + MAX_PF_SQ; nvports 1202 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw->nvports = nvports; nvports 1242 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_create_offloads_table(struct mlx5_eswitch *esw, int nvports) nvports 1256 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c ft_attr.max_fte = nvports + MLX5_ESW_MISS_FLOWS; nvports 1276 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_create_vport_rx_group(struct mlx5_eswitch *esw, int nvports) nvports 1283 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c nvports = nvports + MLX5_ESW_MISS_FLOWS; nvports 1292 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, nvports - 1); nvports 1451 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void __unload_reps_vf_vport(struct mlx5_eswitch *esw, int nvports, nvports 1457 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_esw_for_each_vf_rep_reverse(esw, i, rep, nvports) nvports 1461 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static void esw_offloads_unload_vf_reps(struct mlx5_eswitch *esw, int nvports) nvports 1466 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c __unload_reps_vf_vport(esw, nvports, rep_type); nvports 1539 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int __load_reps_vf_vport(struct mlx5_eswitch *esw, int nvports, nvports 1545 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_esw_for_each_vf_rep(esw, i, rep, nvports) { nvports 1578 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c static int esw_offloads_load_vf_reps(struct mlx5_eswitch *esw, int nvports) nvports 1584 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c err = __load_reps_vf_vport(esw, nvports, rep_type); nvports 1593 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c __unload_reps_vf_vport(esw, nvports, rep_type); nvports 2499 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c err = esw_create_offloads_fdb_tables(esw, esw->nvports); nvports 2505 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c (void)esw_create_offloads_fdb_tables(esw, esw->nvports); nvports 1721 drivers/scsi/bfa/bfa_core.c return cfgrsp->pbc_cfg.nvports; nvports 523 drivers/scsi/bfa/bfi.h u8 nvports;