numam-dpdk/lib/librte_ring
Bruce Richardson 4768c47500 ring: store memzone pointer
Add a new field to the rte_ring structure to store the memzone pointer which
contains the ring. For rings created using rte_ring_create(), the field will
be set automatically.

This new field will allow users of the ring to query the numa node a ring is
allocated on, or to get the physical address of the ring, if so needed.

The rte_ring structure will also maintain ABI compatibility, as the
structure members, after the new one, are set to be cache line aligned,
so leaving a space.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2015-11-03 01:59:06 +01:00
..
Makefile mem: move librte_malloc to eal/common 2015-07-16 13:44:48 +02:00
rte_ring_version.map lib: provide initial versioning 2015-02-03 16:56:58 +01:00
rte_ring.c ring: store memzone pointer 2015-11-03 01:59:06 +01:00
rte_ring.h ring: store memzone pointer 2015-11-03 01:59:06 +01:00