Searched refs:is_ring_empty (Results 1 – 4 of 4) sorted by relevance
572 static inline int is_ring_empty(struct hns3_enet_ring *ring) in is_ring_empty() function
2332 if (is_ring_empty(ring) || head == ring->next_to_clean) in hns3_clean_tx_ring()
330 static inline int is_ring_empty(struct hnae_ring *ring) in is_ring_empty() function
962 if (is_ring_empty(ring) || head == ring->next_to_clean) in hns_nic_tx_poll_one()