]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Correct several flaws with with DCA setup
authorMark Rustad <mark.d.rustad@intel.com>
Sat, 8 Aug 2015 23:27:41 +0000 (16:27 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 24 Sep 2015 06:00:03 +0000 (23:00 -0700)
commit36950c06e120985b013778aa7bdcff0a38919f41
tree73839f52cd062e405c91426aa7cb1b627095689f
parentac13f1d1951c57ee3aa20c4d3da0c8a84e46b9ae
ixgbe: Correct several flaws with with DCA setup

This change does two things. First, it makes it so that we always
set the relaxed ordering bits related to the DCA registers even if
DCA is not enabled. Second, it moves the configuration out of the
ixgbe_down function and into the ixgbe_configure function before
enabling the Rx and Tx rings. This ensures that DCA is configured
correctly before starting to process packets.

Thanks to Alex Duyck for this fix.

CC: Alex Duyck <aduyck@mirantis.com>
Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c