numam-dpdk/doc/guides/rel_notes
Huawei Xie 9ec201f5d6 mbuf: provide bulk allocation
rte_pktmbuf_alloc_bulk allocates a bulk of packet mbufs.

There is related thread about this bulk API.
http://dpdk.org/dev/patchwork/patch/4718/
Thanks to Konstantin's loop unrolling.

Attached the wiki page about duff's device. It explains the performance
optimization through loop unwinding, and also the most dramatic use of
case label fall-through.
https://en.wikipedia.org/wiki/Duff%27s_device

In this implementation, while() loop is used because we could not assume
count is strictly positive. Using while() loop saves one line of check.

Signed-off-by: Gerald Rogers <gerald.rogers@intel.com>
Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2016-02-29 17:26:38 +01:00
..
deprecation.rst doc: fix ABI change announce for RETA configuration 2015-12-15 17:14:47 +01:00
index.rst doc: rename release notes 2.3 to 16.04 2016-02-10 22:43:32 +01:00
known_issues.rst doc: drop old naming of the project 2016-02-10 15:47:51 +01:00
rel_description.rst doc: simplify release notes cover 2015-08-12 09:15:27 +02:00
release_1_8.rst doc: fix spellings 2015-12-15 13:50:42 +01:00
release_2_0.rst doc: add missing release notes for mlx4 availability in 2.0 2015-08-17 19:35:37 +02:00
release_2_1.rst doc: add mlx4 release notes for version 2.1 2015-08-17 19:35:37 +02:00
release_2_2.rst doc: add statistics fixes in release notes 2015-12-15 13:50:42 +01:00
release_16_04.rst mbuf: provide bulk allocation 2016-02-29 17:26:38 +01:00
supported_os.rst doc: restructure release notes 2015-08-11 17:28:13 +02:00