crypto/cnxk: support IPv6 mixed tunnel mode

Adds IPv6 mixed tunnel mode support for cn9k.

Signed-off-by: Archana Muniganti <marchana@marvell.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
This commit is contained in:
Archana Muniganti 2021-10-28 22:22:28 +05:30 committed by Akhil Goyal
parent 30351b0f94
commit 3f956cea85

View File

@ -407,7 +407,8 @@ cn9k_ipsec_outb_sa_create(struct cnxk_cpt_qp *qp,
w4.u64 = 0;
w4.s.opcode_major = ROC_IE_ON_MAJOR_OP_PROCESS_OUTBOUND_IPSEC;
w4.s.opcode_minor = ctx_len >> 3;
w4.s.param1 = ROC_IE_ON_PER_PKT_IV;
w4.s.param1 = BIT(9);
w4.s.param1 |= ROC_IE_ON_PER_PKT_IV;
inst_tmpl->w4 = w4.u64;
w7.u64 = 0;
@ -477,6 +478,7 @@ cn9k_ipsec_inb_sa_create(struct cnxk_cpt_qp *qp,
w4.u64 = 0;
w4.s.opcode_major = ROC_IE_ON_MAJOR_OP_PROCESS_INBOUND_IPSEC;
w4.s.opcode_minor = ctx_len >> 3;
w4.s.param2 = BIT(12);
inst_tmpl->w4 = w4.u64;
w7.u64 = 0;