Home
last modified time | relevance | path

Searched refs:DESC_NUM (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/socionext/
H A Dnetsec.c240 #define DESC_NUM 256 macro
617 if (idx == DESC_NUM - 1) in netsec_set_rx_de()
645 cnt < DESC_NUM) { in netsec_clean_tx_dring()
681 dring->tail = (tail + 1) % DESC_NUM; in netsec_clean_tx_dring()
753 if (idx >= DESC_NUM) in netsec_rx_fill()
794 if (idx == DESC_NUM - 1) in netsec_set_tx_de()
810 dring->head = (dring->head + 1) % DESC_NUM; in netsec_set_tx_de()
828 filled = tx_ring->head + DESC_NUM - tx_ring->tail; in netsec_xdp_queue_one()
830 if (DESC_NUM - filled <= 1) in netsec_xdp_queue_one()
989 dring->tail = (dring->tail + 1) % DESC_NUM; in netsec_process_rx()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/socionext/
H A Dnetsec.c240 #define DESC_NUM 256 macro
621 if (idx == DESC_NUM - 1) in netsec_set_rx_de()
653 cnt < DESC_NUM) { in netsec_clean_tx_dring()
692 dring->tail = (tail + 1) % DESC_NUM; in netsec_clean_tx_dring()
767 if (idx >= DESC_NUM) in netsec_rx_fill()
808 if (idx == DESC_NUM - 1) in netsec_set_tx_de()
824 dring->head = (dring->head + 1) % DESC_NUM; in netsec_set_tx_de()
842 filled = tx_ring->head + DESC_NUM - tx_ring->tail; in netsec_xdp_queue_one()
844 if (DESC_NUM - filled <= 1) in netsec_xdp_queue_one()
1001 dring->tail = (dring->tail + 1) % DESC_NUM; in netsec_process_rx()
[all...]

Completed in 6 milliseconds