]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Remove tail write abstraction and add missing barrier
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Fri, 14 Nov 2014 00:56:35 +0000 (00:56 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 5 Dec 2014 17:13:05 +0000 (09:13 -0800)
commit88e68381d343b4d1164b40548c9c423e4e57abcf
tree0e3730d2b344cef47865013209eb9b3ba5f04bb7
parentace221b1346cce40bdd64e1b500e1f49f318f5c5
ixgbe: Remove tail write abstraction and add missing barrier

This change cleans up the tail writes for the ixgbe descriptor queues.  The
current implementation had me confused as I wasn't sure if it was still
making use of the surprise remove logic or not.

It also adds the mmiowb which is needed on ia64, mips, and a couple other
architectures in order to synchronize the MMIO writes with the Tx queue
_xmit_lock spinlock.

Cc: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c