diff options
author | Jakub Kicinski <[email protected]> | 2019-02-26 20:19:32 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-03-01 11:36:01 -0800 |
commit | 345415138d15a42460edb42423c67644ec8bb4a1 (patch) | |
tree | 01bc95930ecb793a8c6133e368b7e411d4fee6d1 /net/switchdev/switchdev.c | |
parent | 66487abe2f02fb7d7fa72c6002eacb13c54c5b6c (diff) |
nfp: nsp: allow the use of DMA buffer
Newer versions of NSP can access host memory. Simplest access
type requires all data to be in one contiguous area. Since we
don't have the guarantee on where callers of the NSP ABI will
allocate their buffers we allocate a bounce buffer and copy
the data in and out.
Signed-off-by: Jakub Kicinski <[email protected]>
Reviewed-by: Dirk van der Merwe <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions