numam-dpdk/lib
Bruce Richardson 14fbffb0aa ring: return free space when enqueuing
Add an extra parameter to the ring enqueue burst/bulk functions so that
those functions can optionally return the amount of free space in the
ring. This information can be used by applications in a number of ways,
for instance, with single-producer queues, it provides a max
enqueue size which is guaranteed to work. It can also be used to
implement watermark functionality in apps, replacing the older
functionality with a more flexible version, which enables apps to
implement multiple watermark thresholds, rather than just one.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2017-03-29 22:32:04 +02:00
..
librte_acl mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_cfgfile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_cmdline mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_compat
librte_cryptodev mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_distributor distributor: add symbol versioning 2017-03-29 16:46:57 +02:00
librte_eal eal/bsd: query the cpu count only once 2017-03-27 23:56:58 +02:00
librte_efd mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_ether mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_hash ring: return free space when enqueuing 2017-03-29 22:32:04 +02:00
librte_ip_frag mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_jobstats mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_kni mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_kvargs mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_lpm mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_mbuf mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_mempool ring: return free space when enqueuing 2017-03-29 22:32:04 +02:00
librte_meter mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_net mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_pdump ring: return free space when enqueuing 2017-03-29 22:32:04 +02:00
librte_pipeline mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_port ring: return free space when enqueuing 2017-03-29 22:32:04 +02:00
librte_power mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_reorder mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_ring ring: return free space when enqueuing 2017-03-29 22:32:04 +02:00
librte_sched mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_table mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_timer mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
librte_vhost mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00