]> 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)
commit1102bbe49f5aaa64b7091bf2a43283ab1ab06fa8
tree73839f52cd062e405c91426aa7cb1b627095689f
parentd44e9c6aa889d8b1706f79da937f52f4a692fd73
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