MCPcopy Create free account
hub / github.com/F-Stack/f-stack / tx_queue_id_is_invalid

Function tx_queue_id_is_invalid

dpdk/app/test-pmd/config.c:4064–4072  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4062}
4063
4064int
4065tx_queue_id_is_invalid(queueid_t txq_id)
4066{
4067 if (txq_id < nb_txq)
4068 return 0;
4069 fprintf(stderr, "Invalid TX queue %d (must be < nb_txq=%d)\n",
4070 txq_id, nb_txq);
4071 return 1;
4072}
4073
4074static int
4075get_rx_ring_size(portid_t port_id, queueid_t rxq_id, uint16_t *ring_size)

Calls

no outgoing calls

Tested by

no test coverage detected