[dpdk-dev] [PATCH v2] test/bpf: add new test cases

Ananyev, Konstantin konstantin.ananyev at intel.com
Thu Oct 17 13:23:05 CEST 2019


> This patch implements following new test cases:
> - test_call4: test case to verify if stack corruption occurs
> across with multiple function calls.
> - test_jump2: test case with a default packet in memory, parse
> the packet and check if dest ip is part of a subnet.
> - test_call5: test case with string data in the stack and
> calling string comaprision.
> 
> Signed-off-by: Harman Kalra <hkalra at marvell.com>
> ---
> V2 Changes:
> * Maintaining uniformity across the code by using cmp_res rather than
> individual if statements.
> 
>  app/test/test_bpf.c | 619 ++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 619 insertions(+)
> --

Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

> 2.18.0



More information about the dev mailing list