Lines Matching refs:srq_ring
102 priv->cm.rx_sge[i].addr = priv->cm.srq_ring[id].mapping[i]; in ipoib_cm_post_receive_srq()
108 priv->cm.srq_ring[id].mapping); in ipoib_cm_post_receive_srq()
109 dev_kfree_skb_any(priv->cm.srq_ring[id].skb); in ipoib_cm_post_receive_srq()
110 priv->cm.srq_ring[id].skb = NULL; in ipoib_cm_post_receive_srq()
592 rx_ring = has_srq ? priv->cm.srq_ring : p->rx_ring; in ipoib_cm_handle_rx_wc()
1572 priv->cm.srq_ring = vzalloc(array_size(ipoib_recvq_size, in ipoib_cm_create_srq()
1573 sizeof(*priv->cm.srq_ring))); in ipoib_cm_create_srq()
1574 if (!priv->cm.srq_ring) { in ipoib_cm_create_srq()
1621 if (!ipoib_cm_alloc_rx_skb(dev, priv->cm.srq_ring, i, in ipoib_cm_dev_init()
1623 priv->cm.srq_ring[i].mapping, in ipoib_cm_dev_init()
1656 if (!priv->cm.srq_ring) in ipoib_cm_dev_cleanup()
1659 ipoib_cm_free_rx_ring(dev, priv->cm.srq_ring); in ipoib_cm_dev_cleanup()
1660 priv->cm.srq_ring = NULL; in ipoib_cm_dev_cleanup()