bus/fslmc: add flag to configure DCA in QBMAN multi Tx
authorNipun Gupta <nipun.gupta@nxp.com>
Wed, 17 Jan 2018 11:39:13 +0000 (17:09 +0530)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Fri, 19 Jan 2018 15:09:56 +0000 (16:09 +0100)
commit496324d2a595bf87c5b89553c3d120a0f2e62dcd
tree76112ac3fdcfa24e7712b4e3ed588d36b66971ae
parent7b6edb640b735f4a9807b78812c81eacebff5528
bus/fslmc: add flag to configure DCA in QBMAN multi Tx

With the current QBMAN multi-tx API, we need to create separate
enqueue descriptors for each of the packet which is required to
be enqueued to the hardware, once we support Atomic Queues
(with DCA) in dpaa2 drivers. Creating enqueue descriptor for
each packet is costly and have significant performance impact.
This patch introduces a flag parameter in the QBMAN multi-tx API,
so that DCA configuration (and later on ORP/ODP for ordered queues)
can be passed using flags and be updated in the EQCR using this flag.

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h
drivers/bus/fslmc/qbman/qbman_portal.c
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c
drivers/net/dpaa2/dpaa2_rxtx.c