[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150407235324.1574.63255.stgit@ahduyck-vm-fedora22>
Date: Tue, 07 Apr 2015 16:55:08 -0700
From: Alexander Duyck <alexander.h.duyck@...hat.com>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net
Subject: [net-next PATCH 0/3] Replace wmb()/rmb() with dma_wmb()/dma_rmb()
where appropriate
This is a start of a side project cleaning up the drivers that can make use
of the dma_wmb and dma_rmb calls. The general idea is to start removing
the unnecessary wmb/rmb calls from a number of drivers and to make use of
the lighter weight dma_wmb/dma_rmb calls as this should allow for an
overall improvement in performance as each barrier can cost a significant
number of cycles and on architectures such as x86 this is unnecessary.
These changes are what I would consider low hanging fruit. The likelihood
of the changes introducing an error should be low since the use of the
barriers in these cases are fairly obvious.
---
Alexander Duyck (3):
sungem, sunhme, sunvnet: Update drivers to use dma_wmb/rmb
s2io: Update driver to use dma_wmb
e1000, e1000e: Use dma_rmb instead of rmb for descriptor read ordering
drivers/net/ethernet/intel/e1000/e1000_main.c | 6 +++---
drivers/net/ethernet/intel/e1000e/netdev.c | 8 ++++----
drivers/net/ethernet/neterion/s2io.c | 8 ++++----
drivers/net/ethernet/sun/sungem.c | 14 +++++++-------
drivers/net/ethernet/sun/sunhme.c | 16 ++++++++--------
drivers/net/ethernet/sun/sunvnet.c | 6 +++---
6 files changed, 29 insertions(+), 29 deletions(-)
--
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists