crypto/cnxk: decrement ESN to be used in session
authorAnoob Joseph <anoobj@marvell.com>
Mon, 27 Jun 2022 08:12:33 +0000 (13:42 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Thu, 30 Jun 2022 04:54:21 +0000 (06:54 +0200)
commitb9fb934f88ab9aad08d1a071178d53beb7b49bac
tree5b47f621a5158112358e94ca39d8e6079412b967
parent5f8cdb8df3d14c53c616ad0650edbe05c2842316
crypto/cnxk: decrement ESN to be used in session

ESN provided in the session would be the next sequence number to be
used. Hence predecrement the value, so that in datapath, incremented
value will be as expected.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
drivers/crypto/cnxk/cn9k_ipsec.c