diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-02-26 23:19:32 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-01 14:36:01 -0500 |
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 <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions