Searched refs:total_vports (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | fs_core.h | 307 int mlx5_fs_egress_acls_init(struct mlx5_core_dev *dev, int total_vports); 309 int mlx5_fs_ingress_acls_init(struct mlx5_core_dev *dev, int total_vports);
|
D | eswitch.c | 1197 int total_vports; in mlx5_esw_acls_ns_init() local 1203 total_vports = mlx5_eswitch_get_total_vports(dev); in mlx5_esw_acls_ns_init() 1206 err = mlx5_fs_egress_acls_init(dev, total_vports); in mlx5_esw_acls_ns_init() 1214 err = mlx5_fs_ingress_acls_init(dev, total_vports); in mlx5_esw_acls_ns_init() 1490 esw->total_vports++; in mlx5_esw_vport_alloc() 1636 esw->total_vports, in mlx5_eswitch_init() 2061 return mlx5_esw_allowed(esw) ? esw->total_vports : 0; in mlx5_eswitch_get_total_vports()
|
D | fs_core.c | 3011 int mlx5_fs_egress_acls_init(struct mlx5_core_dev *dev, int total_vports) in mlx5_fs_egress_acls_init() argument 3018 kcalloc(total_vports, in mlx5_fs_egress_acls_init() 3024 for (i = 0; i < total_vports; i++) { in mlx5_fs_egress_acls_init() 3029 steering->esw_egress_acl_vports = total_vports; in mlx5_fs_egress_acls_init() 3055 int mlx5_fs_ingress_acls_init(struct mlx5_core_dev *dev, int total_vports) in mlx5_fs_ingress_acls_init() argument 3062 kcalloc(total_vports, in mlx5_fs_ingress_acls_init() 3068 for (i = 0; i < total_vports; i++) { in mlx5_fs_ingress_acls_init() 3073 steering->esw_ingress_acl_vports = total_vports; in mlx5_fs_ingress_acls_init()
|
D | eswitch_offloads.c | 1222 int nvports = esw->total_vports; in esw_add_fdb_peer_miss_rules() 1658 count = MLX5_MAX_PORTS * (esw->total_vports * MAX_SQ_NVPORTS + MAX_PF_SQ); in esw_create_send_to_vport_group() 1704 end_flow_index, *ix + esw->total_vports - 1); in esw_create_meta_send_to_vport_group() 1705 *ix += esw->total_vports; in esw_create_meta_send_to_vport_group() 1754 *ix + esw->total_vports - 1); in esw_create_peer_esw_miss_group() 1755 *ix += esw->total_vports; in esw_create_peer_esw_miss_group() 1856 table_size = MLX5_MAX_PORTS * (esw->total_vports * MAX_SQ_NVPORTS + MAX_PF_SQ) + in esw_create_offloads_fdb_tables() 1857 esw->total_vports * 2 + MLX5_ESW_MISS_FLOWS; in esw_create_offloads_fdb_tables() 1968 nvports = esw->total_vports + MLX5_ESW_MISS_FLOWS; in esw_get_nr_ft_offloads_steering_src_ports()
|
D | eswitch.h | 308 int total_vports; member
|