From: Alexander Duyck Date: Fri, 20 Jul 2012 08:09:06 +0000 (+0000) Subject: ixgbe: Fix VF rate limiting to correctly account for more queues per VF X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~47^2~164^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f66d3eec4e5b32f299b6c7bf21dd54df1496f0b;p=pandora-kernel.git ixgbe: Fix VF rate limiting to correctly account for more queues per VF This change fixes the assumptions of the rate limiting code that previously assumed that each VF would only ever have 2 queues. This update makes it so that we now use a queues per pool value that is determined based on the VMDq feature mask. Signed-off-by: Alexander Duyck Acked-By: John Fastabend Tested-by: Phil Schmitt Tested-by: Robert Garrett Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed