Lines Matching refs:rx_ring
147 #define rx_ring_posted(ssk) ring_posted(ssk->rx_ring)
401 struct sdp_rx_ring rx_ring;
464 static inline void rx_ring_unlock(struct sdp_rx_ring *rx_ring)
466 rw_runlock(&rx_ring->destroyed_lock);
469 static inline int rx_ring_trylock(struct sdp_rx_ring *rx_ring)
471 rw_rlock(&rx_ring->destroyed_lock);
472 if (rx_ring->destroyed) {
473 rx_ring_unlock(rx_ring);
479 static inline void rx_ring_destroy_lock(struct sdp_rx_ring *rx_ring)
481 rw_wlock(&rx_ring->destroyed_lock);
482 rx_ring->destroyed = 1;
483 rw_wunlock(&rx_ring->destroyed_lock);
491 ib_req_notify_cq(ssk->rx_ring.cq, IB_CQ_NEXT_COMP);