event/dpaa2: add retry break in packet enqueue
authorNipun Gupta <nipun.gupta@nxp.com>
Mon, 30 Sep 2019 08:32:13 +0000 (14:02 +0530)
committerJerin Jacob <jerinj@marvell.com>
Sat, 5 Oct 2019 13:39:31 +0000 (15:39 +0200)
commit68bc970461a14fa2fe53c3c299ac7f243c4f2fed
tree323a976552a5a5a607e6ae1c6f61603f3925b04f
parentfebcd5a5b358fcbef93ee0a693260c1719f162d5
event/dpaa2: add retry break in packet enqueue

The patch adds the break in the TX function, if it is failing
to send the packets out. Previously the system was trying
infinitely to send packet out.

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
drivers/event/dpaa2/dpaa2_eventdev.c