* [dpdk-dev] [PATCH] xenvirt: fix reference to old mbuf field
@ 2014-11-19 12:26 Sergio Gonzalez Monroy
2014-11-24 15:48 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: Sergio Gonzalez Monroy @ 2014-11-19 12:26 UTC (permalink / raw)
To: dev
data is not an mbuf field anymore.
Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
---
lib/librte_pmd_xenvirt/virtqueue.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_pmd_xenvirt/virtqueue.h b/lib/librte_pmd_xenvirt/virtqueue.h
index d8717fe..34a24fc 100644
--- a/lib/librte_pmd_xenvirt/virtqueue.h
+++ b/lib/librte_pmd_xenvirt/virtqueue.h
@@ -54,7 +54,7 @@
* rather than gpa<->hva in virito spec.
*/
#define RTE_MBUF_DATA_DMA_ADDR(mb) \
- ((uint64_t)((mb)->data))
+ rte_pktmbuf_mtod(mb, uint64_t)
enum { VTNET_RQ = 0, VTNET_TQ = 1, VTNET_CQ = 2 };
--
1.9.3
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] xenvirt: fix reference to old mbuf field
2014-11-19 12:26 [dpdk-dev] [PATCH] xenvirt: fix reference to old mbuf field Sergio Gonzalez Monroy
@ 2014-11-24 15:48 ` Thomas Monjalon
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2014-11-24 15:48 UTC (permalink / raw)
To: Sergio Gonzalez Monroy; +Cc: dev
> data is not an mbuf field anymore.
>
> Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Note: git history is better with commit references in commit log.
Added "Since commit 08b563ffb19 ("mbuf: replace data pointer by an offset"),"
Applied
Thanks
--
Thomas
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-11-24 15:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-19 12:26 [dpdk-dev] [PATCH] xenvirt: fix reference to old mbuf field Sergio Gonzalez Monroy
2014-11-24 15:48 ` Thomas Monjalon
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).