| /linux/block/ |
| H A D | blk-wbt.c | 93 struct rq_depth rq_depth; member 310 struct rq_depth *rqd = &rwb->rq_depth; in latency_exceeded() 363 struct rq_depth *rqd = &rwb->rq_depth; in rwb_trace_step() 373 } else if (rwb->rq_depth.max_depth <= 2) { in calc_wb_limits() 374 rwb->wb_normal = rwb->rq_depth.max_depth; in calc_wb_limits() 377 rwb->wb_normal = (rwb->rq_depth.max_depth + 1) / 2; in calc_wb_limits() 378 rwb->wb_background = (rwb->rq_depth.max_depth + 3) / 4; in calc_wb_limits() 384 if (!rq_depth_scale_up(&rwb->rq_depth)) in scale_up() 394 if (!rq_depth_scale_down(&rwb->rq_depth, hard_throttle)) in scale_down() 403 struct rq_depth *rqd = &rwb->rq_depth; in rwb_arm_timer() [all …]
|
| H A D | blk-rq-qos.h | 51 struct rq_depth { struct 99 bool rq_depth_scale_up(struct rq_depth *rqd); 100 bool rq_depth_scale_down(struct rq_depth *rqd, bool hard_throttle); 101 bool rq_depth_calc_max_depth(struct rq_depth *rqd);
|
| /linux/drivers/net/ethernet/fungible/funcore/ |
| H A D | fun_queue.c | 175 for (i = 0; i < funq->rq_depth; i++) { in fun_clean_rq() 192 for (i = 0; i < funq->rq_depth; i++) { in fun_fill_rq() 209 funq->rq_tail = funq->rq_depth - 1; in fun_fill_rq() 222 if (++funq->rq_buf_idx == funq->rq_depth) in fun_rq_update_pos() 344 funq->rq_depth; in fun_process_cq() 375 funq->rqes = fun_alloc_ring_mem(funq->fdev->dev, funq->rq_depth, in fun_alloc_rqes() 396 fun_free_ring_mem(dev, funq->rq_depth, sizeof(*funq->rqes), in fun_free_queue() 419 if (req->rq_depth) { in fun_alloc_queue() 458 if (req->rq_depth) { in fun_alloc_queue() 460 funq->rq_depth = req->rq_depth; in fun_alloc_queue() [all …]
|
| H A D | fun_dev.c | 232 .rq_depth = areq->rq_depth, in fun_enable_admin_queue() 280 if (areq->rq_depth) { in fun_enable_admin_queue() 579 if (cq_count < 2 || sq_count < 2 + !!fdev->admin_q->rq_depth) in fun_get_dev_limits()
|
| H A D | fun_dev.h | 94 u16 rq_depth; member
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_transport.c | 440 unsigned int ctxts, rq_depth, maxpayload; in svc_rdma_accept() local 486 rq_depth = newxprt->sc_max_requests + newxprt->sc_max_bc_requests + in svc_rdma_accept() 488 if (rq_depth > dev->attrs.max_qp_wr) { in svc_rdma_accept() 489 rq_depth = dev->attrs.max_qp_wr; in svc_rdma_accept() 491 newxprt->sc_max_requests = rq_depth - 2; in svc_rdma_accept() 506 newxprt->sc_sq_depth = rq_depth + in svc_rdma_accept() 524 ib_alloc_cq_any(dev, newxprt, rq_depth, IB_POLL_WORKQUEUE); in svc_rdma_accept() 534 qp_attr.cap.max_recv_wr = rq_depth; in svc_rdma_accept() 546 newxprt->sc_sq_depth, rq_depth); in svc_rdma_accept()
|
| /linux/drivers/net/ethernet/huawei/hinic3/ |
| H A D | hinic3_nic_io.c | 341 u16 q_id, u32 rq_depth, u16 rq_msix_idx) in hinic3_create_rq() argument 348 err = hinic3_wq_create(hwdev, &rq->wq, rq_depth, in hinic3_create_rq() 363 u32 rq_depth, u16 qp_msix_idx) in hinic3_create_qp() argument 374 err = hinic3_create_rq(hwdev, rq, q_id, rq_depth, qp_msix_idx); in hinic3_create_qp() 425 qp_params->sq_depth, qp_params->rq_depth, in hinic3_alloc_qps() 836 u32 rq_depth; in hinic3_init_qp_ctxts() local 853 rq_depth = nic_io->rq[0].wq.q_depth << HINIC3_NORMAL_RQ_WQE; in hinic3_init_qp_ctxts() 855 err = hinic3_set_root_ctxt(hwdev, rq_depth, nic_io->sq[0].wq.q_depth, in hinic3_init_qp_ctxts()
|
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_hw_dev.c | 271 unsigned int rq_depth) in set_hw_ioctxt() argument 285 hw_ioctxt.rq_depth = ilog2(rq_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 462 func_to_io->rq_depth = rq_depth; in hinic_hwdev_ifup() 489 err = set_hw_ioctxt(hwdev, sq_depth, rq_depth); in hinic_hwdev_ifup()
|
| H A D | hinic_hw_io.h | 74 u16 rq_depth; member
|
| H A D | hinic_dev.h | 100 u16 rq_depth; member
|
| H A D | hinic_hw_dev.h | 286 u16 rq_depth; member 627 int hinic_hwdev_ifup(struct hinic_hwdev *hwdev, u16 sq_depth, u16 rq_depth);
|
| H A D | hinic_ethtool.c | 557 ring->rx_pending = nic_dev->rq_depth; in hinic_get_ringparam() 600 new_rq_depth == nic_dev->rq_depth) in hinic_set_ringparam() 605 nic_dev->sq_depth, nic_dev->rq_depth, in hinic_set_ringparam() 609 nic_dev->rq_depth = new_rq_depth; in hinic_set_ringparam()
|
| H A D | hinic_hw_mbox.c | 1289 ((hw_ctxt)->rq_depth >= HINIC_QUEUE_MIN_DEPTH && \ 1290 (hw_ctxt)->rq_depth <= HINIC_QUEUE_MAX_DEPTH && \ 1300 if (!hw_ctxt->rq_depth && !hw_ctxt->sq_depth && in hw_ctxt_qps_param_valid()
|
| H A D | hinic_hw_io.c | 293 func_to_io->rq_depth, HINIC_RQ_WQE_SIZE); in init_qp()
|
| H A D | hinic_port.c | 491 rq_num.rq_depth = ilog2(nic_dev->rq_depth); in hinic_set_max_qnum()
|
| H A D | hinic_port.h | 317 u32 rq_depth; member
|
| /linux/drivers/net/ethernet/fungible/funeth/ |
| H A D | funeth_main.c | 509 qset->rq_depth, qset->rxq_start, qset->state); in fun_alloc_rings() 842 .rq_depth = fp->rq_depth, in funeth_open() 1631 .rq_depth = fp->rq_depth, in fun_change_num_queues() 1771 fp->rq_depth = min_t(unsigned int, RQ_DEPTH, fdev->q_depth); in fun_create_netdev() 1991 .rq_depth = ADMIN_RQ_DEPTH, in funeth_probe()
|