summaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb_ethtool.c
diff options
context:
space:
mode:
authorEmil Tantilov <emil.s.tantilov@intel.com>2010-07-01 15:38:40 +0200
committerDavid S. Miller <davem@davemloft.net>2010-07-02 07:45:56 +0200
commitc0f2276f3601a96b29d4347c5938e9494e8e4e5d (patch)
treef2e79edf070750d4b4e02bcd8f567ef196775c65 /drivers/net/igb/igb_ethtool.c
parentigb: Use only a single Tx queue in SR-IOV mode (diff)
downloadlinux-c0f2276f3601a96b29d4347c5938e9494e8e4e5d.tar.xz
linux-c0f2276f3601a96b29d4347c5938e9494e8e4e5d.zip
igb: Fix Tx hangs seen when loading igb with max_vfs > 7.
Check the value of max_vfs at the time of assignment of vfs_allocated_count. The previous check in igb_probe_vfs was too late as by that time the rx/tx rings were initialized with the wrong offset. Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com> Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb_ethtool.c')
0 files changed, 0 insertions, 0 deletions