]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_mbuf/rte_mbuf.c
mbuf: increase port initialization value
[dpdk.git] / lib / librte_mbuf / rte_mbuf.c
index 26a62b8e1fd148158400eb9ad27a56a9eb8be67b..bcf4e2fcfec8bb5c874498532ed2cf1f113e8300 100644 (file)
@@ -144,7 +144,7 @@ rte_pktmbuf_init(struct rte_mempool *mp,
        /* init some constant fields */
        m->pool = mp;
        m->nb_segs = 1;
-       m->port = 0xff;
+       m->port = MBUF_INVALID_PORT;
        rte_mbuf_refcnt_set(m, 1);
        m->next = NULL;
 }