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

/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.c51 MLX4_TABLE_CHUNK_SIZE = 1 << 18 enumerator in enum:__anon2669
232 int i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size);
242 table->icm[i] = mlx4_alloc_icm(dev, MLX4_TABLE_CHUNK_SIZE >> PAGE_SHIFT,
251 (u64) i * MLX4_TABLE_CHUNK_SIZE)) {
269 i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size);
274 mlx4_UNMAP_ICM(dev, table->virt + i * MLX4_TABLE_CHUNK_SIZE,
275 MLX4_TABLE_CHUNK_SIZE / MLX4_ICM_PAGE_SIZE);
296 icm = table->icm[idx / MLX4_TABLE_CHUNK_SIZE];
297 dma_offset = offset = idx % MLX4_TABLE_CHUNK_SIZE;
331 int inc = MLX4_TABLE_CHUNK_SIZE / tabl
[all...]

Completed in 52 milliseconds