examples/ipsec-secgw: support internal ports for events
authorLukasz Bartosik <lbartosik@marvell.com>
Thu, 27 Feb 2020 16:18:30 +0000 (17:18 +0100)
committerAkhil Goyal <akhil.goyal@oss.nxp.com>
Sun, 5 Apr 2020 15:53:47 +0000 (17:53 +0200)
commitec3cc53f5a66e1d3501ffc1afe53c59fe310c7f4
tree76553e85f853c8e55c6e84681cf7d6adf7db9ac0
parent1bf6baac4ae06cb9a5914f8fab0e103a2436cd3d
examples/ipsec-secgw: support internal ports for events

Add support for Rx and Tx internal ports. When internal ports are
available then a packet can be received from eth port and forwarded
to event queue by HW without any software intervention. The same
applies to Tx side where a packet sent to an event queue can by
forwarded by HW to eth port without any software intervention.

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