]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/enic/enic_rxtx.c
mbuf: make segment prefree function public
[dpdk.git] / drivers / net / enic / enic_rxtx.c
index 343dabc644e6b5365b0d75d5ba3a7fcb9f73c4a3..1ee5cbb507f325346f7aeb6367bd850abca65285 100644 (file)
@@ -473,7 +473,7 @@ static inline void enic_free_wq_bufs(struct vnic_wq *wq, u16 completed_index)
        pool = ((struct rte_mbuf *)buf->mb)->pool;
        for (i = 0; i < nb_to_free; i++) {
                buf = &wq->bufs[tail_idx];
-               m = __rte_pktmbuf_prefree_seg((struct rte_mbuf *)(buf->mb));
+               m = rte_pktmbuf_prefree_seg((struct rte_mbuf *)(buf->mb));
                buf->mb = NULL;
 
                if (unlikely(m == NULL)) {