git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/ring: release port upon close
[dpdk.git]
/
drivers
/
net
/
octeontx2
/
otx2_ethdev_sec_tx.h
diff --git
a/drivers/net/octeontx2/otx2_ethdev_sec_tx.h
b/drivers/net/octeontx2/otx2_ethdev_sec_tx.h
index
2e35a8c
..
5bf8c19
100644
(file)
--- a/
drivers/net/octeontx2/otx2_ethdev_sec_tx.h
+++ b/
drivers/net/octeontx2/otx2_ethdev_sec_tx.h
@@
-9,6
+9,7
@@
#include <rte_mbuf.h>
#include "otx2_ethdev_sec.h"
#include <rte_mbuf.h>
#include "otx2_ethdev_sec.h"
+#include "otx2_security.h"
struct otx2_ipsec_fp_out_hdr {
uint32_t ip_id;
struct otx2_ipsec_fp_out_hdr {
uint32_t ip_id;
@@
-86,7
+87,7
@@
otx2_sec_event_tx(struct otx2_ssogws *ws, struct rte_event *ev,
*/
rte_pktmbuf_append(m, extend_tail);
data = rte_pktmbuf_prepend(m, extend_head);
*/
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
/*
* Move the Ethernet header, to insert otx2_ipsec_fp_out_hdr prior
@@
-159,7
+160,7
@@
otx2_sec_event_tx(struct otx2_ssogws *ws, struct rte_event *ev,
sess->ip_id++;
sess->esn++;
sess->ip_id++;
sess->esn++;
- rte_
c
io_wmb();
+ rte_io_wmb();
do {
otx2_lmt_mov(sess->cpt_lmtline, &inst, 2);
do {
otx2_lmt_mov(sess->cpt_lmtline, &inst, 2);