/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | wq.h | 80 void *wqc, struct mlx5_wq_cyc *wq, 82 void mlx5_wq_cyc_wqe_dump(struct mlx5_wq_cyc *wq, u16 ix, u8 nstrides); 83 void mlx5_wq_cyc_reset(struct mlx5_wq_cyc *wq); 86 void *qpc, struct mlx5_wq_qp *wq, 90 void *cqc, struct mlx5_cqwq *wq, 94 void *wqc, struct mlx5_wq_ll *wq, 96 void mlx5_wq_ll_reset(struct mlx5_wq_ll *wq); 100 static inline u32 mlx5_wq_cyc_get_size(struct mlx5_wq_cyc *wq) in mlx5_wq_cyc_get_size() argument 102 return (u32)wq->fbc.sz_m1 + 1; in mlx5_wq_cyc_get_size() 105 static inline int mlx5_wq_cyc_is_full(struct mlx5_wq_cyc *wq) in mlx5_wq_cyc_is_full() argument [all …]
|
D | wq.c | 38 void *wqc, struct mlx5_wq_cyc *wq, in mlx5_wq_cyc_create() argument 41 u8 log_wq_stride = MLX5_GET(wq, wqc, log_wq_stride); in mlx5_wq_cyc_create() 42 u8 log_wq_sz = MLX5_GET(wq, wqc, log_wq_sz); in mlx5_wq_cyc_create() 43 struct mlx5_frag_buf_ctrl *fbc = &wq->fbc; in mlx5_wq_cyc_create() 52 wq->db = wq_ctrl->db.db; in mlx5_wq_cyc_create() 62 wq->sz = mlx5_wq_cyc_get_size(wq); in mlx5_wq_cyc_create() 74 void mlx5_wq_cyc_wqe_dump(struct mlx5_wq_cyc *wq, u16 ix, u8 nstrides) in mlx5_wq_cyc_wqe_dump() argument 84 len = nstrides << wq->fbc.log_stride; in mlx5_wq_cyc_wqe_dump() 85 wqe = mlx5_wq_cyc_get_wqe(wq, ix); in mlx5_wq_cyc_wqe_dump() 88 mlx5_wq_cyc_get_size(wq), wq->cur_sz, ix, len); in mlx5_wq_cyc_wqe_dump() [all …]
|
/linux-6.12.1/drivers/scsi/fnic/ |
D | vnic_wq.c | 16 static int vnic_wq_get_ctrl(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_get_ctrl() argument 19 wq->ctrl = vnic_dev_get_res(vdev, res_type, index); in vnic_wq_get_ctrl() 21 if (!wq->ctrl) in vnic_wq_get_ctrl() 28 static int vnic_wq_alloc_ring(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_alloc_ring() argument 31 return vnic_dev_alloc_desc_ring(vdev, &wq->ring, desc_count, desc_size); in vnic_wq_alloc_ring() 35 static int vnic_wq_alloc_bufs(struct vnic_wq *wq) in vnic_wq_alloc_bufs() argument 38 unsigned int i, j, count = wq->ring.desc_count; in vnic_wq_alloc_bufs() 42 wq->bufs[i] = kzalloc(VNIC_WQ_BUF_BLK_SZ, GFP_ATOMIC); in vnic_wq_alloc_bufs() 43 if (!wq->bufs[i]) { in vnic_wq_alloc_bufs() 50 buf = wq->bufs[i]; in vnic_wq_alloc_bufs() [all …]
|
D | vnic_wq_copy.h | 24 static inline unsigned int vnic_wq_copy_desc_avail(struct vnic_wq_copy *wq) in vnic_wq_copy_desc_avail() argument 26 return wq->ring.desc_avail; in vnic_wq_copy_desc_avail() 29 static inline unsigned int vnic_wq_copy_desc_in_use(struct vnic_wq_copy *wq) in vnic_wq_copy_desc_in_use() argument 31 return wq->ring.desc_count - 1 - wq->ring.desc_avail; in vnic_wq_copy_desc_in_use() 34 static inline void *vnic_wq_copy_next_desc(struct vnic_wq_copy *wq) in vnic_wq_copy_next_desc() argument 36 struct fcpio_host_req *desc = wq->ring.descs; in vnic_wq_copy_next_desc() 37 return &desc[wq->to_use_index]; in vnic_wq_copy_next_desc() 40 static inline void vnic_wq_copy_post(struct vnic_wq_copy *wq) in vnic_wq_copy_post() argument 43 ((wq->to_use_index + 1) == wq->ring.desc_count) ? in vnic_wq_copy_post() 44 (wq->to_use_index = 0) : (wq->to_use_index++); in vnic_wq_copy_post() [all …]
|
D | vnic_wq_copy.c | 13 void vnic_wq_copy_enable(struct vnic_wq_copy *wq) in vnic_wq_copy_enable() argument 15 iowrite32(1, &wq->ctrl->enable); in vnic_wq_copy_enable() 18 int vnic_wq_copy_disable(struct vnic_wq_copy *wq) in vnic_wq_copy_disable() argument 22 iowrite32(0, &wq->ctrl->enable); in vnic_wq_copy_disable() 26 if (!(ioread32(&wq->ctrl->running))) in vnic_wq_copy_disable() 33 wq->index, ioread32(&wq->ctrl->fetch_index), in vnic_wq_copy_disable() 34 ioread32(&wq->ctrl->posted_index)); in vnic_wq_copy_disable() 39 void vnic_wq_copy_clean(struct vnic_wq_copy *wq, in vnic_wq_copy_clean() argument 40 void (*q_clean)(struct vnic_wq_copy *wq, in vnic_wq_copy_clean() argument 43 BUG_ON(ioread32(&wq->ctrl->enable)); in vnic_wq_copy_clean() [all …]
|
D | vnic_wq.h | 86 static inline unsigned int vnic_wq_desc_avail(struct vnic_wq *wq) in vnic_wq_desc_avail() argument 89 return wq->ring.desc_avail; in vnic_wq_desc_avail() 92 static inline unsigned int vnic_wq_desc_used(struct vnic_wq *wq) in vnic_wq_desc_used() argument 95 return wq->ring.desc_count - wq->ring.desc_avail - 1; in vnic_wq_desc_used() 98 static inline void *vnic_wq_next_desc(struct vnic_wq *wq) in vnic_wq_next_desc() argument 100 return wq->to_use->desc; in vnic_wq_next_desc() 103 static inline void vnic_wq_post(struct vnic_wq *wq, in vnic_wq_post() argument 107 struct vnic_wq_buf *buf = wq->to_use; in vnic_wq_post() 122 iowrite32(buf->index, &wq->ctrl->posted_index); in vnic_wq_post() 124 wq->to_use = buf; in vnic_wq_post() [all …]
|
/linux-6.12.1/drivers/net/ethernet/cisco/enic/ |
D | vnic_wq.c | 18 static int vnic_wq_alloc_bufs(struct vnic_wq *wq) in vnic_wq_alloc_bufs() argument 21 unsigned int i, j, count = wq->ring.desc_count; in vnic_wq_alloc_bufs() 25 wq->bufs[i] = kzalloc(VNIC_WQ_BUF_BLK_SZ(count), GFP_KERNEL); in vnic_wq_alloc_bufs() 26 if (!wq->bufs[i]) in vnic_wq_alloc_bufs() 31 buf = wq->bufs[i]; in vnic_wq_alloc_bufs() 34 buf->desc = (u8 *)wq->ring.descs + in vnic_wq_alloc_bufs() 35 wq->ring.desc_size * buf->index; in vnic_wq_alloc_bufs() 37 buf->next = wq->bufs[0]; in vnic_wq_alloc_bufs() 41 buf->next = wq->bufs[i + 1]; in vnic_wq_alloc_bufs() 51 wq->to_use = wq->to_clean = wq->bufs[0]; in vnic_wq_alloc_bufs() [all …]
|
D | vnic_wq.h | 86 struct vnic_wq wq; member 90 static inline unsigned int vnic_wq_desc_avail(struct vnic_wq *wq) in vnic_wq_desc_avail() argument 93 return wq->ring.desc_avail; in vnic_wq_desc_avail() 96 static inline unsigned int vnic_wq_desc_used(struct vnic_wq *wq) in vnic_wq_desc_used() argument 99 return wq->ring.desc_count - wq->ring.desc_avail - 1; in vnic_wq_desc_used() 102 static inline void *vnic_wq_next_desc(struct vnic_wq *wq) in vnic_wq_next_desc() argument 104 return wq->to_use->desc; in vnic_wq_next_desc() 107 static inline void vnic_wq_doorbell(struct vnic_wq *wq) in vnic_wq_doorbell() argument 115 iowrite32(wq->to_use->index, &wq->ctrl->posted_index); in vnic_wq_doorbell() 118 static inline void vnic_wq_post(struct vnic_wq *wq, in vnic_wq_post() argument [all …]
|
/linux-6.12.1/drivers/scsi/snic/ |
D | vnic_wq.c | 12 static inline int vnic_wq_get_ctrl(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_get_ctrl() argument 15 wq->ctrl = svnic_dev_get_res(vdev, res_type, index); in vnic_wq_get_ctrl() 16 if (!wq->ctrl) in vnic_wq_get_ctrl() 22 static inline int vnic_wq_alloc_ring(struct vnic_dev *vdev, struct vnic_wq *wq, in vnic_wq_alloc_ring() argument 25 return svnic_dev_alloc_desc_ring(vdev, &wq->ring, desc_count, in vnic_wq_alloc_ring() 29 static int vnic_wq_alloc_bufs(struct vnic_wq *wq) in vnic_wq_alloc_bufs() argument 32 unsigned int i, j, count = wq->ring.desc_count; in vnic_wq_alloc_bufs() 36 wq->bufs[i] = kzalloc(VNIC_WQ_BUF_BLK_SZ, GFP_ATOMIC); in vnic_wq_alloc_bufs() 37 if (!wq->bufs[i]) { in vnic_wq_alloc_bufs() 45 buf = wq->bufs[i]; in vnic_wq_alloc_bufs() [all …]
|
D | vnic_wq.h | 71 static inline unsigned int svnic_wq_desc_avail(struct vnic_wq *wq) in svnic_wq_desc_avail() argument 74 return wq->ring.desc_avail; in svnic_wq_desc_avail() 77 static inline unsigned int svnic_wq_desc_used(struct vnic_wq *wq) in svnic_wq_desc_used() argument 80 return wq->ring.desc_count - wq->ring.desc_avail - 1; in svnic_wq_desc_used() 83 static inline void *svnic_wq_next_desc(struct vnic_wq *wq) in svnic_wq_next_desc() argument 85 return wq->to_use->desc; in svnic_wq_next_desc() 88 static inline void svnic_wq_post(struct vnic_wq *wq, in svnic_wq_post() argument 92 struct vnic_wq_buf *buf = wq->to_use; in svnic_wq_post() 107 iowrite32(buf->index, &wq->ctrl->posted_index); in svnic_wq_post() 109 wq->to_use = buf; in svnic_wq_post() [all …]
|
/linux-6.12.1/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_wq.c | 34 #define WQ_SIZE(wq) ((wq)->q_depth * (wq)->wqebb_size) argument 44 #define WQ_BASE_VADDR(wqs, wq) \ argument 45 ((void *)((wqs)->page_vaddr[(wq)->page_idx]) \ 46 + (wq)->block_idx * WQ_BLOCK_SIZE) 48 #define WQ_BASE_PADDR(wqs, wq) \ argument 49 ((wqs)->page_paddr[(wq)->page_idx] \ 50 + (wq)->block_idx * WQ_BLOCK_SIZE) 52 #define WQ_BASE_ADDR(wqs, wq) \ argument 53 ((void *)((wqs)->shadow_page_vaddr[(wq)->page_idx]) \ 54 + (wq)->block_idx * WQ_BLOCK_SIZE) [all …]
|
/linux-6.12.1/fs/autofs/ |
D | waitq.c | 17 struct autofs_wait_queue *wq, *nwq; in autofs_catatonic_mode() local 28 wq = sbi->queues; in autofs_catatonic_mode() 30 while (wq) { in autofs_catatonic_mode() 31 nwq = wq->next; in autofs_catatonic_mode() 32 wq->status = -ENOENT; /* Magic is gone - report failure */ in autofs_catatonic_mode() 33 kfree(wq->name.name - wq->offset); in autofs_catatonic_mode() 34 wq->name.name = NULL; in autofs_catatonic_mode() 35 wake_up(&wq->queue); in autofs_catatonic_mode() 36 if (!--wq->wait_ctr) in autofs_catatonic_mode() 37 kfree(wq); in autofs_catatonic_mode() [all …]
|
/linux-6.12.1/io_uring/ |
D | io-wq.c | 54 struct io_wq *wq; member 138 static bool create_io_worker(struct io_wq *wq, int index); 140 static bool io_acct_cancel_pending_work(struct io_wq *wq, 144 static void io_wq_cancel_tw_create(struct io_wq *wq); 157 static inline struct io_wq_acct *io_get_acct(struct io_wq *wq, bool bound) in io_get_acct() argument 159 return &wq->acct[bound ? IO_WQ_ACCT_BOUND : IO_WQ_ACCT_UNBOUND]; in io_get_acct() 162 static inline struct io_wq_acct *io_work_get_acct(struct io_wq *wq, in io_work_get_acct() argument 165 return io_get_acct(wq, !(atomic_read(&work->flags) & IO_WQ_WORK_UNBOUND)); in io_work_get_acct() 170 return io_get_acct(worker->wq, test_bit(IO_WORKER_F_BOUND, &worker->flags)); in io_wq_get_acct() 173 static void io_worker_ref_put(struct io_wq *wq) in io_worker_ref_put() argument [all …]
|
/linux-6.12.1/fs/btrfs/ |
D | async-thread.c | 50 struct btrfs_fs_info * __pure btrfs_workqueue_owner(const struct btrfs_workqueue *wq) in btrfs_workqueue_owner() argument 52 return wq->fs_info; in btrfs_workqueue_owner() 57 return work->wq->fs_info; in btrfs_work_owner() 60 bool btrfs_workqueue_normal_congested(const struct btrfs_workqueue *wq) in btrfs_workqueue_normal_congested() argument 68 if (wq->thresh == NO_THRESHOLD) in btrfs_workqueue_normal_congested() 71 return atomic_read(&wq->pending) > wq->thresh * 2; in btrfs_workqueue_normal_congested() 74 static void btrfs_init_workqueue(struct btrfs_workqueue *wq, in btrfs_init_workqueue() argument 77 wq->fs_info = fs_info; in btrfs_init_workqueue() 78 atomic_set(&wq->pending, 0); in btrfs_init_workqueue() 79 INIT_LIST_HEAD(&wq->ordered_list); in btrfs_init_workqueue() [all …]
|
/linux-6.12.1/drivers/dma/idxd/ |
D | device.c | 18 static void idxd_wq_disable_cleanup(struct idxd_wq *wq); 41 static void free_hw_descs(struct idxd_wq *wq) in free_hw_descs() argument 45 for (i = 0; i < wq->num_descs; i++) in free_hw_descs() 46 kfree(wq->hw_descs[i]); in free_hw_descs() 48 kfree(wq->hw_descs); in free_hw_descs() 51 static int alloc_hw_descs(struct idxd_wq *wq, int num) in alloc_hw_descs() argument 53 struct device *dev = &wq->idxd->pdev->dev; in alloc_hw_descs() 57 wq->hw_descs = kcalloc_node(num, sizeof(struct dsa_hw_desc *), in alloc_hw_descs() 59 if (!wq->hw_descs) in alloc_hw_descs() 63 wq->hw_descs[i] = kzalloc_node(sizeof(*wq->hw_descs[i]), in alloc_hw_descs() [all …]
|
D | cdev.c | 43 struct idxd_wq *wq; member 55 static void idxd_cdev_evl_drain_pasid(struct idxd_wq *wq, u32 pasid); 101 struct idxd_wq *wq = ctx->wq; in cdev_file_attr_visible() local 103 if (!wq_pasid_enabled(wq)) in cdev_file_attr_visible() 122 struct idxd_wq *wq = ctx->wq; in idxd_file_dev_release() local 123 struct idxd_device *idxd = wq->idxd; in idxd_file_dev_release() 131 if (wq_shared(wq)) { in idxd_file_dev_release() 136 rc = idxd_wq_disable_pasid(wq); in idxd_file_dev_release() 140 idxd_wq_drain(wq); in idxd_file_dev_release() 145 idxd_cdev_evl_drain_pasid(wq, ctx->pasid); in idxd_file_dev_release() [all …]
|
D | dma.c | 20 return idxd_chan->wq; in to_idxd_wq() 27 struct idxd_device *idxd = desc->wq->idxd; in idxd_dma_complete_txd() 56 idxd_free_desc(desc->wq, desc); in idxd_dma_complete_txd() 66 static inline void idxd_prep_desc_common(struct idxd_wq *wq, in idxd_prep_desc_common() argument 88 struct idxd_wq *wq = to_idxd_wq(c); in idxd_dma_prep_interrupt() local 92 if (wq->state != IDXD_WQ_ENABLED) in idxd_dma_prep_interrupt() 96 desc = idxd_alloc_desc(wq, IDXD_OP_BLOCK); in idxd_dma_prep_interrupt() 100 idxd_prep_desc_common(wq, desc->hw, DSA_OPCODE_NOOP, in idxd_dma_prep_interrupt() 110 struct idxd_wq *wq = to_idxd_wq(c); in idxd_dma_submit_memcpy() local 112 struct idxd_device *idxd = wq->idxd; in idxd_dma_submit_memcpy() [all …]
|
D | idxd.h | 166 struct idxd_wq *wq; member 189 struct idxd_wq *wq; member 202 struct workqueue_struct *wq; member 307 struct idxd_wq *wq; member 364 struct workqueue_struct *wq; member 418 struct idxd_wq *wq; member 430 #define wq_confdev(wq) &wq->idxd_dev.conf_dev argument 440 static inline struct idxd_device_driver *wq_to_idxd_drv(struct idxd_wq *wq) in wq_to_idxd_drv() argument 442 struct device *dev = wq_confdev(wq); in wq_to_idxd_drv() 548 static inline bool is_idxd_wq_dmaengine(struct idxd_wq *wq) in is_idxd_wq_dmaengine() argument [all …]
|
D | submit.c | 11 static struct idxd_desc *__get_desc(struct idxd_wq *wq, int idx, int cpu) in __get_desc() argument 14 struct idxd_device *idxd = wq->idxd; in __get_desc() 16 desc = wq->descs[idx]; in __get_desc() 27 struct idxd_desc *idxd_alloc_desc(struct idxd_wq *wq, enum idxd_op_type optype) in idxd_alloc_desc() argument 30 struct idxd_device *idxd = wq->idxd; in idxd_alloc_desc() 38 sbq = &wq->sbq; in idxd_alloc_desc() 44 return __get_desc(wq, idx, cpu); in idxd_alloc_desc() 62 return __get_desc(wq, idx, cpu); in idxd_alloc_desc() 66 void idxd_free_desc(struct idxd_wq *wq, struct idxd_desc *desc) in idxd_free_desc() argument 71 sbitmap_queue_clear(&wq->sbq, desc->id, cpu); in idxd_free_desc() [all …]
|
/linux-6.12.1/include/linux/ |
D | swait.h | 121 static inline int swait_active(struct swait_queue_head *wq) in swait_active() argument 123 return !list_empty(&wq->task_list); in swait_active() 134 static inline bool swq_has_sleeper(struct swait_queue_head *wq) in swq_has_sleeper() argument 144 return swait_active(wq); in swq_has_sleeper() 158 #define ___swait_event(wq, condition, state, ret, cmd) \ argument 166 long __int = prepare_to_swait_event(&wq, &__wait, state);\ 178 finish_swait(&wq, &__wait); \ 182 #define __swait_event(wq, condition) \ argument 183 (void)___swait_event(wq, condition, TASK_UNINTERRUPTIBLE, 0, \ 186 #define swait_event_exclusive(wq, condition) \ argument [all …]
|
/linux-6.12.1/kernel/ |
D | workqueue.c | 258 struct workqueue_struct *wq; /* I: the owning workqueue */ member 526 static void workqueue_sysfs_unregister(struct workqueue_struct *wq); 538 #define assert_rcu_or_wq_mutex_or_pool_mutex(wq) \ argument 540 !lockdep_is_held(&wq->mutex) && \ 598 #define for_each_pwq(pwq, wq) \ argument 599 list_for_each_entry_rcu((pwq), &(wq)->pwqs, pwqs_node, \ 600 lockdep_is_held(&(wq->mutex))) 722 unbound_pwq_slot(struct workqueue_struct *wq, int cpu) in unbound_pwq_slot() argument 725 return per_cpu_ptr(wq->cpu_pwq, cpu); in unbound_pwq_slot() 727 return &wq->dfl_pwq; in unbound_pwq_slot() [all …]
|
/linux-6.12.1/Documentation/translations/zh_CN/core-api/ |
D | workqueue.rst | 26 在很多情况下,需要一个异步的程序执行环境,工作队列(wq)API是这种情况下 41 在最初的wq实现中,多线程(MT)wq在每个CPU上有一个工作者线程,而单线程 42 (ST)wq在全系统有一个工作者线程。一个MT wq需要保持与CPU数量相同的工 43 作者数量。这些年来,内核增加了很多MT wq的用户,随着CPU核心数量的不断 46 尽管MT wq浪费了大量的资源,但所提供的并发性水平却不能令人满意。这个限 47 制在ST和MT wq中都有,只是在MT中没有那么严重。每个wq都保持着自己独立的 48 工作者池。一个MT wq只能为每个CPU提供一个执行环境,而一个ST wq则为整个 52 (MT wq)所提供的并发性水平和资源使用之间的矛盾也迫使其用户做出不必要的权衡,比 53 如libata选择使用ST wq来轮询PIO,并接受一个不必要的限制,即没有两个轮 54 询PIO可以同时进行。由于MT wq并没有提供更好的并发性,需要更高层次的并 [all …]
|
/linux-6.12.1/drivers/infiniband/hw/cxgb4/ |
D | t4.h | 480 static inline int t4_rqes_posted(struct t4_wq *wq) in t4_rqes_posted() argument 482 return wq->rq.in_use; in t4_rqes_posted() 485 static inline int t4_rq_empty(struct t4_wq *wq) in t4_rq_empty() argument 487 return wq->rq.in_use == 0; in t4_rq_empty() 490 static inline u32 t4_rq_avail(struct t4_wq *wq) in t4_rq_avail() argument 492 return wq->rq.size - 1 - wq->rq.in_use; in t4_rq_avail() 495 static inline void t4_rq_produce(struct t4_wq *wq, u8 len16) in t4_rq_produce() argument 497 wq->rq.in_use++; in t4_rq_produce() 498 if (++wq->rq.pidx == wq->rq.size) in t4_rq_produce() 499 wq->rq.pidx = 0; in t4_rq_produce() [all …]
|
D | qp.c | 150 static int destroy_qp(struct c4iw_rdev *rdev, struct t4_wq *wq, in destroy_qp() argument 157 dealloc_sq(rdev, &wq->sq); in destroy_qp() 158 kfree(wq->sq.sw_sq); in destroy_qp() 159 c4iw_put_qpid(rdev, wq->sq.qid, uctx); in destroy_qp() 163 wq->rq.memsize, wq->rq.queue, in destroy_qp() 164 dma_unmap_addr(&wq->rq, mapping)); in destroy_qp() 165 c4iw_rqtpool_free(rdev, wq->rq.rqt_hwaddr, wq->rq.rqt_size); in destroy_qp() 166 kfree(wq->rq.sw_rq); in destroy_qp() 167 c4iw_put_qpid(rdev, wq->rq.qid, uctx); in destroy_qp() 199 static int create_qp(struct c4iw_rdev *rdev, struct t4_wq *wq, in create_qp() argument [all …]
|
D | cq.c | 184 static void insert_recv_cqe(struct t4_wq *wq, struct t4_cq *cq, u32 srqidx) in insert_recv_cqe() argument 189 wq, cq, cq->sw_cidx, cq->sw_pidx); in insert_recv_cqe() 195 CQE_QPID_V(wq->sq.qid)); in insert_recv_cqe() 203 int c4iw_flush_rq(struct t4_wq *wq, struct t4_cq *cq, int count) in c4iw_flush_rq() argument 206 int in_use = wq->rq.in_use - count; in c4iw_flush_rq() 209 wq, cq, wq->rq.in_use, count); in c4iw_flush_rq() 211 insert_recv_cqe(wq, cq, 0); in c4iw_flush_rq() 217 static void insert_sq_cqe(struct t4_wq *wq, struct t4_cq *cq, in insert_sq_cqe() argument 223 wq, cq, cq->sw_cidx, cq->sw_pidx); in insert_sq_cqe() 229 CQE_QPID_V(wq->sq.qid)); in insert_sq_cqe() [all …]
|