net/dpaa2: add optional non-prefetch Rx mode
authorNipun Gupta <nipun.gupta@nxp.com>
Thu, 29 Aug 2019 10:27:22 +0000 (15:57 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 8 Oct 2019 10:14:31 +0000 (12:14 +0200)
commit20191ab3eabdd684fb63f705f5977e3c972486a0
tree0eb1a9254afde5e7370d1401bd3fb431e1825128
parent1dac0f3ef37a16f38f67b57d2e7c4a3830d8632b
net/dpaa2: add optional non-prefetch Rx mode

When we need particular number of packets from the rx routine,
which would change in every call, we cannot prefetch the packets
and provide previous results to the user.

User can select the mode by using devargs for non prefetch mode.

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
doc/guides/nics/dpaa2.rst
drivers/net/dpaa2/dpaa2_ethdev.c
drivers/net/dpaa2/dpaa2_ethdev.h
drivers/net/dpaa2/dpaa2_rxtx.c