Lines Matching defs:num_queues
79 static int ixl_vf_reserve_queues(struct ixl_pf *pf, struct ixl_vf *vf, int num_queues);
176 vf->vsi.num_queues = vf->qtag.num_active;
257 for (i = 0; i < vf->vsi.num_queues; i++) {
270 for (i = 0; i < vf->vsi.num_queues; i++)
339 vf->vsi.num_queues = 0;
537 reply.num_queue_pairs = vf->vsi.num_queues;
543 reply.vsi_res[0].num_queue_pairs = vf->vsi.num_queues;
678 if (info->num_queue_pairs == 0 || info->num_queue_pairs > vf->vsi.num_queues) {
680 vf->vf_num, info->num_queue_pairs, vf->vsi.num_queues);
709 pair->txq.queue_id >= vf->vsi.num_queues) {
858 if (largest_rxq >= vf->vsi.num_queues) {
868 if (largest_txq >= vf->vsi.num_queues) {
915 if (i >= vf->vsi.num_queues) {
940 if (i >= vf->vsi.num_queues) {
994 if (i >= vf->vsi.num_queues) {
1020 if (i >= vf->vsi.num_queues) {
1813 ixl_vf_reserve_queues(struct ixl_pf *pf, struct ixl_vf *vf, int num_queues)
1819 if (num_queues < 1 || num_queues > 16)
1821 num_queues, vf->vf_num);
1822 if (num_queues < 1) {
1824 num_queues = 1;
1825 } else if (num_queues > 16) {
1827 num_queues = 16;
1829 error = ixl_pf_qmgr_alloc_scattered(&pf->qmgr, num_queues, &vf->qtag);
1832 num_queues, vf->vf_num);