Home
last modified time | relevance | path

Searched refs:nvports (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c689 int nvports = esw->total_vports; in esw_add_fdb_peer_miss_rules() local
699 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() argument
1091 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() argument
1256 ft_attr.max_fte = nvports + MLX5_ESW_MISS_FLOWS; in esw_create_offloads_table()
[all …]
Deswitch.h242 int nvports; member
/Linux-v5.4/drivers/scsi/bfa/
Dbfi.h523 u8 nvports; member
Dbfa_core.c1721 return cfgrsp->pbc_cfg.nvports; in bfa_iocfc_get_pbc_vports()