Searched refs:tasklet_ctx (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cq.c | 59 tasklet_ctx.list) { in mlx5_cq_tasklet_cb() 60 list_del_init(&mcq->tasklet_ctx.list); in mlx5_cq_tasklet_cb() 61 mcq->tasklet_ctx.comp(mcq, NULL); in mlx5_cq_tasklet_cb() 75 struct mlx5_eq_tasklet *tasklet_ctx = cq->tasklet_ctx.priv; in mlx5_add_cq_to_tasklet() local 77 spin_lock_irqsave(&tasklet_ctx->lock, flags); in mlx5_add_cq_to_tasklet() 83 if (list_empty_careful(&cq->tasklet_ctx.list)) { in mlx5_add_cq_to_tasklet() 85 list_add_tail(&cq->tasklet_ctx.list, &tasklet_ctx->list); in mlx5_add_cq_to_tasklet() 87 spin_unlock_irqrestore(&tasklet_ctx->lock, flags); in mlx5_add_cq_to_tasklet() 119 cq->tasklet_ctx.priv = &eq->tasklet_ctx; in mlx5_core_create_cq() 120 INIT_LIST_HEAD(&cq->tasklet_ctx.list); in mlx5_core_create_cq()
|
D | eq.c | 170 tasklet_schedule(&eq_comp->tasklet_ctx.task); in mlx5_eq_comp_int() 775 tasklet_disable(&eq->tasklet_ctx.task); in destroy_comp_eqs() 802 INIT_LIST_HEAD(&eq->tasklet_ctx.list); in create_comp_eqs() 803 INIT_LIST_HEAD(&eq->tasklet_ctx.process_list); in create_comp_eqs() 804 spin_lock_init(&eq->tasklet_ctx.lock); in create_comp_eqs() 805 tasklet_init(&eq->tasklet_ctx.task, mlx5_cq_tasklet_cb, in create_comp_eqs() 806 (unsigned long)&eq->tasklet_ctx); in create_comp_eqs()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
D | cq.c | 69 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 …]
|
D | eq.c | 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_init(&eq->tasklet_ctx.task, mlx4_cq_tasklet_cb, in mlx4_create_eq() 1061 (unsigned long)&eq->tasklet_ctx); in mlx4_create_eq() 1104 tasklet_disable(&eq->tasklet_ctx.task); in mlx4_free_eq()
|
D | mlx4.h | 401 struct mlx4_eq_tasklet tasklet_ctx; member
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | eq.h | 46 struct mlx5_eq_tasklet tasklet_ctx; member
|
/Linux-v5.4/include/linux/mlx5/ |
D | cq.h | 60 } tasklet_ctx; member
|
/Linux-v5.4/drivers/infiniband/hw/mlx4/ |
D | cq.c | 257 cq->mcq.tasklet_ctx.comp = mlx4_ib_cq_comp; in mlx4_ib_create_cq()
|
/Linux-v5.4/include/linux/mlx4/ |
D | device.h | 759 } tasklet_ctx; member
|
/Linux-v5.4/drivers/infiniband/hw/mlx5/ |
D | cq.c | 965 cq->mcq.tasklet_ctx.comp = mlx5_ib_cq_comp; in mlx5_ib_create_cq()
|