[dpdk-dev] Callbacks after buffer (mbuf) sent out
Vithal S Mohare
vmohare at arubanetworks.com
Fri Jan 16 08:17:11 CET 2015
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 at dpdk.org] On Behalf Of Vithal S Mohare
Sent: Tuesday, January 13, 2015 9:21 AM
To: dev at 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
More information about the dev
mailing list