]> git.droids-corp.org - dpdk.git/commit
common/cnxk: fix reset of fields
authorAnoob Joseph <anoobj@marvell.com>
Fri, 17 Dec 2021 09:19:46 +0000 (14:49 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 21 Jan 2022 08:40:01 +0000 (09:40 +0100)
commitf7d904e065c3e82e6892d6b7ed765168c591f6f4
tree5608a6bb4379753d5ab671a04ba3900b3dd88c71
parentd6d2d7d66ca55f3cccc3d05e696969ff7c3a6ca2
common/cnxk: fix reset of fields

Copy DF/DSCP fields would get set based on ipsec_xform in the code
preceding this. Setting it again would cause the options to be reset.

Fixes: 78d03027f2cc ("common/cnxk: add IPsec common code")
Cc: stable@dpdk.org
Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/common/cnxk/cnxk_security.c