ixgbe: fix TX ring enable issues seen when VMDQ is enabled
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 7 Sep 2010 21:34:29 +0000 (21:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Sep 2010 21:46:26 +0000 (14:46 -0700)
commit933d41f1f2b6d5e7bcc0782ad0eeaac983a79592
treef0806ddab3caed3540877d969cabfa691220ff90
parenta1c3ed4c9ca01dded8d511a1d1daf271fbae8d89
ixgbe: fix TX ring enable issues seen when VMDQ is enabled

The ordering of operations was messed up in the init and as a result when
VMDQ was enabled we were trying to enable TX rings before setting the VFTE
bits. This resulted in a ring that appeared to fail to enable when in fact
it was blocked because the VFTE bits were cleared after the reset.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c