Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dicm.c52 MLX4_TABLE_CHUNK_SIZE = 1 << 18, enumerator
263 (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_get()
273 table->icm[i] = mlx4_alloc_icm(dev, MLX4_TABLE_CHUNK_SIZE >> PAGE_SHIFT, in mlx4_table_get()
282 (u64) i * MLX4_TABLE_CHUNK_SIZE)) { in mlx4_table_get()
301 i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_put()
306 offset = (u64) i * MLX4_TABLE_CHUNK_SIZE; in mlx4_table_put()
308 MLX4_TABLE_CHUNK_SIZE / MLX4_ICM_PAGE_SIZE); in mlx4_table_put()
331 icm = table->icm[idx / MLX4_TABLE_CHUNK_SIZE]; in mlx4_table_find()
332 dma_offset = offset = idx % MLX4_TABLE_CHUNK_SIZE; in mlx4_table_find()
366 int inc = MLX4_TABLE_CHUNK_SIZE / table->obj_size; in mlx4_table_get_range()
[all …]