event/octeontx2: configure aura backpressure
authorPavan Nikhilesh <pbhagavatula@marvell.com>
Mon, 14 Jun 2021 19:24:25 +0000 (00:54 +0530)
committerJerin Jacob <jerinj@marvell.com>
Wed, 30 Jun 2021 16:43:05 +0000 (18:43 +0200)
commitf092fb0540116ccd0185765a31ec2a29a6634a1e
treee17d4d9b3024ebd6a782a6eb87d94006bdd1870c
parent43d89404950bb4d8e0efbcaebf734a0a722c2dbb
event/octeontx2: configure aura backpressure

In poll mode driver of octeontx2 the RQ is connected to a CQ and it is
responsible for asserting backpressure to the CGX channel.
When event eth Rx adapter is configured, the RQ is connected to a event
queue, to enable backpressure we need to configure AURA assigned to a
given RQ to backpressure CGX channel.
Event device expects unique AURA to be configured per ethernet device.
If multiple RQ from different ethernet devices use the same AURA,
the backpressure will be disabled, application can override this
using devargs:

-a 0002:0e:00.0,force_rx_bp=1

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
doc/guides/eventdevs/octeontx2.rst
drivers/event/octeontx2/otx2_evdev.c
drivers/event/octeontx2/otx2_evdev.h
drivers/event/octeontx2/otx2_evdev_adptr.c