Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Dicm.c51 MLX4_TABLE_CHUNK_SIZE = 1 << 18 enumerator
233 (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_get()
243 table->icm[i] = mlx4_alloc_icm(dev, MLX4_TABLE_CHUNK_SIZE >> PAGE_SHIFT, in mlx4_table_get()
252 (u64) i * MLX4_TABLE_CHUNK_SIZE)) { in mlx4_table_get()
271 i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_put()
276 offset = (u64) i * MLX4_TABLE_CHUNK_SIZE; in mlx4_table_put()
278 MLX4_TABLE_CHUNK_SIZE / MLX4_ICM_PAGE_SIZE); in mlx4_table_put()
301 icm = table->icm[idx / MLX4_TABLE_CHUNK_SIZE]; in mlx4_table_find()
302 dma_offset = offset = idx % MLX4_TABLE_CHUNK_SIZE; in mlx4_table_find()
336 int inc = MLX4_TABLE_CHUNK_SIZE / table->obj_size; in mlx4_table_get_range()
[all …]