e1000, e1000e: Use dma_rmb instead of rmb for descriptor read ordering
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Tue, 7 Apr 2015 23:55:27 +0000 (16:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Apr 2015 16:15:14 +0000 (12:15 -0400)
commit837a1dba0078d0bad755f6cb13a48c1623d11ff5
treee49f879b6fa316806202bb1f43c9dce4e3cbe535
parent03cc864a2571af278fc83d24b6a78d8424f92736
e1000, e1000e: Use dma_rmb instead of rmb for descriptor read ordering

This change replaces calls to rmb with dma_rmb in the case where we want to
order all follow-on descriptor reads after the check for the descriptor
status bit.

Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/e1000/e1000_main.c
drivers/net/ethernet/intel/e1000e/netdev.c