igb: Replace rmb in Tx cleanup with read_barrier_depends
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 8 Jan 2013 07:01:03 +0000 (07:01 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 19 Jan 2013 12:58:30 +0000 (04:58 -0800)
commit70d289bcef24eca45dadf2f10fe79a936589216e
tree8db20235dfffa5d29428eec58c3e0070186af5fa
parent088245a3584d13f94ff0b4c1610dae7d897b28f9
igb: Replace rmb in Tx cleanup with read_barrier_depends

The rmb in the Tx cleanup path is a much stronger barrier than we really need.
All that is really needed is a read_barrier_depends since the location of the
EOP descriptor is dependent on the eop_desc value.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c