Searched refs:DESC_NUM (Results 1 – 1 of 1) sorted by relevance
239 #define DESC_NUM 256 macro614 if (idx == DESC_NUM - 1) in netsec_set_rx_de()642 cnt < DESC_NUM) { in netsec_clean_tx_dring()677 dring->tail = (tail + 1) % DESC_NUM; in netsec_clean_tx_dring()752 if (idx >= DESC_NUM) in netsec_rx_fill()793 if (idx == DESC_NUM - 1) in netsec_set_tx_de()809 dring->head = (dring->head + 1) % DESC_NUM; in netsec_set_tx_de()827 filled = tx_ring->head + DESC_NUM - tx_ring->tail; in netsec_xdp_queue_one()829 if (DESC_NUM - filled <= 1) in netsec_xdp_queue_one()973 dring->tail = (dring->tail + 1) % DESC_NUM; in netsec_process_rx()[all …]