DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] determine number of free TX descriptors in DPDK transmit queue
@ 2015-03-30  9:51 Walukiewicz, Miroslaw
  0 siblings, 0 replies; only message in thread
From: Walukiewicz, Miroslaw @ 2015-03-30  9:51 UTC (permalink / raw)
  To: dev

Hello,

Is there any method of determining the number free TX descriptor in specific TX queue?

I know that when transmit function is called with some number packets to send and then number returned by function is different than provided that means that queue is full.

This mechanism works good when we have packets that fits single DPDK descriptor (rte_mbuf).

But when we provide longer descriptors for example up to 64K-long packets with different size it is good to predict how much space is available in the transmit queue, because creating such longs packets Is expensive and the application could work much more effectively when such information would be provided.

Regards,

Mirek

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-30  9:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-30  9:51 [dpdk-dev] determine number of free TX descriptors in DPDK transmit queue Walukiewicz, Miroslaw

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