Enable the field in SA to write back L2, L3 headers in case
of errors during inline processing.
Signed-off-by: Vidya Sagar Velumuri <vvelumuri@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
sa->w0.s.pkt_format = ROC_IE_OT_SA_PKT_FMT_META;
sa->w0.s.pkind = ROC_IE_OT_CPT_PKIND;
sa->w0.s.et_ovrwr = 1;
+ sa->w2.s.l3hdr_on_err = 1;
}
offset = offsetof(struct roc_ot_ipsec_inb_sa, ctx);
uint64_t ip_hdr_verify : 2;
uint64_t udp_ports_verify : 1;
- uint64_t rsvd6 : 7;
+ uint64_t l3hdr_on_err : 1;
+ uint64_t rsvd6 : 6;
uint64_t async_mode : 1;
uint64_t spi : 32;