Searched refs:tasklet_ctx (Results 1 – 10 of 10) sorted by relevance
58 tasklet_ctx.list) { in mlx5_cq_tasklet_cb()59 list_del_init(&mcq->tasklet_ctx.list); in mlx5_cq_tasklet_cb()60 mcq->tasklet_ctx.comp(mcq, NULL); in mlx5_cq_tasklet_cb()74 struct mlx5_eq_tasklet *tasklet_ctx = cq->tasklet_ctx.priv; in mlx5_add_cq_to_tasklet() local76 spin_lock_irqsave(&tasklet_ctx->lock, flags); in mlx5_add_cq_to_tasklet()82 if (list_empty_careful(&cq->tasklet_ctx.list)) { in mlx5_add_cq_to_tasklet()84 list_add_tail(&cq->tasklet_ctx.list, &tasklet_ctx->list); in mlx5_add_cq_to_tasklet()86 spin_unlock_irqrestore(&tasklet_ctx->lock, flags); in mlx5_add_cq_to_tasklet()118 cq->tasklet_ctx.priv = &eq->tasklet_ctx; in mlx5_core_create_cq()119 INIT_LIST_HEAD(&cq->tasklet_ctx.list); in mlx5_core_create_cq()
146 tasklet_schedule(&eq_comp->tasklet_ctx.task); in mlx5_eq_comp_int()794 tasklet_disable(&eq->tasklet_ctx.task); in destroy_comp_eqs()821 INIT_LIST_HEAD(&eq->tasklet_ctx.list); in create_comp_eqs()822 INIT_LIST_HEAD(&eq->tasklet_ctx.process_list); in create_comp_eqs()823 spin_lock_init(&eq->tasklet_ctx.lock); in create_comp_eqs()824 tasklet_setup(&eq->tasklet_ctx.task, mlx5_cq_tasklet_cb); in create_comp_eqs()
70 list_del_init(&mcq->tasklet_ctx.list); in mlx4_cq_tasklet_cb()71 mcq->tasklet_ctx.comp(mcq); in mlx4_cq_tasklet_cb()84 struct mlx4_eq_tasklet *tasklet_ctx = cq->tasklet_ctx.priv; in mlx4_add_cq_to_tasklet() local88 spin_lock_irqsave(&tasklet_ctx->lock, flags); in mlx4_add_cq_to_tasklet()94 if (list_empty_careful(&cq->tasklet_ctx.list)) { in mlx4_add_cq_to_tasklet()96 kick = list_empty(&tasklet_ctx->list); in mlx4_add_cq_to_tasklet()97 list_add_tail(&cq->tasklet_ctx.list, &tasklet_ctx->list); in mlx4_add_cq_to_tasklet()99 tasklet_schedule(&tasklet_ctx->task); in mlx4_add_cq_to_tasklet()101 spin_unlock_irqrestore(&tasklet_ctx->lock, flags); in mlx4_add_cq_to_tasklet()416 cq->tasklet_ctx.priv = in mlx4_cq_alloc()[all …]
1057 INIT_LIST_HEAD(&eq->tasklet_ctx.list); in mlx4_create_eq()1058 INIT_LIST_HEAD(&eq->tasklet_ctx.process_list); in mlx4_create_eq()1059 spin_lock_init(&eq->tasklet_ctx.lock); in mlx4_create_eq()1060 tasklet_setup(&eq->tasklet_ctx.task, mlx4_cq_tasklet_cb); in mlx4_create_eq()1103 tasklet_disable(&eq->tasklet_ctx.task); in mlx4_free_eq()
401 struct mlx4_eq_tasklet tasklet_ctx; member
47 struct mlx5_eq_tasklet tasklet_ctx; member
59 } tasklet_ctx; member
256 cq->mcq.tasklet_ctx.comp = mlx4_ib_cq_comp; in mlx4_ib_create_cq()
747 } tasklet_ctx; member
1010 cq->mcq.tasklet_ctx.comp = mlx5_ib_cq_comp; in mlx5_ib_create_cq()
Completed in 32 milliseconds