numam-dpdk/doc/guides/rel_notes
Olivier Matz 1d493a4949 mbuf: fix data room size calculation in pool init
Deduct the mbuf data room size from mempool->elt_size and priv_size,
instead of using an hardcoded value that is not related to the real
buffer size.

To use rte_pktmbuf_pool_init(), the user can either:
- give a NULL parameter to rte_pktmbuf_pool_init(): in this case, the
  private size is assumed to be 0, and the room size is
  mp->elt_size - sizeof(struct rte_mbuf).
- give the rte_pktmbuf_pool_private filled with appropriate
  data_room_size and priv_size values.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2015-04-27 22:39:20 +02:00
..
abi.rst doc: add ABI documentation 2015-02-03 16:56:59 +01:00
faq.rst doc: update faq 2015-03-31 03:21:41 +02:00
index.rst version: 2.0.0 2015-04-03 16:13:45 +02:00
known_issues.rst doc: add known issue with bonding test 2015-04-03 16:12:13 +02:00
new_features.rst doc: update new features 2015-04-03 16:12:13 +02:00
rel_description.rst version: 2.0.0 2015-04-03 16:13:45 +02:00
resolved_issues.rst doc: move resolved issues 2014-12-20 00:38:39 +01:00
supported_features.rst doc: add jobstats library and sample release notes 2015-03-31 02:54:28 +02:00
supported_os.rst doc: update tested OS list in release notes 2015-03-31 03:28:34 +02:00
updating_apps.rst mbuf: fix data room size calculation in pool init 2015-04-27 22:39:20 +02:00