DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Guidance about how to carry out flow control at L2
@ 2020-01-27 13:46 nisarg joshi
  0 siblings, 0 replies; only message in thread
From: nisarg joshi @ 2020-01-27 13:46 UTC (permalink / raw)
  To: dev

Hello community,
I am working on a project in ns-3(network simulator) where we have a
NetDevice implemented called "DpdkNetDevice" which emulates a net device
using dpdk. The traffic control module/layer having the qdisc is a part of
ns-3 and the transmit ring is a part of the dpdk environment. Both the
queues are not in sync and we want to implement flow control between these
2 queues. We have a mechanism where we can signal the tc qdisc to stop and
start, but for that, we require to know the empty space in the transmit
ring. Can you please help us out with the correct API we should be using?
Or is there some mechanism that dpdk has implemented for signaling the
upper layers from the transmit ring? We have come across a function called
rte_eth_tx_descriptor_status  using which we are planning to check the
status of the tail to judge if there is empty space. Can you guys help us
in any way regarding this?

Thank you
Regards

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

only message in thread, other threads:[~2020-01-27 13:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-27 13:46 [dpdk-dev] Guidance about how to carry out flow control at L2 nisarg joshi

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