#
0151b807 |
| 21-Nov-2024 |
Stephen Hemminger <stephen@networkplumber.org> |
test/security: fix IPv6 extension loop
The parenthesis were in the wrong place so that comparison took precedence over assignment in handling IPv6 extension headers. Break up the loop condition to
test/security: fix IPv6 extension loop
The parenthesis were in the wrong place so that comparison took precedence over assignment in handling IPv6 extension headers. Break up the loop condition to avoid the problem.
Link: https://pvs-studio.com/en/blog/posts/cpp/1179/ Fixes: 15ccc647526e ("test/security: test inline reassembly with multi-segment") Cc: stable@dpdk.org
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Chengwen Feng <fengchengwen@huawei.com>
show more ...
|
#
19d7fcc5 |
| 01-Feb-2024 |
Rahul Bhansali <rbhansali@marvell.com> |
test/security: add inline IPsec Rx inject
Add test for inline IPsec Rx inject verification. This test case will inject the known vector to crypto HW from ethdev and verifies it back with decrypted p
test/security: add inline IPsec Rx inject
Add test for inline IPsec Rx inject verification. This test case will inject the known vector to crypto HW from ethdev and verifies it back with decrypted packet from ethdev Rx.
Signed-off-by: Rahul Bhansali <rbhansali@marvell.com>
show more ...
|
#
c61b7313 |
| 18-Aug-2023 |
Rahul Bhansali <rbhansali@marvell.com> |
test/security: fix IPv6 next header field
In case of IPv6 fragments are reassembled, then fragment header will be removed from packet and next-header field in IPv6 header will be updated to header f
test/security: fix IPv6 next header field
In case of IPv6 fragments are reassembled, then fragment header will be removed from packet and next-header field in IPv6 header will be updated to header followed by fragment header.
Fixes: a310577766d6 ("test/security: add inline IPsec reassembly cases") Cc: stable@dpdk.org
Signed-off-by: Rahul Bhansali <rbhansali@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
15ccc647 |
| 05-Jun-2023 |
Nithin Dabilpuram <ndabilpuram@marvell.com> |
test/security: test inline reassembly with multi-segment
Support testing inline reassembly with multi seg in inline ipsec multi seg test command.
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marve
test/security: test inline reassembly with multi-segment
Support testing inline reassembly with multi seg in inline ipsec multi seg test command.
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
34e8a9d9 |
| 26-Sep-2022 |
Vamsi Attunuru <vattunuru@marvell.com> |
test/security: add inline IPsec SA soft expiry cases
Patch adds unit tests for packet & byte soft expiry events.
Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com> Acked-by: Akhil Goyal <gakhil@
test/security: add inline IPsec SA soft expiry cases
Patch adds unit tests for packet & byte soft expiry events.
Signed-off-by: Vamsi Attunuru <vattunuru@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
a3105777 |
| 24-May-2022 |
Akhil Goyal <gakhil@marvell.com> |
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 in
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>
show more ...
|
#
86e2487c |
| 24-May-2022 |
Akhil Goyal <gakhil@marvell.com> |
test/security: add cases for inline IPsec offload
A new test suite is added in test app to test inline IPsec protocol offload. In this patch, predefined vectors from Lookaside IPsec test are used to
test/security: add cases for inline IPsec offload
A new test suite is added in test app to test inline IPsec protocol offload. In this patch, predefined vectors from Lookaside IPsec test are used to verify the IPsec functionality without the need of external traffic generators. The sent packet is loopbacked onto the same interface which is received and matched with the expected output. The test suite can be updated further with other functional test cases. In this patch encap only cases are added. The testsuite can be run using: RTE> inline_ipsec_autotest
Signed-off-by: Akhil Goyal <gakhil@marvell.com> Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com> Acked-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Anoob Joseph <anoobj@marvell.com>
show more ...
|