net/dpaa2: support parallel Rx
authorHemant Agrawal <hemant.agrawal@nxp.com>
Fri, 26 May 2017 06:51:11 +0000 (12:21 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 12 Jun 2017 09:41:26 +0000 (10:41 +0100)
commit5c6942fdb9270b26d353fff9c99fe9a0ad46229b
tree48a139071cd5d7028b49a48b526a531398c7fd0f
parent312b82f275111c6403ce8092ff39e4b1d09d3757
net/dpaa2: support parallel Rx

Typically when the PMD issues a Rx command to DPAA2 hardware,
the HW writes the available descriptors into the given memory.
The RX function then processes the frames and prepare them as
mbufs.

This patch adds support to issue another pull request to hardware
in another memory location, before we start processing the output
of the first request. This help in controlling the CPU cycles
wasted during the wait for the hardware to write the descriptors.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/net/dpaa2/dpaa2_ethdev.c
drivers/net/dpaa2/dpaa2_ethdev.h
drivers/net/dpaa2/dpaa2_rxtx.c