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

^ 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

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git