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.c52 MLX4_TABLE_CHUNK_SIZE = 1 << 18, enumerator
261 (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_get()
271 table->icm[i] = mlx4_alloc_icm(dev, MLX4_TABLE_CHUNK_SIZE >> PAGE_SHIFT, in mlx4_table_get()
280 (u64) i * MLX4_TABLE_CHUNK_SIZE)) { in mlx4_table_get()
299 i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_put()
304 offset = (u64) i * MLX4_TABLE_CHUNK_SIZE; in mlx4_table_put()
306 MLX4_TABLE_CHUNK_SIZE / MLX4_ICM_PAGE_SIZE); in mlx4_table_put()
329 icm = table->icm[idx / MLX4_TABLE_CHUNK_SIZE]; in mlx4_table_find()
330 dma_offset = offset = idx % MLX4_TABLE_CHUNK_SIZE; in mlx4_table_find()
385 int inc = MLX4_TABLE_CHUNK_SIZE / table->obj_size; in mlx4_table_get_range()
[all …]