Home
last modified time | relevance | path

Searched refs:rq_size (Results 1 – 19 of 19) 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/scsi/
Dstex.c328 u16 rq_size; member
340 u16 rq_size; member
396 struct req_msg *req = hba->dma_mem + hba->req_head * hba->rq_size; in stex_alloc_req()
407 hba->req_head * hba->rq_size + sizeof(struct st_msg_header)); in stex_ss_alloc_req()
533 addr = hba->dma_handle + hba->req_head * hba->rq_size; in stex_ss_send_cmd()
1019 h->req_sz = cpu_to_le16(hba->rq_size); in stex_common_handshake()
1031 status_phys = hba->dma_handle + (hba->rq_count+1) * hba->rq_size; in stex_common_handshake()
1093 h->req_sz = cpu_to_le16(hba->rq_size); in stex_ss_handshake()
1435 .rq_size = 1048,
1448 .rq_size = 1048,
[all …]
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c253 size_t rq_size, rsp_size; in qlcnic_82xx_fw_cmd_create_rx_ctx() local
263 rq_size = SIZEOF_HOSTRQ_RX(struct qlcnic_hostrq_rx_ctx, nrds_rings, in qlcnic_82xx_fw_cmd_create_rx_ctx()
268 addr = dma_alloc_coherent(&adapter->pdev->dev, rq_size, in qlcnic_82xx_fw_cmd_create_rx_ctx()
346 cmd.req.arg[3] = rq_size; in qlcnic_82xx_fw_cmd_create_rx_ctx()
390 dma_free_coherent(&adapter->pdev->dev, rq_size, prq, hostrq_phys_addr); in qlcnic_82xx_fw_cmd_create_rx_ctx()
429 size_t rq_size, rsp_size; in qlcnic_82xx_fw_cmd_create_tx_ctx() local
438 rq_size = SIZEOF_HOSTRQ_TX(struct qlcnic_hostrq_tx_ctx); in qlcnic_82xx_fw_cmd_create_tx_ctx()
439 rq_addr = dma_zalloc_coherent(&adapter->pdev->dev, rq_size, in qlcnic_82xx_fw_cmd_create_tx_ctx()
492 cmd.req.arg[3] = rq_size; in qlcnic_82xx_fw_cmd_create_tx_ctx()
521 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/cxgb4/
Duser.h70 __u32 rq_size; member
Dqp.c1739 uresp.rq_size = qhp->wq.rq.size; in c4iw_create_qp()
/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.c908 struct nes_vnic *nesvnic, int sq_size, int rq_size) in nes_setup_virt_qp() argument
929 rq_pbl_entries = (rq_size * sizeof(struct nes_hw_qp_wqe)) >> 12; in nes_setup_virt_qp()
1030 int sq_size, int rq_size) in nes_setup_mmap_qp() argument
1036 (sizeof(struct nes_hw_qp_wqe) * rq_size) + in nes_setup_mmap_qp()
1059 mem += sizeof(struct nes_hw_qp_wqe) * rq_size; in nes_setup_mmap_qp()
1063 sizeof(struct nes_hw_qp_wqe) * rq_size; in nes_setup_mmap_qp()
1129 int rq_size; in nes_create_qp() local
1146 rq_size = init_attr->cap.max_recv_wr; in nes_create_qp()
1150 rq_encoded_size = nes_get_encoded_size(&rq_size); in nes_create_qp()
1154 rq_size, sq_size); in nes_create_qp()
[all …]
Dnes_hw.h928 u16 rq_size; member
961 u16 rq_size; member
Dnes_hw.c1572 if (((nesnic->rq_size-1) == atomic_read(&nesvnic->rx_skbs_needed)) && in nes_replenish_nic_rq()
1605 nesnic->rq_head &= nesnic->rq_size - 1; in nes_replenish_nic_rq()
1614 if (((nesnic->rq_size-1) == atomic_read(&nesvnic->rx_skbs_needed)) && in nes_replenish_nic_rq()
1753 nesvnic->nic.rq_size = NES_NIC_WQ_SIZE; in nes_init_nic_qp()
1944 nesvnic->nic.rq_tail &= (nesvnic->nic.rq_size - 1); in nes_destroy_nic_qp()
2892 nesnic->rq_tail &= nesnic->rq_size - 1; in nes_nic_ce_handler()
2895 if (atomic_read(&nesvnic->rx_skbs_needed) > (nesvnic->nic.rq_size>>1)) { in nes_nic_ce_handler()
/drivers/infiniband/ulp/srpt/
Dib_srpt.h308 int rq_size; member
Dib_srpt.c2030 WARN_ON(ch->rq_size < 1); in srpt_create_ch_ib()
2039 ch->rq_size + srp_sq_size, 0); in srpt_create_ch_ib()
2043 ch->rq_size + srp_sq_size, ret); in srpt_create_ch_ib()
2309 ch->sport->sdev, ch->rq_size, in srpt_release_channel_work()
2484 ch->rq_size = SRPT_RQ_SIZE; in srpt_cm_req_recv()
2491 srpt_alloc_ioctx_ring(ch->sport->sdev, ch->rq_size, in srpt_cm_req_recv()
2498 for (i = 0; i < ch->rq_size; i++) { in srpt_cm_req_recv()
2559 rsp->req_lim_delta = cpu_to_be32(ch->rq_size); in srpt_cm_req_recv()
2560 atomic_set(&ch->req_lim, ch->rq_size); in srpt_cm_req_recv()
2600 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.c908 init_attr.rq_size = 1 << qhp->wq.rq_size_log2; in rdma_init()
940 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.c2473 int rq_size; in qp_get_mtt_size() local
2479 rq_size = (srq|rss|xrc) ? 0 : (1 << (log_rq_size + log_rq_stride + 4)); in qp_get_mtt_size()
2480 total_mem = sq_size + rq_size; in qp_get_mtt_size()