/linux-6.12.1/net/9p/ |
D | trans_rdma.c | 83 int sq_depth; member 125 int sq_depth; member 156 if (rdma->sq_depth != P9_RDMA_SQ_DEPTH) in p9_rdma_show_options() 157 seq_printf(m, ",sq=%u", rdma->sq_depth); in p9_rdma_show_options() 182 opts->sq_depth = P9_RDMA_SQ_DEPTH; in parse_opts() 217 opts->sq_depth = option; in parse_opts() 233 opts->rq_depth = max(opts->rq_depth, opts->sq_depth); in parse_opts() 581 rdma->sq_depth = opts->sq_depth; in alloc_rdma() 586 sema_init(&rdma->sq_sem, rdma->sq_depth); in alloc_rdma() 698 opts.sq_depth + opts.rq_depth + 1, in rdma_create_trans() [all …]
|
/linux-6.12.1/drivers/net/ethernet/fungible/funcore/ |
D | fun_queue.h | 46 u32 sq_depth; member 97 if (++tail == funq->sq_depth) in funq_sq_post_tail() 123 u32 sq_depth; member 133 u8 sqe_size_log2, u32 sq_depth, dma_addr_t dma_addr,
|
D | fun_queue.c | 76 u8 sqe_size_log2, u32 sq_depth, dma_addr_t dma_addr, in fun_sq_create() argument 89 if (sq_depth > fdev->q_depth) in fun_sq_create() 94 wb_addr = dma_addr + (sq_depth << sqe_size_log2); in fun_sq_create() 101 sq_depth - 1, dma_addr, 0, in fun_sq_create() 356 funq->sq_cmds = fun_alloc_ring_mem(funq->fdev->dev, funq->sq_depth, in fun_alloc_sqes() 390 fun_free_ring_mem(dev, funq->sq_depth, 1 << funq->sqe_size_log2, in fun_free_queue() 442 funq->sq_depth = req->sq_depth; in fun_alloc_queue() 512 funq->sqe_size_log2, funq->sq_depth, in fun_create_sq()
|
D | fun_dev.c | 231 .sq_depth = areq->sq_depth, in fun_enable_admin_queue() 234 unsigned int ntags = areq->sq_depth - 1; in fun_enable_admin_queue() 241 if (areq->sq_depth < AQA_MIN_QUEUE_SIZE || in fun_enable_admin_queue() 242 areq->sq_depth > AQA_MAX_QUEUE_SIZE || in fun_enable_admin_queue() 269 writel((funq->sq_depth - 1) << AQA_ASQS_SHIFT | in fun_enable_admin_queue() 401 if (++funq->sq_tail == funq->sq_depth) in fun_submit_admin_cmd()
|
D | fun_dev.h | 93 u16 sq_depth; member
|
/linux-6.12.1/drivers/net/ethernet/fungible/funeth/ |
D | funeth.h | 77 unsigned int sq_depth; member 115 unsigned int sq_depth; member
|
D | funeth_main.c | 494 xdpqs = alloc_xdpqs(netdev, qset->nxdpqs, qset->sq_depth, in fun_alloc_rings() 503 err = alloc_txqs(netdev, txqs, qset->ntxqs, qset->sq_depth, in fun_alloc_rings() 843 .sq_depth = fp->sq_depth, in funeth_open() 1085 xdpqs = alloc_xdpqs(dev, nqs, fp->sq_depth, 0, FUN_QSTATE_INIT_FULL); in fun_enter_xdp() 1644 .sq_depth = fp->sq_depth, in fun_change_num_queues() 1781 fp->sq_depth = min(SQ_DEPTH, fdev->q_depth); in fun_create_netdev() 2002 .sq_depth = ADMIN_SQ_DEPTH, in funeth_probe()
|
D | funeth_ethtool.c | 567 ring->tx_pending = fp->sq_depth; in fun_get_ringparam() 593 if (fp->sq_depth == ring->tx_pending && in fun_set_ringparam() 601 .sq_depth = ring->tx_pending in fun_set_ringparam() 609 fp->sq_depth = ring->tx_pending; in fun_set_ringparam()
|
/linux-6.12.1/include/uapi/misc/uacce/ |
D | hisi_qm.h | 26 __u16 sq_depth; member
|
/linux-6.12.1/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_dev.c | 270 static int set_hw_ioctxt(struct hinic_hwdev *hwdev, unsigned int sq_depth, in set_hw_ioctxt() argument 289 hw_ioctxt.sq_depth = ilog2(sq_depth); in set_hw_ioctxt() 438 int hinic_hwdev_ifup(struct hinic_hwdev *hwdev, u16 sq_depth, u16 rq_depth) in hinic_hwdev_ifup() argument 461 func_to_io->sq_depth = sq_depth; in hinic_hwdev_ifup() 489 err = set_hw_ioctxt(hwdev, sq_depth, rq_depth); in hinic_hwdev_ifup()
|
D | hinic_hw_io.h | 73 u16 sq_depth; member
|
D | hinic_dev.h | 99 u16 sq_depth; member
|
D | hinic_hw_dev.h | 288 u16 sq_depth; member 627 int hinic_hwdev_ifup(struct hinic_hwdev *hwdev, u16 sq_depth, u16 rq_depth);
|
D | hinic_ethtool.c | 558 ring->tx_pending = nic_dev->sq_depth; in hinic_get_ringparam() 599 if (new_sq_depth == nic_dev->sq_depth && in hinic_set_ringparam() 605 nic_dev->sq_depth, nic_dev->rq_depth, in hinic_set_ringparam() 608 nic_dev->sq_depth = new_sq_depth; in hinic_set_ringparam()
|
D | hinic_hw_mbox.c | 1291 (hw_ctxt)->sq_depth >= HINIC_QUEUE_MIN_DEPTH && \ 1292 (hw_ctxt)->sq_depth <= HINIC_QUEUE_MAX_DEPTH && \ 1300 if (!hw_ctxt->rq_depth && !hw_ctxt->sq_depth && in hw_ctxt_qps_param_valid()
|
D | hinic_main.c | 422 err = hinic_hwdev_ifup(nic_dev->hwdev, nic_dev->sq_depth, in hinic_open() 1212 nic_dev->sq_depth = HINIC_SQ_DEPTH; in nic_dev_init()
|
/linux-6.12.1/drivers/crypto/hisilicon/ |
D | qm.c | 265 #define QM_MK_SQC_DW3_V2(sqe_sz, sq_depth) \ argument 266 ((((u32)sq_depth) - 1) | ((u32)ilog2(sqe_sz) << QM_SQ_SQE_SIZE_SHIFT)) 1814 if (unlikely(atomic_read(&qp->qp_status.used) == qp->sq_depth - 1)) in qm_get_avail_sqe() 1923 sqc.w8 = cpu_to_le16(qp->sq_depth - 1); in qm_sq_ctx_cfg() 1925 sqc.dw3 = cpu_to_le32(QM_MK_SQC_DW3_V2(qm->sqe_size, qp->sq_depth)); in qm_sq_ctx_cfg() 2037 u16 sq_depth = qp->sq_depth; in qp_stop_fail_cb() local 2038 u16 cur_head = (cur_tail + sq_depth - qp_used) % sq_depth; in qp_stop_fail_cb() 2044 pos = (i + cur_head) % sq_depth; in qp_stop_fail_cb() 2197 u16 sq_tail_next = (sq_tail + 1) % qp->sq_depth; in hisi_qp_send() 2435 qp_info.sq_depth = qp->sq_depth; in hisi_qm_uacce_ioctl() [all …]
|
D | debugfs.c | 322 u16 sq_depth = qm->qp_array->sq_depth; in qm_sq_dump() local 328 ret = q_dump_param_parse(qm, s, &sqe_id, &qp_id, sq_depth); in qm_sq_dump()
|
/linux-6.12.1/drivers/infiniband/hw/irdma/ |
D | user.h | 300 u32 *sq_depth, u8 *sq_shift); 378 u32 sq_depth; member
|
D | verbs.c | 632 ret = irdma_uk_calc_depth_shift_sq(ukinfo, &ukinfo->sq_depth, in irdma_setup_umode_qp() 643 (ukinfo->sq_depth - IRDMA_SQ_RSVD) >> ukinfo->sq_shift; in irdma_setup_umode_qp() 646 ukinfo->sq_size = ukinfo->sq_depth >> ukinfo->sq_shift; in irdma_setup_umode_qp() 672 status = irdma_uk_calc_depth_shift_sq(ukinfo, &ukinfo->sq_depth, in irdma_setup_kmode_qp() 683 kcalloc(ukinfo->sq_depth, sizeof(*iwqp->kqp.sq_wrid_mem), GFP_KERNEL); in irdma_setup_kmode_qp() 699 size = (ukinfo->sq_depth + ukinfo->rq_depth) * IRDMA_QP_WQE_MIN_SIZE; in irdma_setup_kmode_qp() 715 ukinfo->rq = &ukinfo->sq[ukinfo->sq_depth]; in irdma_setup_kmode_qp() 716 info->rq_pa = info->sq_pa + (ukinfo->sq_depth * IRDMA_QP_WQE_MIN_SIZE); in irdma_setup_kmode_qp() 720 ukinfo->sq_size = ukinfo->sq_depth >> ukinfo->sq_shift; in irdma_setup_kmode_qp() 723 iwqp->max_send_wr = (ukinfo->sq_depth - IRDMA_SQ_RSVD) >> ukinfo->sq_shift; in irdma_setup_kmode_qp()
|
/linux-6.12.1/drivers/infiniband/hw/efa/ |
D | efa_com_cmd.h | 23 u32 sq_depth; member
|
/linux-6.12.1/drivers/crypto/hisilicon/zip/ |
D | zip_crypto.c | 446 u16 q_depth = ctx->qp_ctx[0].qp->sq_depth; in hisi_zip_create_req_q() 498 u16 q_depth = ctx->qp_ctx[0].qp->sq_depth; in hisi_zip_create_sgl_pool()
|
/linux-6.12.1/include/linux/ |
D | hisi_acc_qm.h | 415 u16 sq_depth; member
|
/linux-6.12.1/drivers/net/ethernet/amazon/ena/ |
D | ena_admin_defs.h | 260 u16 sq_depth; member
|
/linux-6.12.1/drivers/crypto/hisilicon/sec2/ |
D | sec_crypto.c | 144 req_id = idr_alloc_cyclic(&qp_ctx->req_idr, NULL, 0, qp_ctx->qp->sq_depth, GFP_ATOMIC); in sec_alloc_req_id() 162 if (unlikely(req_id < 0 || req_id >= qp_ctx->qp->sq_depth)) { in sec_free_req_id() 492 u16 q_depth = qp_ctx->qp->sq_depth; in sec_alloc_qp_ctx_resource() 608 ctx->fake_req_limit = ctx->qps[0]->sq_depth >> 1; in sec_ctx_base_init()
|