git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95b097c
)
net/ixgbe: do not touch mbuf initialized fields
author
Ferruh Yigit
<ferruh.yigit@intel.com>
Thu, 4 May 2017 15:59:23 +0000
(16:59 +0100)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Mon, 12 Jun 2017 09:41:25 +0000
(10:41 +0100)
See:
8f094a9ac5d7
("mbuf: set mbuf fields while in pool")
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/ixgbe_rxtx.c
patch
|
blob
|
history
diff --git
a/drivers/net/ixgbe/ixgbe_rxtx.c
b/drivers/net/ixgbe/ixgbe_rxtx.c
index
ee8ad96
..
ab58a67
100644
(file)
--- 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 =