v4: no api changes from Monarch, I removed all entries for that in previous
patch.
Update only 'revision' according to that link:
https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
Bill Fischofer (1):
changelog: summary of changes for odp v1.12.0.0
Maxim Uvarov (
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 version
#
From: Bill Fischofer
Signed-off-by: Bill Fischofer
Signed-off-by: Maxim Uvarov
---
CHANGELOG | 186 ++
1 file changed, 186 insertions(+)
diff --git a/CHANGELOG b/CHANGELOG
index 1d652a8..f4cce08 100644
--- a/CHANGELOG
+++ b/CHANGELOG
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
> --- a/configure.ac
> +++ b/configure.ac
> @@ -3,7 +3,7
From: Bill Fischofer
Signed-off-by: Bill Fischofer
Signed-off-by: Maxim Uvarov
---
CHANGELOG | 211 ++
1 file changed, 211 insertions(+)
diff --git a/CHANGELOG b/CHANGELOG
index 1d652a8..25d1375 100644
--- a/CHANGELOG
+++ b/CHANGELOG
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, wrote:
>
>
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>; mike.hol...@linaro.org; bill.fischo...@linaro.org; lng-
> o...@lists.linar
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 version
#
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 lim
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 +-
.../linux-generic/include/odp_buffer_inlines.h
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
---
.../linux-generic/include/odp_buffer_internal.h| 3 +-
platfo
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 | 111 +
plat
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 +++
1 file ch
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. Rename
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 maximum
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 a/test/common_plat/validatio
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 ha
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 deletions(-)
diff --git a/t
Improve performance by changing the first parameter of
buffer_alloc_multi() to pool pointer (from handle), to avoid
double lookup of the pool pointer. Pointer is available for
packet alloc calls already.
Signed-off-by: Petri Savolainen
---
platform/linux-generic/include/odp_buffer_internal.h |
Use odp_pool_param_init() to initialize pool parameters. Also
pktio test must use capability to determine maximum packet
segment length.
Signed-off-by: Petri Savolainen
---
example/generator/odp_generator.c | 2 +-
test/common_plat/validation/api/crypto/crypto.c | 2 +-
test/comm
Added test cases to allocate and free multiple multi-segment
packets.
Signed-off-by: Petri Savolainen
---
test/common_plat/validation/api/packet/packet.c | 73 +++--
1 file changed, 68 insertions(+), 5 deletions(-)
diff --git a/test/common_plat/validation/api/packet/packet.c
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
---
platfo
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 a/platform/linux-generic/include/odp_ring_internal.h
b/platform/linu
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 file changed, 20 insertions(+
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(-)
diff --git a/platform/linux
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
---
test/common_plat/validation/api/crypto/crypto.c | 24 ++--
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 a/platform/linux-generic/include/odp_config_internal.h
b/p
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 changed, 7 insertions(+), 27
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 +++--
1 f
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 ++
platform/linux-generic/pktio/netmap.c |
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
---
platform/linux-generic/pktio/ipc.c | 3 ++-
1 file changed, 2
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 doxygen issue (Bill)
>
> since v4
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 highlighting).
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 becaus
37 matches
Mail list logo