examples/ipsec-secgw: support event Rx adapter
authorAnoob Joseph <anoobj@marvell.com>
Thu, 27 Feb 2020 16:18:26 +0000 (17:18 +0100)
committerAkhil Goyal <akhil.goyal@oss.nxp.com>
Sun, 5 Apr 2020 15:53:13 +0000 (17:53 +0200)
commit02afed59258d159c3fa653f91a3faa4905c68702
tree25ecc8fd7401fe9dfd2c4e9bd0f2caad64eb5bf2
parentd7bcfb9707fac1f67a1dda0d6cd35f829fc89d1a
examples/ipsec-secgw: support event Rx adapter

Add Rx adapter support. The event helper init routine will initialize
the Rx adapter according to the configuration. If Rx adapter config
is not present it will generate a default config. If there are enough
event queues available it will map eth ports and event queues 1:1
(one eth port will be connected to one event queue). Otherwise it
will map all eth ports to one event queue.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
examples/ipsec-secgw/event_helper.c
examples/ipsec-secgw/event_helper.h