The series adds inline protocol support in ipsec-secgw application. First patch introduces changes in lib to enable applications to store and retrieve a 64 bit cookie. This is required for inline protocol processed ingress packets. For inline protocol processed ingress packets, the packet may not have enough information to identify the security parameters with which the packet was processed. In such cases, inline protocol mechanism could set some metadata in the mbuf, which could be used to retrieve the cookie. Cookie will be registered while creating the security session.
Second patch adds the support for inline protocol in ipsec-secgw application. Anoob Joseph (2): lib/security: add support for saving app cookie examples/ipsec-secgw: add support for inline protocol examples/ipsec-secgw/esp.c | 6 +- examples/ipsec-secgw/ipsec-secgw.c | 40 +++++++++- examples/ipsec-secgw/ipsec.c | 123 +++++++++++++++++++++++++----- lib/librte_security/rte_security.c | 26 +++++++ lib/librte_security/rte_security.h | 30 ++++++++ lib/librte_security/rte_security_driver.h | 34 +++++++++ 6 files changed, 237 insertions(+), 22 deletions(-) -- 2.7.4