Lines Matching defs:num_queues
80 static int ixl_vf_reserve_queues(struct ixl_pf *pf, struct ixl_vf *vf, int num_queues);
177 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;
589 reply.num_queue_pairs = vf->vsi.num_queues;
595 reply.vsi_res[0].num_queue_pairs = vf->vsi.num_queues;
730 if (info->num_queue_pairs == 0 || info->num_queue_pairs > vf->vsi.num_queues) {
732 vf->vf_num, info->num_queue_pairs, vf->vsi.num_queues);
761 pair->txq.queue_id >= vf->vsi.num_queues) {
910 if (largest_rxq >= vf->vsi.num_queues) {
920 if (largest_txq >= vf->vsi.num_queues) {
967 if (i >= vf->vsi.num_queues) {
992 if (i >= vf->vsi.num_queues) {
1046 if (i >= vf->vsi.num_queues) {
1072 if (i >= vf->vsi.num_queues) {
1833 ixl_vf_reserve_queues(struct ixl_pf *pf, struct ixl_vf *vf, int num_queues)
1839 if (num_queues < 1 || num_queues > 16)
1841 num_queues, vf->vf_num);
1842 if (num_queues < 1) {
1844 num_queues = 1;
1845 } else if (num_queues > 16) {
1847 num_queues = 16;
1849 error = ixl_pf_qmgr_alloc_scattered(&pf->qmgr, num_queues, &vf->qtag);
1852 num_queues, vf->vf_num);