aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-02-26 23:19:32 -0500
committerDavid S. Miller <davem@davemloft.net>2019-03-01 14:36:01 -0500
commit345415138d15a42460edb42423c67644ec8bb4a1 (patch)
tree01bc95930ecb793a8c6133e368b7e411d4fee6d1 /net/switchdev/switchdev.c
parent66487abe2f02fb7d7fa72c6002eacb13c54c5b6c (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