octeon: use proper refs for roc item spec and mask 74/41474/2
authorSriram Vatala <[email protected]>
Thu, 8 Aug 2024 09:57:36 +0000 (09:57 +0000)
committerDamjan Marion <[email protected]>
Thu, 29 Aug 2024 08:38:22 +0000 (08:38 +0000)
commitff17350ae04dd975c139685d01dc4818e50dbdfe
treee88ee3bf3a1de871596ae42bae79455af79e92be
parent828353fa5f461319ef05d23984418a7652dd6315
octeon: use proper refs for roc item spec and mask

vnet flow enable is failing due to bogus bytes pointed by spec, mask
variables of roc_npc_flow_item structure. Using reference to local
variables defined in block scope is causing this. Moving the variable
declarations to function block scope fixes this issue.

Fixes: 064762e20

Type: fix

Signed-off-by: Sriram Vatala <[email protected]>
Change-Id: I3904199b5b2bd88cd02ada5604059ab6fd12eef7
src/plugins/dev_octeon/flow.c