diff options
| author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-03-03 02:26:21 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2017-03-03 20:46:53 +0300 |
| commit | d58cebb79b62ff84b537a35423b8d6b7f0746985 (patch) | |
| tree | 3fbcb45a062c129eca16849fb8c396401fd25cbf /drivers/fpga/socfpga.c | |
| parent | 9383b33771e566fa547daa2d09c6e0f1aaa298c3 (diff) | |
| download | linux-d58cebb79b62ff84b537a35423b8d6b7f0746985.tar.xz | |
nfp: correct DMA direction in XDP DMA sync
dma_sync_single_for_*() takes the direction in which the buffer
was mapped, not the direction of the sync. We should sync XDP
buffers bidirectionally.
Fixes: ecd63a0217d5 ("nfp: add XDP support in the driver")
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/fpga/socfpga.c')
0 files changed, 0 insertions, 0 deletions
