Searched refs:eqe_factor (Results 1 - 4 of 4) sorted by relevance
/barrelfish-master/lib/devif/backends/net/mlx4/drivers/net/mlx4/ |
H A D | mlx4_devif_queue.c | 1751 static struct mlx4_eqe *get_eqe(struct mlx4_eq *eq, u32 entry, u8 eqe_factor) { argument 1754 * (MLX4_EQ_ENTRY_SIZE << eqe_factor); 1761 + (offset + (eqe_factor ? MLX4_EQ_ENTRY_SIZE : 0)) % BASE_PAGE_SIZE; 1764 static struct mlx4_eqe *next_eqe_sw(struct mlx4_eq *eq, u8 eqe_factor) { argument 1765 struct mlx4_eqe *eqe = get_eqe(eq, eq->cons_index, eqe_factor); 1797 while ((eqe = next_eqe_sw(eq, priv->dev.caps.eqe_factor))) {
|
H A D | eq.c | 119 static struct mlx4_eqe *get_eqe(struct mlx4_eq *eq, u32 entry, u8 eqe_factor) 122 unsigned long offset = (entry & (eq->nent - 1)) * (MLX4_EQ_ENTRY_SIZE << eqe_factor); 128 return eq->page_list[offset / PAGE_SIZE].buf + (offset + (eqe_factor ? MLX4_EQ_ENTRY_SIZE : 0)) % PAGE_SIZE; 131 static struct mlx4_eqe *next_eqe_sw(struct mlx4_eq *eq, u8 eqe_factor) 133 struct mlx4_eqe *eqe = get_eqe(eq, eq->cons_index, eqe_factor); 471 while ((eqe = next_eqe_sw(eq, priv->dev.caps.eqe_factor))) { 919 eq->nent * (MLX4_EQ_ENTRY_SIZE << priv->dev.caps.eqe_factor)) 1022 int npages = PAGE_ALIGN((MLX4_EQ_ENTRY_SIZE << priv->dev.caps.eqe_factor) * eq->nent) / PAGE_SIZE;
|
H A D | fw.c | 1650 priv->dev.caps.eqe_factor = 1; 1653 priv->dev.caps.eqe_factor = 0;
|
/barrelfish-master/lib/devif/backends/net/mlx4/include/linux/mlx4/ |
H A D | device.h | 527 u8 eqe_factor; member in struct:mlx4_caps
|
Completed in 93 milliseconds