From: Shannon Nelson Date: Wed, 20 Nov 2013 10:02:57 +0000 (+0000) Subject: i40e: only set up the rings to be used X-Git-Tag: v3.14-rc1~94^2~568^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac6c5e3d0e9e784ef8b015085c83dee0253324b0;p=pandora-kernel.git i40e: only set up the rings to be used The VSI may be allocated more queues (alloc_queue_pairs) than actually are to be used (num_queue_pairs), so only allocate rings for the queues to be used. The numbers will likely be the same for most VSIs, but can be different based on how TCs are assigned and enabled. Change-Id: Ie40f7ad0affbc4b45d6f049bcf02ee2fa24edc74 Signed-off-by: Shannon Nelson Signed-off-by: Jesse Brandeburg Tested-by: Kavindya Deegala Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed