From: Ferruh Yigit Date: Thu, 4 May 2017 15:59:23 +0000 (+0100) Subject: net/ixgbe: do not touch mbuf initialized fields X-Git-Tag: spdx-start~3176 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7623f1f8b9c7fd42b8f7279265dba807b1464429;p=dpdk.git net/ixgbe: do not touch mbuf initialized fields See: 8f094a9ac5d7 ("mbuf: set mbuf fields while in pool") Signed-off-by: Ferruh Yigit Acked-by: Wenzhuo Lu --- diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c index ee8ad9626b..ab58a67f89 100644 --- a/drivers/net/ixgbe/ixgbe_rxtx.c +++ b/drivers/net/ixgbe/ixgbe_rxtx.c @@ -4111,10 +4111,7 @@ ixgbe_alloc_rx_queue_mbufs(struct ixgbe_rx_queue *rxq) return -ENOMEM; } - rte_mbuf_refcnt_set(mbuf, 1); - mbuf->next = NULL; mbuf->data_off = RTE_PKTMBUF_HEADROOM; - mbuf->nb_segs = 1; mbuf->port = rxq->port_id; dma_addr =