diff options
| author | Jakub Kicinski <[email protected]> | 2017-04-23 03:17:52 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-04-24 18:35:44 +0000 |
| commit | 5cd4fbeab21b89e08df4590b2020f2e5f60c0d19 (patch) | |
| tree | 491fddcdad6232e9bfe119624760f5fe4776608e /net/tipc/node.c | |
| parent | Merge branch 'cls_flower-MPLS' (diff) | |
| download | kernel-5cd4fbeab21b89e08df4590b2020f2e5f60c0d19.tar.gz kernel-5cd4fbeab21b89e08df4590b2020f2e5f60c0d19.zip | |
nfp: make use of the DMA_ATTR_SKIP_CPU_SYNC attr
DMA unmap may destroy changes CPU made to the buffer. To make XDP
run correctly on non-x86 platforms we should use the
DMA_ATTR_SKIP_CPU_SYNC attribute.
Thanks to using the attribute we can now push the sync operation to the
common code path from XDP handler.
A little bit of variable name reshuffling is required to bring the
code back to readable state.
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
