Lines Matching refs:queue_depth
250 int queue_depth;
258 qi->queue_depth -= advance;
264 if (qi->queue_depth == 0) {
268 queue_depth = qi->queue_depth;
270 return queue_depth;
280 int queue_depth;
286 qi->queue_depth += advance;
287 queue_depth = qi->queue_depth;
289 return queue_depth;
336 int queue_depth;
343 queue_depth = qi->queue_depth;
349 if (queue_depth < qi->max_depth) {
363 queue_depth = vector_advancetail(qi, 1);
367 return queue_depth;
376 return queue_depth;
411 int result = 0, send_len, queue_depth = qi->max_depth;
415 /* update queue_depth to current value */
416 queue_depth = qi->queue_depth;
418 while (queue_depth > 0) {
420 send_len = queue_depth;
450 queue_depth =
473 return queue_depth;
592 result->queue_depth = 0;
680 if (qi->queue_depth == 0)
682 for (i = 0; i < qi->queue_depth; i++) {
692 qi->queue_depth = 0;
986 * The queue_depth tells us how many buffers have been used and how
990 qi->queue_depth = packet_count;
1051 int queue_depth = 0;
1070 queue_depth = vector_enqueue(vp->tx_queue, skb);
1072 if (queue_depth < vp->tx_queue->max_depth && netdev_xmit_more()) {
1076 queue_depth = vector_send(vp->tx_queue);
1077 if (queue_depth > 0)
1237 vp->rx_queue->queue_depth = get_depth(vp->parsed);