diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2017-01-30 21:29:35 +0100 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-03-15 10:00:14 +0100 |
commit | 59605bc09630c2b577858c371edf89c099b5f925 (patch) | |
tree | e9c567ed31bfb17ab1f5811e227792646cb0f841 /lib/parman.c | |
parent | i40e: Clarify steps in MAC/VLAN filters initialization routine (diff) | |
download | linux-59605bc09630c2b577858c371edf89c099b5f925.tar.xz linux-59605bc09630c2b577858c371edf89c099b5f925.zip |
i40e/i40evf: Add support for mapping pages with DMA attributes
This patch adds support for DMA_ATTR_SKIP_CPU_SYNC and
DMA_ATTR_WEAK_ORDERING. By enabling both of these for the Rx path we
are able to see performance improvements on architectures that implement
either one due to the fact that page mapping and unmapping only has to
sync what is actually being used instead of the entire buffer. In addition
by enabling the weak ordering attribute enables a performance improvement
for architectures that can associate a memory ordering with a DMA buffer
such as Sparc.
Change-ID: If176824e8231c5b24b8a5d55b339a6026738fc75
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'lib/parman.c')
0 files changed, 0 insertions, 0 deletions