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