net/ngbe: support MTU set
[dpdk.git] / lib / ipsec / misc.h
index 79b9a20..fd4d3f5 100644 (file)
@@ -136,7 +136,7 @@ cpu_crypto_bulk(const struct rte_ipsec_session *ss,
                /* not enough space in vec[] to hold all segments */
                if (vcnt < 0) {
                        /* fill the request structure */
-                       symvec.sgl = &vecpkt[j];
+                       symvec.src_sgl = &vecpkt[j];
                        symvec.iv = &iv[j];
                        symvec.digest = &dgst[j];
                        symvec.aad = &aad[j];
@@ -160,7 +160,7 @@ cpu_crypto_bulk(const struct rte_ipsec_session *ss,
        }
 
        /* fill the request structure */
-       symvec.sgl = &vecpkt[j];
+       symvec.src_sgl = &vecpkt[j];
        symvec.iv = &iv[j];
        symvec.aad = &aad[j];
        symvec.digest = &dgst[j];
@@ -173,7 +173,7 @@ cpu_crypto_bulk(const struct rte_ipsec_session *ss,
        j = num - n;
        for (i = 0; j != 0 && i != num; i++) {
                if (st[i] != 0) {
-                       mb[i]->ol_flags |= PKT_RX_SEC_OFFLOAD_FAILED;
+                       mb[i]->ol_flags |= RTE_MBUF_F_RX_SEC_OFFLOAD_FAILED;
                        j--;
                }
        }