Home
last modified time | relevance | path

Searched refs:tasklet_ctx (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dcq.c58 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() local
76 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()
117 cq->tasklet_ctx.priv = &eq->tasklet_ctx; in mlx5_core_create_cq()
118 INIT_LIST_HEAD(&cq->tasklet_ctx.list); in mlx5_core_create_cq()
Deq.c169 tasklet_schedule(&eq_comp->tasklet_ctx.task); in mlx5_eq_comp_int()
801 tasklet_disable(&eq->tasklet_ctx.task); in destroy_comp_eqs()
828 INIT_LIST_HEAD(&eq->tasklet_ctx.list); in create_comp_eqs()
829 INIT_LIST_HEAD(&eq->tasklet_ctx.process_list); in create_comp_eqs()
830 spin_lock_init(&eq->tasklet_ctx.lock); in create_comp_eqs()
831 tasklet_setup(&eq->tasklet_ctx.task, mlx5_cq_tasklet_cb); in create_comp_eqs()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dcq.c69 list_for_each_entry_safe(mcq, temp, &ctx->process_list, tasklet_ctx.list) { in mlx4_cq_tasklet_cb()
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() local
88 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()
[all …]
Deq.c1057 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()
Dmlx4.h401 struct mlx4_eq_tasklet tasklet_ctx; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Deq.h46 struct mlx5_eq_tasklet tasklet_ctx; member
/kernel/linux/linux-5.10/include/linux/mlx5/
Dcq.h59 } tasklet_ctx; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
Dcq.c256 cq->mcq.tasklet_ctx.comp = mlx4_ib_cq_comp; in mlx4_ib_create_cq()
/kernel/linux/linux-5.10/include/linux/mlx4/
Ddevice.h748 } tasklet_ctx; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dcq.c995 cq->mcq.tasklet_ctx.comp = mlx5_ib_cq_comp; in mlx5_ib_create_cq()