Hi Konstantin,
On 05/07/2014 02:35 PM, Ananyev, Konstantin wrote:
> 1. ssize_t rte_ring_get_memsize(unsigned count)
>
> Can you use usual syntax for functions definitions in DPDK:
>
> ssize_t
> rte_ring_get_memsize(unsigned count)
>
> 2. sz = (sz + CACHE_LINE_MASK) & (~CACHE_LINE_MASK);
>
> Use RT
Add a function that returns the amount of memory occupied by a rte_ring
structure and its object table. This commit prepares the next one that
will allow to allocate a ring dynamically.
Signed-off-by: Olivier Matz
---
lib/librte_ring/rte_ring.c | 29 ++---
lib/librte_ring
ntin
-Original Message-
From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Olivier Matz
Sent: Wednesday, May 07, 2014 12:39 PM
To: dev at dpdk.org
Subject: [dpdk-dev] [PATCH 1/2] ring: introduce rte_ring_get_memsize()
Add a function that returns the amount of memory occupied by a rte_
3 matches
Mail list logo