commit | 345415138d15a42460edb42423c67644ec8bb4a1 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Tue Feb 26 20:19:32 2019 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 01 11:36:01 2019 -0800 |
tree | 01bc95930ecb793a8c6133e368b7e411d4fee6d1 | |
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>