]> git.droids-corp.org - dpdk.git/commit
test/security: add inline IPsec reassembly cases
authorAkhil Goyal <gakhil@marvell.com>
Tue, 24 May 2022 07:22:13 +0000 (12:52 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Wed, 1 Jun 2022 14:26:34 +0000 (16:26 +0200)
commita310577766d6263a08a1fa2d6a608ffe03c87dfe
tree70fd8dbfc4158acb228da6eeb9962273d621f9a0
parent78dc764e54f58c2bdf841107aa3e76eb4710323e
test/security: add inline IPsec reassembly cases

Added unit test cases for IP reassembly of inline IPsec
inbound scenarios.
In these cases, known test vectors of fragments are first
processed for inline outbound processing and then received
back on loopback interface for inbound processing along with
IP reassembly of the corresponding decrypted packets.
The resultant plain text reassembled packet is compared with
original unfragmented packet.

In this patch, cases are added for 2/4/5 fragments for both
IPv4 and IPv6 packets. A few negative test cases are also added
like incomplete fragments, out of place fragments, duplicate
fragments.

Signed-off-by: Akhil Goyal <gakhil@marvell.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
app/test/test_security_inline_proto.c
app/test/test_security_inline_proto_vectors.h