Home
last modified time | relevance | path

Searched refs:ring_dist (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/hisilicon/hns/
Dhnae.h316 static inline int ring_dist(struct hnae_ring *ring, int begin, int end) in ring_dist() function
327 ring_dist(ring, ring->next_to_clean, ring->next_to_use) - 1; in ring_space()
Dhns_enet.c1645 fetch_num = ring_dist(ring, head, tail); in hns_nic_clear_all_rx_fetch()