> -----Original Message-----
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Olivier Matz
> 
> Morten, do you have more details about why do you need such a function?

Our application needs it for various purposes, e.g.:
- If rte_eth_tx_burst() returns with not all packets transmitted, our 
application may decide to drop the unsent packets.
- If there is too much pressure on the system, or an internal queue is full, so 
it decides to drop packets at some stage. (WAN Optimization appliances tend to 
buffer large numbers of packets, as opposed to switching/routing appliances.)

Furthermore, try searching DPDK apps/libraries/examples for loops calling 
rte_pktmbuf_free() with an indexed array... It's copy-paste all over. I would 
say that this function seems to be missing, and should have been added a long 
time ago.

> 
> Thanks,
> Olivier

Med venlig hilsen / kind regards
- Morten Brørup

Reply via email to