Searched refs:sq_tail (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/drivers/infiniband/hw/nes/
H A Dnes_hw.c1040 nesdev->cqp.sq_tail = 0; nes_init_cqp()
1201 nesdev->cqp.sq_tail++; nes_init_cqp()
1221 } while (!(nesdev->cqp.sq_head == nesdev->cqp.sq_tail)); nes_destroy_cqp()
1723 nesvnic->nic.sq_tail = 0; nes_init_nic_qp()
1835 ret = wait_event_timeout(nesdev->cqp.waitq, (nesdev->cqp.sq_tail == cqp_head), nes_init_nic_qp()
1948 while (nesvnic->nic.sq_head != nesvnic->nic.sq_tail) { nes_destroy_nic_qp()
1949 nic_sqe = &nesvnic->nic.sq_vbase[nesvnic->nic.sq_tail]; nes_destroy_nic_qp()
1963 if (test_and_clear_bit(nesvnic->nic.sq_tail, nes_destroy_nic_qp()
1992 if (nesvnic->nic.tx_skb[nesvnic->nic.sq_tail]) nes_destroy_nic_qp()
1994 nesvnic->nic.tx_skb[nesvnic->nic.sq_tail]); nes_destroy_nic_qp()
1996 nesvnic->nic.sq_tail = (nesvnic->nic.sq_tail + 1) nes_destroy_nic_qp()
2035 " cqp.sq_tail=%u, cqp.sq_size=%u\n", nes_destroy_nic_qp()
2037 nesdev->cqp.sq_tail, nesdev->cqp.sq_size); nes_destroy_nic_qp()
2039 ret = wait_event_timeout(nesdev->cqp.waitq, (nesdev->cqp.sq_tail == cqp_head), nes_destroy_nic_qp()
2043 " cqp.sq_head=%u, cqp.sq_tail=%u\n", nes_destroy_nic_qp()
2044 ret, cqp_head, nesdev->cqp.sq_head, nesdev->cqp.sq_tail); nes_destroy_nic_qp()
2827 nic_sqe = &nesnic->sq_vbase[nesnic->sq_tail]; nes_nic_ce_handler()
2828 skb = nesnic->tx_skb[nesnic->sq_tail]; nes_nic_ce_handler()
2838 if (test_and_clear_bit(nesnic->sq_tail, nesnic->first_frag_overflow)) { nes_nic_ce_handler()
2861 nesnic->sq_tail++; nes_nic_ce_handler()
2862 nesnic->sq_tail &= nesnic->sq_size-1; nes_nic_ce_handler()
3076 if (++cqp->sq_tail >= cqp->sq_size) nes_cqp_ce_handler()
3077 cqp->sq_tail = 0; nes_cqp_ce_handler()
3091 ((((nesdev->cqp.sq_tail+nesdev->cqp.sq_size)-nesdev->cqp.sq_head) & nes_cqp_ce_handler()
3870 nes_debug(NES_DBG_NETDEV, "Not waiting for CQP, cqp.sq_head=%u, cqp.sq_tail=%u\n", nes_manage_arp_cache()
3871 nesdev->cqp.sq_head, nesdev->cqp.sq_tail); nes_manage_arp_cache()
H A Dnes_mgt.c1007 ret = wait_event_timeout(nesdev->cqp.waitq, (nesdev->cqp.sq_tail == cqp_head), nes_init_mgt_qp()
1135 " cqp.sq_tail=%u, cqp.sq_size=%u\n", nes_destroy_mgt()
1137 nesdev->cqp.sq_tail, nesdev->cqp.sq_size); nes_destroy_mgt()
1139 ret = wait_event_timeout(nesdev->cqp.waitq, (nesdev->cqp.sq_tail == cqp_head), nes_destroy_mgt()
1143 " cqp.sq_head=%u, cqp.sq_tail=%u\n", nes_destroy_mgt()
1144 ret, cqp_head, nesdev->cqp.sq_head, nesdev->cqp.sq_tail); nes_destroy_mgt()
H A Dnes_hw.h902 u16 sq_tail; member in struct:nes_hw_cqp
924 u16 sq_tail; member in struct:nes_hw_nic
957 u16 sq_tail; member in struct:nes_hw_qp
H A Dnes_nic.c510 if ((((nesnic->sq_tail+(nesnic->sq_size*2))-nesnic->sq_head) & (nesnic->sq_size - 1)) == 1) { nes_netdev_start_xmit()
514 if ((((((volatile u16)nesnic->sq_tail)+(nesnic->sq_size*2))-nesnic->sq_head) & (nesnic->sq_size - 1)) != 1) { nes_netdev_start_xmit()
536 wqes_available = (((nesnic->sq_tail+nesnic->sq_size)-nesnic->sq_head) - 1) & nes_netdev_start_xmit()
543 wqes_available = (((((volatile u16)nesnic->sq_tail)+nesnic->sq_size)-nesnic->sq_head) - 1) & nes_netdev_start_xmit()
H A Dnes_verbs.c232 qsize = nesqp->hwqp.sq_tail; nes_bind_mw()
235 if (((head + (2 * qsize) - nesqp->hwqp.sq_tail) % qsize) == (qsize - 1)) { nes_bind_mw()
1349 " nesdev->cqp_head = %u, nesdev->cqp.sq_tail = %u," nes_create_qp()
1351 nesqp->hwqp.qp_id, ret, nesdev->cqp.sq_head, nesdev->cqp.sq_tail, nes_create_qp()
2993 nesqp->hwqp.qp_id, nesqp->hwqp.sq_head, nesqp->hwqp.sq_tail); nes_modify_qp()
3286 if (((head + (2 * qsize) - nesqp->hwqp.sq_tail) % qsize) == (qsize - 1)) { nes_post_send()
3677 nesqp->hwqp.sq_tail++; nes_poll_cq()
3715 nesqp->hwqp.sq_tail = (wqe_index+1)&(nesqp->hwqp.sq_size - 1); nes_poll_cq()
3716 if ((entry->status != IB_WC_SUCCESS) && (nesqp->hwqp.sq_tail != nesqp->hwqp.sq_head)) { nes_poll_cq()
3718 wq_tail = nesqp->hwqp.sq_tail; nes_poll_cq()
H A Dnes_utils.c639 if (((((nesdev->cqp.sq_tail+(nesdev->cqp.sq_size*2))-nesdev->cqp.sq_head) & nes_post_cqp_request()
657 nesdev->cqp.sq_head, nesdev->cqp.sq_tail, nesdev->cqp.sq_size, nes_post_cqp_request()
H A Dnes_cm.c822 nesqp->hwqp.sq_tail = 0; build_rdma0_msg()
3133 nesqp->hwqp.sq_tail, cm_id, nes_cm_disconn_true()
3830 /*nesqp->hwqp.sq_tail = 1;*/ cm_event_connected()
/linux-4.4.14/drivers/nvme/host/
H A Dpci.c124 u16 sq_tail; member in struct:nvme_queue
395 u16 tail = nvmeq->sq_tail; __nvme_submit_cmd()
405 nvmeq->sq_tail = tail; __nvme_submit_cmd()
1569 nvmeq->sq_tail = 0; nvme_init_queue()

Completed in 257 milliseconds