All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ethdev: clarify the origin of mbufs
@ 2016-06-13 13:45 Olivier Matz
  2016-06-15 14:57 ` Thomas Monjalon
  0 siblings, 1 reply; 2+ messages in thread
From: Olivier Matz @ 2016-06-13 13:45 UTC (permalink / raw)
  To: thomas.monjalon, dev; +Cc: Xiaoban_Wu

Following the discussion on dpdk-users [1], enhance the API
documentation of rte_eth_tx_burst() to specify that the mbufs have to be
allocated from a pool.

[1] http://dpdk.org/ml/archives/users/2016-June/000618.html

Reported-by: Wu Xiaoban <Xiaoban_Wu@student.uml.edu>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
---
 lib/librte_ether/rte_ethdev.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index 2757510..e5e91e4 100644
--- a/lib/librte_ether/rte_ethdev.h
+++ b/lib/librte_ether/rte_ethdev.h
@@ -2683,7 +2683,8 @@ rte_eth_rx_descriptor_done(uint8_t port_id, uint16_t queue_id, uint16_t offset)
  * on the output queue *queue_id* of the Ethernet device designated by its
  * *port_id*.
  * The *nb_pkts* parameter is the number of packets to send which are
- * supplied in the *tx_pkts* array of *rte_mbuf* structures.
+ * supplied in the *tx_pkts* array of *rte_mbuf* structures, each of them
+ * allocated from a pool created with rte_pktmbuf_pool_create().
  * The rte_eth_tx_burst() function loops, sending *nb_pkts* packets,
  * up to the number of transmit descriptors available in the TX ring of the
  * transmit queue.
-- 
2.8.0.rc3

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

* Re: [PATCH] ethdev: clarify the origin of mbufs
  2016-06-13 13:45 [PATCH] ethdev: clarify the origin of mbufs Olivier Matz
@ 2016-06-15 14:57 ` Thomas Monjalon
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2016-06-15 14:57 UTC (permalink / raw)
  To: Olivier Matz; +Cc: dev, Xiaoban_Wu

2016-06-13 15:45, Olivier Matz:
> Following the discussion on dpdk-users [1], enhance the API
> documentation of rte_eth_tx_burst() to specify that the mbufs have to be
> allocated from a pool.
> 
> [1] http://dpdk.org/ml/archives/users/2016-June/000618.html
> 
> Reported-by: Wu Xiaoban <Xiaoban_Wu@student.uml.edu>
> Signed-off-by: Olivier Matz <olivier.matz@6wind.com>

Applied, thanks

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

end of thread, other threads:[~2016-06-15 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-13 13:45 [PATCH] ethdev: clarify the origin of mbufs Olivier Matz
2016-06-15 14:57 ` Thomas Monjalon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.