commit | c0f2276f3601a96b29d4347c5938e9494e8e4e5d | [log] [tgz] |
---|---|---|
author | Emil Tantilov <emil.s.tantilov@intel.com> | Thu Jul 01 13:38:40 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 01 22:45:56 2010 -0700 |
tree | f2e79edf070750d4b4e02bcd8f567ef196775c65 | |
parent | 5fa8517f038d51d571981fb495206cc30ed91b06 [diff] |
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>