]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: fix ring assignment issues for SR-IOV and drop cases
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 14 May 2011 01:16:02 +0000 (01:16 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 24 Jun 2011 05:46:37 +0000 (22:46 -0700)
commit5f689edbbe2565d4fa33b92c86e413d3a465f6b8
treee6bb9cd4125067201c9ec57961ebbeecf7d912dc
parent58f95790cfd32fe8e616b618c3674cd68ecb486d
ixgbe: fix ring assignment issues for SR-IOV and drop cases

This change fixes the fact that we would trigger a null pointer dereference
or specify the wrong ring if the rings were restored.  This change makes
certain that the DROP queue is a static value, and all other rings are
based on the ring offsets for the PF.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_ethtool.c
drivers/net/ixgbe/ixgbe_main.c