DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v1] Move rte_mbuf macros to common header file
@ 2015-09-24 22:49 Ravi Kerur
  2015-09-24 22:50 ` Ravi Kerur
  0 siblings, 1 reply; 6+ messages in thread
From: Ravi Kerur @ 2015-09-24 22:49 UTC (permalink / raw)
  To: dev

Macros RTE_MBUF_DATA_DMA_ADDR and RTE_MBUF_DATA_DMA_ADDR_DEFAULT
are defined in each PMD driver file. Move those macros into common
lib/librte_mbuf/rte_mbuf.h file. All PMD drivers include rte_mbuf.h
file directly/indirectly hence no additionl header file inclusion 
is necessary.

Ravi Kerur (1):
  Move rte_buf macros to common header file

 drivers/net/bnx2x/bnx2x.h          | 3 ---
 drivers/net/cxgbe/sge.c            | 3 ---
 drivers/net/e1000/em_rxtx.c        | 6 ------
 drivers/net/e1000/igb_rxtx.c       | 6 ------
 drivers/net/i40e/i40e_rxtx.c       | 6 ------
 drivers/net/ixgbe/ixgbe_rxtx.h     | 6 ------
 drivers/net/virtio/virtqueue.h     | 3 ---
 drivers/net/vmxnet3/vmxnet3_rxtx.c | 6 ------
 lib/librte_mbuf/rte_mbuf.h         | 6 ++++++
 9 files changed, 6 insertions(+), 39 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-09-30 19:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-24 22:49 [dpdk-dev] [PATCH v1] Move rte_mbuf macros to common header file Ravi Kerur
2015-09-24 22:50 ` Ravi Kerur
2015-09-24 23:25   ` Stephen Hemminger
2015-09-26  2:46     ` Ravi Kerur
2015-09-29  9:55       ` Ananyev, Konstantin
2015-09-30 19:11         ` Ravi Kerur

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).