Home
last modified time | relevance | path

Searched refs:sq_size (Results 1 – 13 of 13) sorted by relevance

/linux-3.4.99/drivers/scsi/bnx2i/
Dbnx2i_init.c59 unsigned int sq_size; variable
60 module_param(sq_size, int, 0664);
61 MODULE_PARM_DESC(sq_size, "Configure SQ size");
484 if (sq_size && !is_power_of_2(sq_size)) in bnx2i_mod_init()
485 sq_size = roundup_pow_of_two(sq_size); in bnx2i_mod_init()
Dbnx2i_sysfs.c134 static DEVICE_ATTR(sq_size, S_IRUGO | S_IWUSR,
Dbnx2i_iscsi.c843 if (sq_size && sq_size <= BNX2I_5770X_SQ_WQES_MAX) in bnx2i_alloc_hba()
844 hba->max_sqes = sq_size; in bnx2i_alloc_hba()
848 if (sq_size && sq_size <= BNX2I_570X_SQ_WQES_MAX) in bnx2i_alloc_hba()
849 hba->max_sqes = sq_size; in bnx2i_alloc_hba()
Dbnx2i.h736 extern unsigned int sq_size;
/linux-3.4.99/drivers/infiniband/hw/cxgb4/
Duser.h68 __u32 sq_size; member
Dqp.c1508 uresp.sq_size = qhp->wq.sq.size; in c4iw_create_qp()
/linux-3.4.99/drivers/infiniband/hw/nes/
Dnes_hw.c1038 nesdev->cqp.sq_size = NES_CQP_SQ_SIZE; in nes_init_cqp()
1043 vmem += (sizeof(struct nes_hw_cqp_wqe) * nesdev->cqp.sq_size); in nes_init_cqp()
1044 pmem += (sizeof(struct nes_hw_cqp_wqe) * nesdev->cqp.sq_size); in nes_init_cqp()
1234 nesdev->cqp.sq_head &= nesdev->cqp.sq_size-1; in nes_destroy_cqp()
1242 nesdev->cqp.sq_head &= nesdev->cqp.sq_size-1; in nes_destroy_cqp()
1249 nesdev->cqp.sq_head &= nesdev->cqp.sq_size-1; in nes_destroy_cqp()
1256 nesdev->cqp.sq_head &= nesdev->cqp.sq_size-1; in nes_destroy_cqp()
1264 nesdev->cqp.sq_head &= nesdev->cqp.sq_size-1; in nes_destroy_cqp()
1724 nesvnic->nic.sq_size = NES_NIC_WQ_SIZE; in nes_init_nic_qp()
1791 if (++cqp_head >= nesdev->cqp.sq_size) in nes_init_nic_qp()
[all …]
Dnes_nic.c461 nesnic->sq_head &= nesnic->sq_size - 1; in nes_nic_send()
515 if ((((nesnic->sq_tail+(nesnic->sq_size*2))-nesnic->sq_head) & (nesnic->sq_size - 1)) == 1) { in nes_netdev_start_xmit()
519 …if ((((((volatile u16)nesnic->sq_tail)+(nesnic->sq_size*2))-nesnic->sq_head) & (nesnic->sq_size - … in nes_netdev_start_xmit()
541 wqes_available = (((nesnic->sq_tail+nesnic->sq_size)-nesnic->sq_head) - 1) & in nes_netdev_start_xmit()
542 (nesnic->sq_size - 1); in nes_netdev_start_xmit()
548 wqes_available = (((((volatile u16)nesnic->sq_tail)+nesnic->sq_size)-nesnic->sq_head) - 1) & in nes_netdev_start_xmit()
549 (nesnic->sq_size - 1); in nes_netdev_start_xmit()
671 nesnic->sq_head &= nesnic->sq_size-1; in nes_netdev_start_xmit()
Dnes_verbs.c905 struct nes_vnic *nesvnic, int sq_size, int rq_size) in nes_setup_virt_qp() argument
927 sq_pbl_entries = (sq_size * sizeof(struct nes_hw_qp_wqe)) >> 12; in nes_setup_virt_qp()
1027 int sq_size, int rq_size) in nes_setup_mmap_qp() argument
1032 nesqp->qp_mem_size = (sizeof(struct nes_hw_qp_wqe) * sq_size) + in nes_setup_mmap_qp()
1051 mem += sizeof(struct nes_hw_qp_wqe) * sq_size; in nes_setup_mmap_qp()
1055 sizeof(struct nes_hw_qp_wqe) * sq_size; in nes_setup_mmap_qp()
1125 int sq_size; in nes_create_qp() local
1142 sq_size = init_attr->cap.max_send_wr; in nes_create_qp()
1146 sq_encoded_size = nes_get_encoded_size(&sq_size); in nes_create_qp()
1151 rq_size, sq_size); in nes_create_qp()
[all …]
Dnes_utils.c639 if (((((nesdev->cqp.sq_tail+(nesdev->cqp.sq_size*2))-nesdev->cqp.sq_head) & in nes_post_cqp_request()
640 (nesdev->cqp.sq_size - 1)) != 1) in nes_post_cqp_request()
643 nesdev->cqp.sq_head &= nesdev->cqp.sq_size-1; in nes_post_cqp_request()
657 nesdev->cqp.sq_head, nesdev->cqp.sq_tail, nesdev->cqp.sq_size, in nes_post_cqp_request()
Dnes_hw.h903 u16 sq_size; member
925 u16 sq_size; member
958 u16 sq_size; member
Dnes_mgt.c966 if (++cqp_head >= nesdev->cqp.sq_size) in nes_init_mgt_qp()
996 if (++cqp_head >= nesdev->cqp.sq_size) in nes_init_mgt_qp()
1114 if (++cqp_head >= nesdev->cqp.sq_size) in nes_destroy_mgt()
1126 if (++cqp_head >= nesdev->cqp.sq_size) in nes_destroy_mgt()
1139 nesdev->cqp.sq_tail, nesdev->cqp.sq_size); in nes_destroy_mgt()
/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c1586 int sq_size; in qp_get_mtt_size() local
1592 sq_size = 1 << (log_sq_size + log_sq_sride + 4); in qp_get_mtt_size()
1594 total_mem = sq_size + rq_size; in qp_get_mtt_size()