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
mbuf: add namespace to offload flags
[dpdk.git]
/
lib
/
ipsec
/
esp_outb.c
diff --git
a/lib/ipsec/esp_outb.c
b/lib/ipsec/esp_outb.c
index
b6c72f5
..
336d24a
100644
(file)
--- a/
lib/ipsec/esp_outb.c
+++ b/
lib/ipsec/esp_outb.c
@@
-618,7
+618,7
@@
esp_outb_sqh_process(const struct rte_ipsec_session *ss, struct rte_mbuf *mb[],
bytes = 0;
for (i = 0; i != num; i++) {
bytes = 0;
for (i = 0; i != num; i++) {
- if ((mb[i]->ol_flags &
PKT
_RX_SEC_OFFLOAD_FAILED) == 0) {
+ if ((mb[i]->ol_flags &
RTE_MBUF_F
_RX_SEC_OFFLOAD_FAILED) == 0) {
ml = rte_pktmbuf_lastseg(mb[i]);
/* remove high-order 32 bits of esn from packet len */
mb[i]->pkt_len -= sa->sqh_len;
ml = rte_pktmbuf_lastseg(mb[i]);
/* remove high-order 32 bits of esn from packet len */
mb[i]->pkt_len -= sa->sqh_len;
@@
-658,7
+658,7
@@
inline_outb_mbuf_prepare(const struct rte_ipsec_session *ss,
bytes = 0;
for (i = 0; i != num; i++) {
bytes = 0;
for (i = 0; i != num; i++) {
- mb[i]->ol_flags |=
PKT
_TX_SEC_OFFLOAD;
+ mb[i]->ol_flags |=
RTE_MBUF_F
_TX_SEC_OFFLOAD;
bytes += mb[i]->pkt_len;
if (ol_flags != 0)
rte_security_set_pkt_metadata(ss->security.ctx,
bytes += mb[i]->pkt_len;
if (ol_flags != 0)
rte_security_set_pkt_metadata(ss->security.ctx,