Searched refs:nvports (Results 1 – 4 of 4) sorted by relevance
689 int nvports = esw->total_vports; in esw_add_fdb_peer_miss_rules() local699 flows = kvzalloc(nvports * sizeof(*flows), GFP_KERNEL); in esw_add_fdb_peer_miss_rules()753 nvports = --i; in esw_add_fdb_peer_miss_rules()754 mlx5_esw_for_each_vf_vport_num_reverse(esw, i, nvports) in esw_add_fdb_peer_miss_rules()1045 static int esw_create_offloads_fdb_tables(struct mlx5_eswitch *esw, int nvports) in esw_create_offloads_fdb_tables() argument1091 table_size = nvports * MAX_SQ_NVPORTS + MAX_PF_SQ + in esw_create_offloads_fdb_tables()1134 ix = nvports * MAX_SQ_NVPORTS + MAX_PF_SQ; in esw_create_offloads_fdb_tables()1202 esw->nvports = nvports; in esw_create_offloads_fdb_tables()1242 static int esw_create_offloads_table(struct mlx5_eswitch *esw, int nvports) in esw_create_offloads_table() argument1256 ft_attr.max_fte = nvports + MLX5_ESW_MISS_FLOWS; in esw_create_offloads_table()[all …]
242 int nvports; member
523 u8 nvports; member
1721 return cfgrsp->pbc_cfg.nvports; in bfa_iocfc_get_pbc_vports()