rswitch_gwca_queue_alloc_rx_buf
if (rswitch_gwca_queue_alloc_rx_buf(gq, 0, gq->ring_size) < 0)
ret = rswitch_gwca_queue_alloc_rx_buf(gq, gq->dirty, num);