staging: fsl-dpaa2/eth: Map Tx buffers as bidirectional
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Wed, 24 May 2017 12:13:28 +0000 (07:13 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 May 2017 14:57:20 +0000 (16:57 +0200)
commit1e5fa9e2607181ba198ffa3f0efe4ad067fda5b4
tree2348b18fe9ffa31b9f1b529769bbf5e9479f2d36
parent08eb23974e994a34776e7a83227509d4e4296aa5
staging: fsl-dpaa2/eth: Map Tx buffers as bidirectional

WRIOP hardware may need to write to the hardware annotation
area of Tx buffers (e.g. frame status bits) and also to
the data area (e.g. L4 checksum in frame header).

Map these buffers as DMA_BIDIRECTIONAL, otherwise the
write transaction through SMMU will not be allowed.

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c