#include <rte_mbuf.h>
#include "otx2_ethdev_sec.h"
+#include "otx2_security.h"
struct otx2_ipsec_fp_out_hdr {
uint32_t ip_id;
*/
rte_pktmbuf_append(m, extend_tail);
data = rte_pktmbuf_prepend(m, extend_head);
- data_addr = rte_pktmbuf_mtophys(m);
+ data_addr = rte_pktmbuf_iova(m);
/*
* Move the Ethernet header, to insert otx2_ipsec_fp_out_hdr prior
sess->ip_id++;
sess->esn++;
- rte_cio_wmb();
+ rte_io_wmb();
do {
otx2_lmt_mov(sess->cpt_lmtline, &inst, 2);