net/dpaa2: avoid multiple IOVA conversions
authorRoman Kapl <rka@sysgo.com>
Mon, 29 Jun 2020 11:17:58 +0000 (13:17 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:53 +0000 (06:18 +0200)
commitbff6a98f74786b3ed7704793127aed4b50df4583
treee9376a556ba43e1b9c97a2237128427edce9c215
parent7cef1de9209d2d65330d24c4540cd75e7a612d51
net/dpaa2: avoid multiple IOVA conversions

Avoids recalculation of DPAA2_IOVA_TO_VADDR, since this is somewhat
costly function on no-IOMMU setups.

Brings about 0.5 Gbps improvement at 19 Gbps speeds on LX2160 with 512b
packets.

Signed-off-by: Roman Kapl <rka@sysgo.com>
Reviewed-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/net/dpaa2/dpaa2_rxtx.c