From: Ashish Shah Date: Thu, 10 Jul 2014 07:58:15 +0000 (+0000) Subject: i40e: set num_queue_pairs to num configured by VF X-Git-Tag: fixes-against-v3.18-rc2~81^2~204^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f5e33b6970953fc849852414014862fb388f6da;p=pandora-kernel.git i40e: set num_queue_pairs to num configured by VF Change vsi->num_queue_pairs to equal the number that are configured by the VF. This, in turn, limits the number of queues that are enable/disabled. This fixes the mismatched case for when a VF configures fewer queues than is allocated to it by the PF. Change other sections to use alloc_queue_pairs as warranted. Change-ID: I0de1b55c9084e7be6acc818da8569f12128a82c2 Signed-off-by: Ashish Shah Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed