]> git.baikalelectronics.ru Git - kernel.git/commit
soc: fsl: dpio: Add prefetch instruction
authorIoana Ciocoi Radulescu <ruxandra.radulescu@nxp.com>
Fri, 14 Dec 2018 16:04:05 +0000 (16:04 +0000)
committerLi Yang <leoyang.li@nxp.com>
Fri, 11 Jan 2019 21:06:54 +0000 (15:06 -0600)
commit155a7a7e0649ca52fdfd14f04b0d8f4359b4d261
treedcb0aecc6a476ade4441825c84c00ebfc2d804af
parent6a8a68daddb7db71749473b3711357faa7283985
soc: fsl: dpio: Add prefetch instruction

In dpaa2_io_store_next(), if the current dequeue entry is not
the last, prefetch the next one as most likely it will be
requested shortly by the consumer driver.

This brings a ~3% improvement for dpaa2 ethernet driver
IP forwarding with small size frames.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
drivers/soc/fsl/dpio/dpio-service.c