Imported Upstream version 16.07-rc2
[deb_dpdk.git] / drivers / net / enic / enic_rxtx.c
index 5ac1d69..2f4a08c 100644 (file)
@@ -400,7 +400,7 @@ static inline void enic_free_wq_bufs(struct vnic_wq *wq, u16 completed_index)
                buf = &wq->bufs[tail_idx];
                m = (struct rte_mbuf *)(buf->mb);
                if (likely(m->pool == pool)) {
-                       ENIC_ASSERT(nb_free < ENIC_MAX_WQ_DESCS);
+                       RTE_ASSERT(nb_free < ENIC_MAX_WQ_DESCS);
                        free[nb_free++] = m;
                } else {
                        rte_mempool_put_bulk(pool, (void *)free, nb_free);