]> 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)
commit9fe8db1dd0921b9593f3473b0447d1f05141ed96
tree1301cda24566d45f8a395399e30fe6c589201975
parent524bdf2ef0c31d7f69a2c9947ca713cc3a763aed
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