mbuf: add namespace to offload flags
[dpdk.git] / lib / ipsec / sa.c
index 9d5ffda..a19819f 100644 (file)
@@ -665,7 +665,7 @@ pkt_flag_process(const struct rte_ipsec_session *ss,
        k = 0;
        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) {
                        k++;
                        bytes += mb[i]->pkt_len;
                }