plugins: odp: Add new nodes using ODP IPsec API 61/10161/4
authorSzymon Sliwa <[email protected]>
Fri, 5 Jan 2018 15:26:31 +0000 (16:26 +0100)
committerSzymon Sliwa <[email protected]>
Mon, 19 Feb 2018 16:47:48 +0000 (17:47 +0100)
commit3a6b2d99d969bbb90792e1d09e97aa1be40d10df
treec4738c6a4c85c8515a3675e51583cafa3cb591cc
parent808c3e6e7b1c764bd77b12d4bc5ffc68707971a9
plugins: odp: Add new nodes using ODP IPsec API

Created two new nodes for encryption/decryption,
based on user preferences we can use them to accellerate
IPsec by offloading it to hardware or optimized software
implementations

To use the new nodes two flags are needed in the odp
section of the startup.conf file, like this:

To use the new nodes put the enable-odp-ipsec flag to
startup.conf file, like this:

odp {
enable-odp-ipsec
}

Change-Id: Ib4bbc481efad7e90d63994580b57849b74400947
Signed-off-by: Szymon Sliwa <[email protected]>
src/plugins/odp.am
src/plugins/odp/ipsec/esp_decrypt_ipsec_api.c [new file with mode: 0644]
src/plugins/odp/ipsec/esp_encrypt_ipsec_api.c [new file with mode: 0644]
src/plugins/odp/ipsec/ipsec.c
src/plugins/odp/ipsec/ipsec.h
src/plugins/odp/odp_packet.c
src/vpp/conf/startup.conf