net/ice/base: fix parser runtime reset
authorJunfeng Guo <junfeng.guo@intel.com>
Mon, 11 Oct 2021 13:30:13 +0000 (13:30 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Wed, 13 Oct 2021 02:10:10 +0000 (04:10 +0200)
commitc99174debaf80e39246dd3c09d19581112edba52
tree3a6612b370721d5a0777b2accd494d4a1422abe8
parent64c952ec78d35ab3a1a229f9e9901d6092c6189c
net/ice/base: fix parser runtime reset

Adjust the code line order of the parser runtime reset, since the
struct rt->psr is used in function _rt_flag_set before assignment.

Fixes: c84f8aa2100c ("net/ice/base: add parser runtime skeleton")
Cc: stable@dpdk.org
Signed-off-by: Junfeng Guo <junfeng.guo@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/base/ice_parser_rt.c