Searched refs:max_table_size (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | rss.c | 90 u32 actual_table_size, u32 max_table_size) in mlx5e_rss_params_indir_init() argument 92 indir->table = kvmalloc_array(max_table_size, sizeof(*indir->table), GFP_KERNEL); in mlx5e_rss_params_indir_init() 96 indir->max_table_size = max_table_size; in mlx5e_rss_params_indir_init() 112 to->indir.max_table_size != from->indir.max_table_size) { in mlx5e_rss_copy() 115 from->indir.actual_table_size, from->indir.max_table_size, in mlx5e_rss_copy() 116 to->indir.actual_table_size, to->indir.max_table_size); in mlx5e_rss_copy() 138 from->indir.max_table_size); in mlx5e_rss_init_copy() 352 rss->drop_rqn, rss->indir.max_table_size); in mlx5e_rss_init_no_tirs()
|
D | rqt.h | 16 u32 max_table_size; member
|
D | rss.h | 22 u32 actual_table_size, u32 max_table_size);
|
D | rqt.c | 162 err = mlx5e_rqt_init(rqt, mdev, indir->max_table_size, rss_rqns, rss_vhca_ids, in mlx5e_rqt_init_indir() 240 if (WARN_ON(rqt->size != indir->max_table_size)) in mlx5e_rqt_redirect_indir()
|
/linux-6.12.1/drivers/infiniband/hw/mlx5/ |
D | fs.c | 720 int max_table_size; in get_flow_table() local 727 max_table_size = BIT(MLX5_CAP_FLOWTABLE_NIC_RX(dev->mdev, in get_flow_table() 749 max_table_size = BIT(MLX5_CAP_FLOWTABLE_NIC_TX( in get_flow_table() 790 max_table_size = min_t(int, num_entries, max_table_size); in get_flow_table() 794 return _get_prio(dev, ns, prio, priority, max_table_size, in get_flow_table() 1423 int max_table_size = 0; in _get_flow_table() local 1437 max_table_size = BIT( in _get_flow_table() 1447 max_table_size = BIT( in _get_flow_table() 1454 max_table_size = BIT( in _get_flow_table() 1465 max_table_size = BIT( in _get_flow_table() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/ |
D | amdgpu_smu.c | 909 uint32_t max_table_size = 0; in smu_init_fb_allocations() local 944 if (max_table_size < tables[i].size) in smu_init_fb_allocations() 945 max_table_size = tables[i].size; in smu_init_fb_allocations() 948 driver_table->size = max_table_size; in smu_init_fb_allocations()
|