Lines Matching full:queues
161 struct netdev_queue_id *queues, in bind_rx_queue() argument
177 __netdev_bind_rx_req_set_queues(req, queues, n_queue_index); in bind_rx_queue()
243 struct netdev_queue_id *queues; in do_server() local
269 /* Configure RSS to divert all traffic from our devmem queues */ in do_server()
279 queues = malloc(sizeof(*queues) * num_queues); in do_server()
282 queues[i]._present.type = 1; in do_server()
283 queues[i]._present.id = 1; in do_server()
284 queues[i].type = NETDEV_QUEUE_TYPE_RX; in do_server()
285 queues[i].id = start_queue + i; in do_server()
288 if (bind_rx_queue(ifindex, buf, queues, num_queues, &ys)) in do_server()
467 struct netdev_queue_id *queues; in run_devmem_tests() local
477 /* Configure RSS to divert all traffic from our devmem queues */ in run_devmem_tests()
481 queues = calloc(num_queues, sizeof(*queues)); in run_devmem_tests()
486 if (!bind_rx_queue(ifindex, buf, queues, num_queues, &ys)) in run_devmem_tests()
487 error(1, 0, "Binding empty queues array should have failed\n"); in run_devmem_tests()
490 queues[i]._present.type = 1; in run_devmem_tests()
491 queues[i]._present.id = 1; in run_devmem_tests()
492 queues[i].type = NETDEV_QUEUE_TYPE_RX; in run_devmem_tests()
493 queues[i].id = start_queue + i; in run_devmem_tests()
499 if (!bind_rx_queue(ifindex, buf, queues, num_queues, &ys)) in run_devmem_tests()
506 queues[i]._present.type = 1; in run_devmem_tests()
507 queues[i]._present.id = 1; in run_devmem_tests()
508 queues[i].type = NETDEV_QUEUE_TYPE_RX; in run_devmem_tests()
509 queues[i].id = start_queue + i; in run_devmem_tests()
512 if (bind_rx_queue(ifindex, buf, queues, num_queues, &ys)) in run_devmem_tests()