Thanks a lot Cristian for sending the patches for review. Thanks & Regards, Suresh.
-----Original Message----- From: Dumitrescu, Cristian <[email protected]> Sent: Friday, October 16, 2020 7:28 PM To: [email protected] Cc: P, Venkata Suresh Kumar <[email protected]>; Khangar, Churchill <[email protected]>; Dumitrescu, Cristian <[email protected]> Subject: [PATCH 2/2] pipeline: fix jump instruction parsing From: Churchill Khangar <[email protected]> This patch fixes the jump if not valid header instruction parsing Fixes: b3947e25bed4 ("pipeline: introduce SWX jump and return instructions") Cc: [email protected] Signed-off-by: Churchill Khangar <[email protected]> Acked-by: Cristian Dumitrescu <[email protected]> --- lib/librte_pipeline/rte_swx_pipeline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_pipeline/rte_swx_pipeline.c b/lib/librte_pipeline/rte_swx_pipeline.c index 2c9fbf4..9d64611 100644 --- a/lib/librte_pipeline/rte_swx_pipeline.c +++ b/lib/librte_pipeline/rte_swx_pipeline.c @@ -4658,7 +4658,7 @@ struct_field_parse(struct rte_swx_pipeline *p, { struct header *h; - CHECK(n_tokens == 2, EINVAL); + CHECK(n_tokens == 3, EINVAL); strcpy(data->jmp_label, tokens[1]); -- 1.8.3.1

