]> www.infradead.org Git - users/jedix/linux-maple.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)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 12 Oct 2015 16:05:03 +0000 (09:05 -0700)
commit41314a416e0d3296d089dd16bc4fba4cada5e579
tree5ed721c827df5a49655cc47cffbf371ace463f10
parent97f383f2c07c4f94d3a08928bd34b79f3dcc374e
ixgbe: Correct several flaws with with DCA setup

Orabug: 21918732

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>
(cherry picked from commit 9de7605ea2389d5ab86d6fbb3f1a11b87665a35c)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c