Home
last modified time | relevance | path

Searched refs:rq_size (Results 1 – 25 of 25) sorted by relevance

/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ctx.c290 size_t rq_size, rsp_size; in nx_fw_cmd_create_rx_ctx() local
300 rq_size = in nx_fw_cmd_create_rx_ctx()
306 rq_size, &hostrq_phys_addr); in nx_fw_cmd_create_rx_ctx()
370 cmd.req.arg3 = rq_size; in nx_fw_cmd_create_rx_ctx()
413 pci_free_consistent(adapter->pdev, rq_size, prq, hostrq_phys_addr); in nx_fw_cmd_create_rx_ctx()
443 size_t rq_size, rsp_size; in nx_fw_cmd_create_tx_ctx() local
452 rq_size = SIZEOF_HOSTRQ_TX(nx_hostrq_tx_ctx_t); in nx_fw_cmd_create_tx_ctx()
454 rq_size, &rq_phys_addr); in nx_fw_cmd_create_tx_ctx()
466 memset(rq_addr, 0, rq_size); in nx_fw_cmd_create_tx_ctx()
497 cmd.req.arg3 = rq_size; in nx_fw_cmd_create_tx_ctx()
[all …]
/drivers/infiniband/hw/i40iw/
Di40iw_puda.c152 ((rsrc->rx_wqe_idx + 1) % rsrc->rq_size); in i40iw_puda_replenish_rq()
559 u32 sq_size, rq_size, t_size; in i40iw_puda_qp_create() local
563 rq_size = rsrc->rq_size * I40IW_QP_WQE_MIN_SIZE; in i40iw_puda_qp_create()
564 t_size = (sq_size + rq_size + (I40IW_SHADOW_AREA_SIZE << 3) + in i40iw_puda_qp_create()
578 qp->hw_rq_size = i40iw_get_encoded_wqe_size(rsrc->rq_size, false); in i40iw_puda_qp_create()
587 ukqp->shadow_area = ukqp->rq_base[rsrc->rq_size].elem; in i40iw_puda_qp_create()
588 qp->shadow_area_pa = qp->rq_pa + rq_size; in i40iw_puda_qp_create()
598 ukqp->rq_size = rsrc->rq_size; in i40iw_puda_qp_create()
602 I40IW_RING_INIT(ukqp->rq_ring, ukqp->rq_size); in i40iw_puda_qp_create()
840 rqwridsize = info->rq_size * 8; in i40iw_puda_create_rsrc()
[all …]
Di40iw_puda.h106 u32 rq_size; member
129 u32 rq_size; member
Di40iw_verbs.c518 u32 sq_size, rq_size; in i40iw_setup_kmode_qp() local
525 rq_size = i40iw_qp_roundup(ukinfo->rq_size + 1); in i40iw_setup_kmode_qp()
529 status = i40iw_get_wqe_shift(rq_size, ukinfo->max_rq_frag_cnt, 0, &rqshift); in i40iw_setup_kmode_qp()
535 rqdepth = rq_size << rqshift; in i40iw_setup_kmode_qp()
566 ukinfo->rq_size = rq_size; in i40iw_setup_kmode_qp()
593 int rq_size; in i40iw_create_qp() local
616 rq_size = init_attr->cap.max_recv_wr; in i40iw_create_qp()
619 init_info.qp_uk_init_info.rq_size = rq_size; in i40iw_create_qp()
780 uresp.actual_rq_size = rq_size; in i40iw_create_qp()
817 attr->cap.max_recv_wr = qp->qp_uk.rq_size; in i40iw_query_qp()
Di40iw_user.h373 u32 rq_size; member
410 u32 rq_size; member
Di40iw_uk.c975 ret_code = i40iw_get_wqe_shift(info->rq_size, info->max_rq_frag_cnt, 0, &rqshift); in i40iw_qp_uk_init()
1005 qp->rq_size = info->rq_size; in i40iw_qp_uk_init()
1008 I40IW_RING_INIT(qp->rq_ring, qp->rq_size); in i40iw_qp_uk_init()
Di40iw_main.c939 info.rq_size = 8192; in i40iw_initialize_ilq()
968 info.rq_size = 8192; in i40iw_initialize_ieq()
Di40iw_ctrl.c2143 qp->hw_rq_size = i40iw_get_encoded_wqe_size(qp->qp_uk.rq_size * in i40iw_sc_qp_init()
2147 __func__, qp->hw_rq_size, qp->qp_uk.rq_size, wqe_size); in i40iw_sc_qp_init()
/drivers/scsi/
Dstex.c339 u16 rq_size; member
352 u16 rq_size; member
400 struct req_msg *req = hba->dma_mem + hba->req_head * hba->rq_size; in stex_alloc_req()
411 hba->req_head * hba->rq_size + sizeof(struct st_msg_header)); in stex_ss_alloc_req()
537 addr = hba->dma_handle + hba->req_head * hba->rq_size; in stex_ss_send_cmd()
1030 h->req_sz = cpu_to_le16(hba->rq_size); in stex_common_handshake()
1042 status_phys = hba->dma_handle + (hba->rq_count+1) * hba->rq_size; in stex_common_handshake()
1104 h->req_sz = cpu_to_le16(hba->rq_size); in stex_ss_handshake()
1427 .rq_size = 1048,
1440 .rq_size = 1048,
[all …]
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c251 size_t rq_size, rsp_size; in qlcnic_82xx_fw_cmd_create_rx_ctx() local
261 rq_size = SIZEOF_HOSTRQ_RX(struct qlcnic_hostrq_rx_ctx, nrds_rings, in qlcnic_82xx_fw_cmd_create_rx_ctx()
266 addr = dma_alloc_coherent(&adapter->pdev->dev, rq_size, in qlcnic_82xx_fw_cmd_create_rx_ctx()
344 cmd.req.arg[3] = rq_size; in qlcnic_82xx_fw_cmd_create_rx_ctx()
388 dma_free_coherent(&adapter->pdev->dev, rq_size, prq, hostrq_phys_addr); in qlcnic_82xx_fw_cmd_create_rx_ctx()
427 size_t rq_size, rsp_size; in qlcnic_82xx_fw_cmd_create_tx_ctx() local
436 rq_size = SIZEOF_HOSTRQ_TX(struct qlcnic_hostrq_tx_ctx); in qlcnic_82xx_fw_cmd_create_tx_ctx()
437 rq_addr = dma_zalloc_coherent(&adapter->pdev->dev, rq_size, in qlcnic_82xx_fw_cmd_create_tx_ctx()
490 cmd.req.arg[3] = rq_size; in qlcnic_82xx_fw_cmd_create_tx_ctx()
519 dma_free_coherent(&adapter->pdev->dev, rq_size, rq_addr, rq_phys_addr); in qlcnic_82xx_fw_cmd_create_tx_ctx()
/drivers/scsi/bnx2i/
Dbnx2i_init.c65 unsigned int rq_size = BNX2I_RQ_WQES_DEFAULT; variable
66 module_param(rq_size, int, 0664);
67 MODULE_PARM_DESC(rq_size, "Configure RQ size");
Dbnx2i.h796 extern unsigned int rq_size;
Dbnx2i_iscsi.c857 hba->max_rqes = rq_size; in bnx2i_alloc_hba()
858 hba->max_cqes = hba->max_sqes + rq_size; in bnx2i_alloc_hba()
/drivers/infiniband/hw/nes/
Dnes_mgt.c61 if (((nesmgt->rq_size - 1) == atomic_read(&mgtvnic->rx_skbs_needed)) && in nes_replenish_mgt_rq()
95 nesmgt->rq_head &= nesmgt->rq_size - 1; in nes_replenish_mgt_rq()
104 if (((nesmgt->rq_size - 1) == atomic_read(&mgtvnic->rx_skbs_needed)) && in nes_replenish_mgt_rq()
825 mgtvnic->mgt.rq_tail &= mgtvnic->mgt.rq_size - 1; in nes_mgt_ce_handler()
846 if (skbs_needed > (mgtvnic->mgt.rq_size >> 1)) in nes_mgt_ce_handler()
929 mgtvnic->mgt.rq_size = NES_MGT_WQ_COUNT; in nes_init_mgt_qp()
1097 mgtvnic->mgt.rq_tail &= (mgtvnic->mgt.rq_size - 1); in nes_destroy_mgt()
Dnes_mgt.h51 u16 rq_size; member
Dnes_verbs.c814 struct nes_vnic *nesvnic, int sq_size, int rq_size) in nes_setup_virt_qp() argument
835 rq_pbl_entries = (rq_size * sizeof(struct nes_hw_qp_wqe)) >> 12; in nes_setup_virt_qp()
936 int sq_size, int rq_size) in nes_setup_mmap_qp() argument
942 (sizeof(struct nes_hw_qp_wqe) * rq_size) + in nes_setup_mmap_qp()
965 mem += sizeof(struct nes_hw_qp_wqe) * rq_size; in nes_setup_mmap_qp()
969 sizeof(struct nes_hw_qp_wqe) * rq_size; in nes_setup_mmap_qp()
1035 int rq_size; in nes_create_qp() local
1052 rq_size = init_attr->cap.max_recv_wr; in nes_create_qp()
1056 rq_encoded_size = nes_get_encoded_size(&rq_size); in nes_create_qp()
1060 rq_size, sq_size); in nes_create_qp()
[all …]
Dnes_hw.h926 u16 rq_size; member
959 u16 rq_size; member
Dnes_hw.c1565 if (((nesnic->rq_size-1) == atomic_read(&nesvnic->rx_skbs_needed)) && in nes_replenish_nic_rq()
1598 nesnic->rq_head &= nesnic->rq_size - 1; in nes_replenish_nic_rq()
1607 if (((nesnic->rq_size-1) == atomic_read(&nesvnic->rx_skbs_needed)) && in nes_replenish_nic_rq()
1727 nesvnic->nic.rq_size = NES_NIC_WQ_SIZE; in nes_init_nic_qp()
1910 nesvnic->nic.rq_tail &= (nesvnic->nic.rq_size - 1); in nes_destroy_nic_qp()
2855 nesnic->rq_tail &= nesnic->rq_size - 1; in nes_nic_ce_handler()
2858 if (atomic_read(&nesvnic->rx_skbs_needed) > (nesvnic->nic.rq_size>>1)) { in nes_nic_ce_handler()
/drivers/infiniband/ulp/srpt/
Dib_srpt.h270 int rq_size; member
Dib_srpt.c1612 WARN_ON(ch->rq_size < 1); in srpt_create_ch_ib()
1620 ch->cq = ib_alloc_cq(sdev->device, ch, ch->rq_size + srp_sq_size, in srpt_create_ch_ib()
1625 ch->rq_size + srp_sq_size, ret); in srpt_create_ch_ib()
1809 ch->sport->sdev, ch->rq_size, in srpt_release_channel_work()
1950 ch->rq_size = SRPT_RQ_SIZE; in srpt_cm_req_recv()
1957 srpt_alloc_ioctx_ring(ch->sport->sdev, ch->rq_size, in srpt_cm_req_recv()
1964 for (i = 0; i < ch->rq_size; i++) { in srpt_cm_req_recv()
2028 rsp->req_lim_delta = cpu_to_be32(ch->rq_size); in srpt_cm_req_recv()
2029 atomic_set(&ch->req_lim, ch->rq_size); in srpt_cm_req_recv()
2067 ch->sport->sdev, ch->rq_size, in srpt_cm_req_recv()
/drivers/infiniband/hw/cxgb3/
Dcxio_wr.h342 u32 rq_size; member
365 __be32 rq_size; member
Diwch_qp.c827 init_attr.rq_size = 1 << qhp->wq.rq_size_log2; in rdma_init()
859 init_attr.rq_addr, init_attr.rq_size, in rdma_init()
Dcxio_hal.c851 wqe->rq_size = cpu_to_be32(attr->rq_size); in cxio_rdma_init()
/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c2676 int rq_size; in qp_get_mtt_size() local
2682 rq_size = (srq|rss|xrc) ? 0 : (1 << (log_rq_size + log_rq_stride + 4)); in qp_get_mtt_size()
2683 total_mem = sq_size + rq_size; in qp_get_mtt_size()
/drivers/infiniband/hw/cxgb4/
Dqp.c1826 uresp.rq_size = qhp->wq.rq.size; in c4iw_create_qp()