* [dpdk-dev] [PATCH] net/ixgbe: do not touch mbuf initialized fields
@ 2017-05-04 15:59 Ferruh Yigit
2017-05-05 0:57 ` Lu, Wenzhuo
0 siblings, 1 reply; 3+ messages in thread
From: Ferruh Yigit @ 2017-05-04 15:59 UTC (permalink / raw)
To: Wenzhuo Lu, Konstantin Ananyev; +Cc: dev, Olivier Matz
See: 8f094a9ac5d7 ("mbuf: set mbuf fields while in pool")
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
Cc: Olivier Matz <olivier.matz@6wind.com>
---
drivers/net/ixgbe/ixgbe_rxtx.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c
index 1e07895..590ab63 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 =
--
2.9.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] net/ixgbe: do not touch mbuf initialized fields
2017-05-04 15:59 [dpdk-dev] [PATCH] net/ixgbe: do not touch mbuf initialized fields Ferruh Yigit
@ 2017-05-05 0:57 ` Lu, Wenzhuo
2017-05-12 11:33 ` Ferruh Yigit
0 siblings, 1 reply; 3+ messages in thread
From: Lu, Wenzhuo @ 2017-05-05 0:57 UTC (permalink / raw)
To: Yigit, Ferruh, Ananyev, Konstantin; +Cc: dev, Olivier Matz
Hi,
> -----Original Message-----
> From: Yigit, Ferruh
> Sent: Thursday, May 4, 2017 11:59 PM
> To: Lu, Wenzhuo; Ananyev, Konstantin
> Cc: dev@dpdk.org; Olivier Matz
> Subject: [PATCH] net/ixgbe: do not touch mbuf initialized fields
>
> 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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] net/ixgbe: do not touch mbuf initialized fields
2017-05-05 0:57 ` Lu, Wenzhuo
@ 2017-05-12 11:33 ` Ferruh Yigit
0 siblings, 0 replies; 3+ messages in thread
From: Ferruh Yigit @ 2017-05-12 11:33 UTC (permalink / raw)
To: Lu, Wenzhuo, Ananyev, Konstantin; +Cc: dev, Olivier Matz
On 5/5/2017 1:57 AM, Lu, Wenzhuo wrote:
> Hi,
>
>> -----Original Message-----
>> From: Yigit, Ferruh
>> Sent: Thursday, May 4, 2017 11:59 PM
>> To: Lu, Wenzhuo; Ananyev, Konstantin
>> Cc: dev@dpdk.org; Olivier Matz
>> Subject: [PATCH] net/ixgbe: do not touch mbuf initialized fields
>>
>> 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>
Applied to dpdk-next-net/master, thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-05-12 11:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-04 15:59 [dpdk-dev] [PATCH] net/ixgbe: do not touch mbuf initialized fields Ferruh Yigit
2017-05-05 0:57 ` Lu, Wenzhuo
2017-05-12 11:33 ` Ferruh Yigit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).