ipsec: support multi-segment packets
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Fri, 31 May 2019 00:00:06 +0000 (01:00 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 5 Jul 2019 13:28:14 +0000 (15:28 +0200)
commite95291f01966cbb2b7cd0985cc0edd40eda75a1d
tree36089b5a3f6306496b510716e0efeda1b411516d
parent48903a7967bdfcf6359bd524e3820753e6146c33
ipsec: support multi-segment packets

Add support for packets that consist of multiple segments.
Take into account that trailer bytes (padding, ESP tail, ICV)
can spawn across multiple segments.

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
doc/guides/prog_guide/ipsec_lib.rst
lib/librte_ipsec/Makefile
lib/librte_ipsec/esp_inb.c
lib/librte_ipsec/misc.h