pipeline: fix SWX jump instruction parsing
authorChurchill Khangar <churchill.khangar@intel.com>
Fri, 16 Oct 2020 13:57:57 +0000 (14:57 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 19 Oct 2020 07:20:25 +0000 (09:20 +0200)
commitccbbb7f23fe3c88e19d1124ec48f0d636272eefb
tree85506e1dbc715bf4ae4eb10a371fad81cefcd181
parent1e17748b0a281a321940d6fa44ef91ab3a3bf895
pipeline: fix SWX jump instruction parsing

This patch fixes the jump if not valid header instruction parsing.

Fixes: b3947e25bed4 ("pipeline: introduce SWX jump and return instructions")

Signed-off-by: Churchill Khangar <churchill.khangar@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
lib/librte_pipeline/rte_swx_pipeline.c