Searched refs:sq_size (Results 1 – 13 of 13) sorted by relevance
/linux-3.4.99/drivers/scsi/bnx2i/ |
D | bnx2i_init.c | 59 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()
|
D | bnx2i_sysfs.c | 134 static DEVICE_ATTR(sq_size, S_IRUGO | S_IWUSR,
|
D | bnx2i_iscsi.c | 843 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()
|
D | bnx2i.h | 736 extern unsigned int sq_size;
|
/linux-3.4.99/drivers/infiniband/hw/cxgb4/ |
D | user.h | 68 __u32 sq_size; member
|
D | qp.c | 1508 uresp.sq_size = qhp->wq.sq.size; in c4iw_create_qp()
|
/linux-3.4.99/drivers/infiniband/hw/nes/ |
D | nes_hw.c | 1038 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 …]
|
D | nes_nic.c | 461 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()
|
D | nes_verbs.c | 905 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 …]
|
D | nes_utils.c | 639 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()
|
D | nes_hw.h | 903 u16 sq_size; member 925 u16 sq_size; member 958 u16 sq_size; member
|
D | nes_mgt.c | 966 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/ |
D | resource_tracker.c | 1586 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()
|