queue_get_desc
while (queue_get_desc(RXFREE_QUEUE(port->id), port, 0) >= 0)
while (queue_get_desc(port->plat->rxq, port, 0) >= 0)
int n = queue_get_desc(port->plat->txreadyq, port, 1);
while (queue_get_desc(TX_QUEUE(port->id), port, 1) >= 0)
while (queue_get_desc(port->plat->txreadyq, port, 1) >= 0)
if ((n = queue_get_desc(rxq, port, 0)) < 0) {
n = queue_get_desc(txreadyq, port, 1);
while (queue_get_desc(port->rxfreeq, port, 0) >= 0)
while (queue_get_desc(port->rxq, port, 0) >= 0)
while (queue_get_desc(port->txq, port, 1) >= 0)
while (queue_get_desc(port->txreadyq, port, 1) >= 0)
n = queue_get_desc(rxq, port, 0);
while ((n_desc = queue_get_desc(port->txdoneq,
n = queue_get_desc(txreadyq, port, 1);