]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: DCB and SR-IOV can not co-exist and will cause hangs
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 4 Jul 2012 02:00:25 +0000 (02:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Jul 2012 07:10:06 +0000 (00:10 -0700)
commit2b61605e6069df35de27da8e04c72ca179a2984d
tree1301cda24566d45f8a395399e30fe6c589201975
parent98eb5d10f4bda58c30e99c7b81a597447b5a6c55
ixgbe: DCB and SR-IOV can not co-exist and will cause hangs

DCB and SR-IOV cannot currently be enabled at the same time as the queueing
schemes are incompatible.  If they are both enabled it will result in Tx
hangs since only the first Tx queue will be able to transmit any traffic.

This simple fix for this is to block us from enabling TCs in ixgbe_setup_tc
if SR-IOV is enabled.  This change will be reverted once we can support
SR-IOV and DCB coexistence.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c