DPDK usage discussions
 help / color / Atom feed
* [dpdk-users] Guidance about how to carry out flow control at L2
@ 2020-01-16  5:00 nisarg joshi
  0 siblings, 0 replies; only message in thread
From: nisarg joshi @ 2020-01-16  5:00 UTC (permalink / raw)
  To: users; +Cc: Yash Agarwal, Shweta Iyer

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, back to index

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

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/users/0 users/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 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


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