security: extend userdata for IPsec events
authorAnoob Joseph <anoob.joseph@caviumnetworks.com>
Wed, 11 Apr 2018 06:40:44 +0000 (12:10 +0530)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 23 Apr 2018 17:20:10 +0000 (18:20 +0100)
commit2f533cb325a7d329a81a0492c70134e2c39b0672
tree521e1f1cb3779c03196660150d04c9bce8b4d9ad
parent807b94b851c03db795d2a602e5b4222279806c7e
security: extend userdata for IPsec events

Extending 'userdata' to be used for IPsec events too.

IPsec events would have some metadata which would uniquely identify the
security session for which the event is raised. But application would
need some construct which it can understand. The 'userdata' solves a
similar problem for inline processed inbound traffic. Updating the
documentation to extend the usage of 'userdata'.

Signed-off-by: Anoob Joseph <anoob.joseph@caviumnetworks.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
lib/librte_security/rte_security.h
lib/librte_security/rte_security_driver.h