Searched refs:DESC_NUM (Results 1 – 2 of 2) sorted by relevance
240 #define DESC_NUM 256 macro617 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 …]
116 pp_params.pool_size = DESC_NUM;