Signed-off-by: Maxim Uvarov
---
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index be5a292..287e478 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@ AC_PREREQ([2.5])
# Set correct API
From: Bill Fischofer
Signed-off-by: Bill Fischofer
Signed-off-by: Maxim Uvarov
---
CHANGELOG | 186 ++
1 file changed, 186 insertions(+)
diff --git
On 21 November 2016 at 10:08, Maxim Uvarov wrote:
> Signed-off-by: Maxim Uvarov
> ---
> configure.ac | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index be5a292..3880b19 100644
> ---
From: Bill Fischofer
Signed-off-by: Bill Fischofer
Signed-off-by: Maxim Uvarov
---
CHANGELOG | 211 ++
1 file changed, 211 insertions(+)
diff --git
All
The plain text mode appears to be working, I was notified when I sent
HTML, please monitor carefully for a few days.
Your post shoudl end up here [1] if it made it to the list
[1] https://lists.linaro.org/pipermail/lng-odp/2016-November/thread.html
On 21 November 2016 at 09:59,
Reviewed-by: Petri Savolainen
> -Original Message-
> From: Christophe Milard [mailto:christophe.mil...@linaro.org]
> Sent: Thursday, November 17, 2016 5:46 PM
> To: Savolainen, Petri (Nokia - FI/Espoo) labs.com>;
Signed-off-by: Maxim Uvarov
---
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index be5a292..3880b19 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@ AC_PREREQ([2.5])
# Set correct API
Updated Bills patch to 1.12 version and alse update .so version numbers.
Bill Fischofer (1):
changelog: summary of changes for odp v1.12.0.0
Maxim Uvarov (1):
configure.ac update version numbers
CHANGELOG| 211 +++
configure.ac |
Used the ring data structure to implement pool. Also
buffer structure was simplified to enable future driver
interface. Every buffer includes a packet header, so each
buffer can be used as a packet head or segment. Segmentation
was disabled and segment size was fixed to a large number
(64kB) to
Added support for multi-segmented packets. The first segments
is the packet descriptor, which contains all metadata and
pointers to other segments.
Signed-off-by: Petri Savolainen
---
.../include/odp/api/plat/packet_types.h| 6 +-
Round up global pool allocations to a burst size. Cache any
extra buffers for future use. Prefetch buffers header which
very newly allocated from global pool and will be returned to
the caller.
Signed-off-by: Petri Savolainen
---
Moved scheduler ring code into a new header file, so that
it can be used also in other parts of the implementation.
Signed-off-by: Petri Savolainen
---
platform/linux-generic/Makefile.am | 1 +
platform/linux-generic/include/odp_ring_internal.h |
Applications must use pool capabilibty to check maximum values
for parameters. Used maximum segment length since application
seems to support only single segment packets.
Signed-off-by: Petri Savolainen
---
test/common_plat/performance/odp_crypto.c | 47
Removed odp_pool_to_entry(), which was a duplicate of
pool_entry_from_hdl(). Renamed odp_buf_to_hdr() to
buf_hdl_to_hdr(), which describes more accurately the internal
function. Inlined pool_entry(), pool_entry_from_hdl() and
buf_hdl_to_hdr(), which are used often and also outside of
pool.c.
There's no use case for application to allocate zero length
packets. Application should always have some knowledge about
the new packet data length before allocation. Also
implementations are more efficient when a check for zero length
is avoided.
Also added a pool parameter to specify the
Check pool capability limits for packet length and segment
length, and do not exceed those.
Signed-off-by: Petri Savolainen
---
test/common_plat/validation/api/pktio/pktio.c | 26 ++
1 file changed, 22 insertions(+), 4 deletions(-)
diff --git
Pool performance is optimized by using a ring as the global buffer storage.
IPC build is disabled, since it needs large modifications due to dependency to
pool internals. Old pool implementation was based on locks and linked list of
buffer headers. New implementation maintain a ring of buffer
Added checks for correct alignment. Also updated tests to call
odp_pool_param_init() for parameter initialization.
Signed-off-by: Petri Savolainen
---
test/common_plat/validation/api/buffer/buffer.c | 113 +---
1 file changed, 63 insertions(+), 50
Check pool parameters against maximum capabilities. Also defined
a limit for maximum buffer and user area sizes. Chose 10 MB as
a limit since it's small enough to be available in all Linux systems
and it should be more than enough for normal pool usage.
Signed-off-by: Petri Savolainen
Added multi-data versions of ring enqueue and dequeue operations.
Signed-off-by: Petri Savolainen
---
platform/linux-generic/include/odp_ring_internal.h | 65 ++
1 file changed, 65 insertions(+)
diff --git
Use multi enq and deq operations to optimize global pool
access performance. Temporary uint32_t arrays are needed
since handles are pointer size variables.
Signed-off-by: Petri Savolainen
---
platform/linux-generic/odp_pool.c | 32
1
Remove support for zero length allocations which were never
required by the API specification or tested by the validation
suite.
Signed-off-by: Petri Savolainen
---
platform/linux-generic/odp_packet.c | 28
1 file changed, 28 deletions(-)
Reduced oversized packet length and segment length requirements
from 32 kB to 1 kB (tens of bytes are actually used). Also check
that lengths are not larger than pool capabilities for those.
Signed-off-by: Petri Savolainen
---
Enable segmentation support with CONFIG_PACKET_MAX_SEGS
configuration option.
Signed-off-by: Petri Savolainen
---
platform/linux-generic/include/odp_config_internal.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
Added a macro to round up a value to the next power of two,
if it's not already a power of two. Also removed duplicated
code from the same file.
Signed-off-by: Petri Savolainen
---
.../linux-generic/include/odp_align_internal.h | 34 +-
1 file
This is a bug correction for multi-segment packet handling. Packet
pull tail cannot decrement packet length more than there are data
in the last segment. Trunc tail must be used instead.
Signed-off-by: Petri Savolainen
---
platform/linux-generic/pktio/socket.c | 25
Tailroom test did not call odp_packet_extend_tail() since it pushed
tail too few bytes. Corrected the test to extend the tail by 100
bytes.
Concat test did pass the same packet as src and dst packets. There's
no valid use case to concatenate a packet into itself (forms
a loop). Corrected the test
In some error cases, netmap and dpdk pktios were calling
odp_packet_free_multi with zero packets. Moved existing error
check to avoid a free call with zero packets.
Signed-off-by: Petri Savolainen
---
platform/linux-generic/pktio/dpdk.c | 10 ++
IPC pktio implementation depends heavily on pool internals. It's
build is disabled due to pool re-implementation. IPC should be
re-implemented with a cleaner internal interface towards pool and
shm.
Signed-off-by: Petri Savolainen
---
All
This is an experiment to check that the list can notify HTML posters
that the list requires text mail.
Mike
--
Mike Holmes
Program Manager - Linaro Networking Group
Linaro.org │ Open source software for ARM SoCs
"Work should be fun and collaborative, the rest follows"
ping
On 17 November 2016 at 16:46, Christophe Milard
wrote:
> since v6:
> - All points according to Petri's request i.e.:
> Odp_shm_find_external() changed again: now odp_shm_import().
> Function description updated.
>
> since v5:
> -fixed
Hello,
I made a google doc version of this to simplify comments and resolving.
https://docs.google.com/a/linaro.org/document/d/10gS9wPNza-EXfxu9iVdk6o7-
cfhUz2XJ2dp50t0ERas/edit?usp=sharing
(I gave edit rights to Christophe, Forest and Yi: you should you PrettyCode
addon for syntax
OVS is a standard component of OpenStack. I am not sure I would say OVS is
fundamental: Juniper Contrail is probably more DEPLOYED in real NFV
architectures. Very large deployments need OpenStack Distributed Virtual
Routing (https://wiki.openstack.org/wiki/Neutron/DVR) which is not using
OVS
33 matches
Mail list logo