From: Alexander Duyck Date: Sat, 5 May 2012 05:32:21 +0000 (+0000) Subject: ixgbe: Use VMDq offset to indicate the default pool X-Git-Tag: v3.6-rc1~125^2~47^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d9c0bfd0f0470c8fb0033999f623d4eec7b1a2c;p=pandora-kernel.git ixgbe: Use VMDq offset to indicate the default pool This change makes it so that we can use the VMDq ring feature offset value to determine the default pool instead of using num_vfs. The reason for this change is to avoid issues should we fail to allocate vfinfo but have pre-existing VFs. What should happen in this case is that num_vfs will go to 0, but the VMDq offset will contain the location of the first PF pool. Signed-off-by: Alexander Duyck Tested-by: Phil Schmitt Tested-by: Sibai Li Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed