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

/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/drivers/net/mlx4/
H A Deq.c907 struct mlx4_eq_context *eq_context; local
936 eq_context = mailbox->buf;
967 memset(eq_context, 0, sizeof *eq_context);
968 eq_context->flags = cpu_to_be32(MLX4_EQ_STATUS_OK |
970 eq_context->log_eq_size = ilog2(eq->nent);
971 eq_context->intr = intr;
972 eq_context->log_page_size = PAGE_SHIFT - MLX4_ICM_PAGE_SHIFT;
979 eq_context->mtt_base_addr_h = mtt_addr >> 32;
980 eq_context
[all...]
/barrelfish-2018-10-04/lib/devif/backends/net/mlx4/drivers/infiniband/hw/mthca/
H A Dmthca_eq.c473 struct mthca_eq_context *eq_context; local
497 eq_context = mailbox->buf;
527 memset(eq_context, 0, sizeof *eq_context);
528 eq_context->flags = cpu_to_be32(MTHCA_EQ_STATUS_OK |
533 eq_context->flags |= cpu_to_be32(MTHCA_EQ_STATE_ARBEL);
535 eq_context->logsize_usrpage = cpu_to_be32((ffs(eq->nent) - 1) << 24);
537 eq_context->arbel_pd = cpu_to_be32(dev->driver_pd.pd_num);
539 eq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index);
540 eq_context
[all...]

Completed in 119 milliseconds