DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Callbacks after buffer  (mbuf) sent out
@ 2015-01-13  3:51 Vithal S Mohare
  2015-01-16  7:17 ` Vithal S Mohare
  0 siblings, 1 reply; 2+ messages in thread
From: Vithal S Mohare @ 2015-01-13  3:51 UTC (permalink / raw)
  To: dev

Hi,

I am looking for application callbacks after mbufs are sent (tx) out successfully.   One of the use cases is for async multicast (over different gre tunnels etc).   Using direct/indirect buffers along with ref-count itself is not enough, as actual 'pkt-data' itself changes while flooding on list of tunnels.

Thanks,
-Vithal

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

* Re: [dpdk-dev] Callbacks after buffer  (mbuf) sent out
  2015-01-13  3:51 [dpdk-dev] Callbacks after buffer (mbuf) sent out Vithal S Mohare
@ 2015-01-16  7:17 ` Vithal S Mohare
  0 siblings, 0 replies; 2+ messages in thread
From: Vithal S Mohare @ 2015-01-16  7:17 UTC (permalink / raw)
  To: dev

To elaborate more...
Assuming an example of vmxnet3 driver, at present, when rte_eth_tx_burst() is called to send mbufs, vmxnet3 driver calls vmxnet3_tq_tx_complete() to free up  completed buffers.  Instead, wondering, if vmxnet3 (or corresponding driver) can trigger application callback for the buffer (mbuf) which gets transmitted out of n/w interface.  Application callback can decide now decide whether to reuse the mbuf and continue multicasting on other tunnels.  

Thanks,
-Vithal

-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Vithal S Mohare
Sent: Tuesday, January 13, 2015 9:21 AM
To: dev@dpdk.org
Subject: [dpdk-dev] Callbacks after buffer (mbuf) sent out

Hi,

I am looking for application callbacks after mbufs are sent (tx) out successfully.   One of the use cases is for async multicast (over different gre tunnels etc).   Using direct/indirect buffers along with ref-count itself is not enough, as actual 'pkt-data' itself changes while flooding on list of tunnels.

Thanks,
-Vithal

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

end of thread, other threads:[~2015-01-16  7:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-13  3:51 [dpdk-dev] Callbacks after buffer (mbuf) sent out Vithal S Mohare
2015-01-16  7:17 ` Vithal S Mohare

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