e100: Use dma_rmb/wmb where appropriate
authorAlexander Duyck <[email protected]>
Thu, 9 Apr 2015 01:49:49 +0000 (18:49 -0700)
committerDavid S. Miller <[email protected]>
Thu, 9 Apr 2015 18:25:26 +0000 (14:25 -0400)
commitc335869fb934ebcccab69315f1cbe7b34f6d9414
tree111dcad834a71036ab1b7aca9d3f91a20197f8df
parent67317166dd6e8e78f20768e9f07fcc80846b207b
e100: Use dma_rmb/wmb where appropriate

Reduce the CPU overhead for transmit and receive by using lightweight dma_
barriers instead of full barriers where they are applicable.

Cc: Jeff Kirsher <[email protected]>
Signed-off-by: Alexander Duyck <[email protected]>
Acked-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/intel/e100.c