FYI. I am still looking at this patch, but it is fairly large and is taking
quite a few hours.
I am hoping to be able to spend a bunch more hours on it tomorrow and/or
possibly
Sunday/Monday. I have been out of the office a fair bit, plus we are dealing
with
a serious skiing accident that inv
Trying to run this I get:
bill@Ubuntu15:~/linaro/review/test/common_plat/performance$
./odp_pktio_ordered_run.sh
using PCAP_IN = ./udp64.pcap
_ishm.c:859:_odp_ishm_reserve():No huge pages, fall back to normal
pages. check: /proc/sys/vm/nr_hugepages.
PKTIO: initialized loop interface.
PKTIO: init
The shared objects listed in the ODP configuration files are
loaded at init time. The odp configuration file lists the
shared objects to be loaded as shown in the following example:
module = {
modules = ["enumerator1.so", "driver1.so"];
};
Signed-off-by: Christophe Milard
---
configure.a
The parsing of the odp.conf configuration file is added.
The file is searched first in filename specified in the environment
variable $ODP_SYSCONFIG_FILE (where the special string "none" prevent
any file loading)
The file is then searched in the user home directory (~) and
then is the $prefix/etc d
The tests should not be affected by any system or user ODP configuration
file. The ODP_SYSCONFIG_FILE environment variables is therefore set
to "none" in TESTS_ENVIRONMENT.
Tests which need specific a configuration file will have to overwrite
this setting.
Note that tests ran manually (not using ma
The linux implementation for the enumerator class registration function,
enumerator instance registration function,
devio and driver registration functions (stub)
Signed-off-by: Christophe Milard
---
include/odp_drv.h | 1 +
platform/linux-generic/Makefile.am
The enumerator class, enumerator instance, devio and driver registration
functions prototypes (and a draft of their parameters) are
defined, the goal being to define the registration framework only.
Signed-off-by: Christophe Milard
---
include/odp/drv/spec/driver.h | 293
Since V7:
-changed include order in drv_driver.c (Anders)
-correction of package name for Fedora install in DEPENDENCIES (Anders)
-user config file changed from ./odp.conf to ~/.odp.conf: then
the user config file and the usage of the environment variable are
clearly distinct (Anders)
-fi
This patch
Reviewed-by: Petri Savolainen
> -Original Message-
> From: Christophe Milard [mailto:christophe.mil...@linaro.org]
> Sent: Friday, December 30, 2016 1:59 PM
> To: francois.o...@linaro.org; forrest@linaro.org;
> mike.hol...@linaro.org; yi...@linaro.org; bill.fischo...@lina
Basic tests for odpdrv_shm_pool are added here, creating a fixed size
pool and performing basic alloc/free on it
Signed-off-by: Christophe Milard
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 86 ++
.../common_plat/validation/drv/drvshmem/drvshmem.h | 1 +
2 files
Stress tests for the random size allocator (buddy allocator in
linux-generic) are added here.
Signed-off-by: Christophe Milard
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 177 +
.../common_plat/validation/drv/drvshmem/drvshmem.h | 1 +
2 files changed, 178 inse
Basic tests for odpdrv_shm_pool are added here, creating a buddy
pool and performing basic alloc/free on it
Signed-off-by: Christophe Milard
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 92 ++
.../common_plat/validation/drv/drvshmem/drvshmem.h | 1 +
2 files chan
Adding functions to create memory pools and allocate / free memory from
the created pools.
These functions calls their _ishm conterpart, of course.
Signed-off-by: Christophe Milard
---
platform/linux-generic/drv_shm.c | 44
1 file changed, 44 insertions(+
_ishm now provides functions to create/destroy pools for buddy/slab
memory allocation, as well as functions to allocated/release memory
from the created pools.
Signed-off-by: Christophe Milard
---
platform/linux-generic/Makefile.am | 2 +
platform/linux-generic/_ishm.c
Adding functions to create and destroy memory pools (from which memory
can be allocated and freed) are added.
These functions enable the usage of small memory amount (compared to
drvshm_reserve() whose granularity is the page size).
The usage of this pool guatantees that allocated memory is sharabl
Since V2:
-comment and doxygen fixes (Petri)
Since V1:
-Common south pool (for all drivers) suppressed. (Petri)
-function to create and destroy the pools exposed to the interface,
so that each user create his own pools (Petri)
-support for fixed size allocator added (Petri, Bill)
-Creation
On 2016-12-30 10:09, Christophe Milard wrote:
> The shared objects listed in the ODP configuration files are
> loaded at init time. The odp configuration file list the
> shared objects to be loaded as shown in the following example:
> module = {
> modules = ["enumerator1.so", "driver1.so"];
On 30 December 2016 at 12:01, Savolainen, Petri (Nokia - FI/Espoo) <
petri.savolai...@nokia-bell-labs.com> wrote:
> > > +=== Known Issues
> > > +
> > > + https://bugs.linaro.org/show_bug.cgi?id=2765[Bug 2765]
> > > +The fixed storage overhead for supporting the new pool structures is
> > large
On 2016-12-30 10:09, Christophe Milard wrote:
> The parsing of the odp.conf configuration file is added.
> The file is searched first in the local directory (.) and
> then is the $prefix/etc directory.
> This requires libconfig (sudo apt-get install libconfig-dev)
>
> Signed-off-by: Christophe Mil
> >
> >> + uint64_t pool_size;
> >> +
> >> + /** Minimum alloc size application will request from pool
> (bytes)*/
> >> + uint64_t min_alloc;
> >
> > Since this is a driver interface: ... size *driver* will request ...
>
> It is not limited to drivers: other driver elements such as
> e
On 29 December 2016 at 10:19, Savolainen, Petri (Nokia - FI/Espoo)
wrote:
>
>
>> -Original Message-
>> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of
>> Christophe Milard
>> Sent: Thursday, December 29, 2016 9:57 AM
>> To: mike.hol...@linaro.org; bill.fischo...@linaro
> > +=== Known Issues
> > +
> > + https://bugs.linaro.org/show_bug.cgi?id=2765[Bug 2765]
> > +The fixed storage overhead for supporting the new pool structures is
> large
> > +(over a quarter of a gigabyte). This may have an impact on smaller
> systems.
> > +
>
>
> I think we need merge this
Hopefully, I understood what you meant :-) Sent a v7 with this updtade
as well...
/Christophe.
On 29 December 2016 at 14:39, Maxim Uvarov wrote:
> On 12/29/16 16:12, Christophe Milard wrote:
>> I have now updated the travis file (second comment) and had the
>> DEPENDENCIES file updated since the
The shared objects listed in the ODP configuration files are
loaded at init time. The odp configuration file list the
shared objects to be loaded as shown in the following example:
module = {
modules = ["enumerator1.so", "driver1.so"];
};
Signed-off-by: Christophe Milard
---
configure.ac
The tests should not be affected by any system or user ODP configuration
file. The ODP_SYSCONFIG_FILE environment variables is therefore set
to "none" in TESTS_ENVIRONMENT.
Tests which needs specific a configuration file will have to overwrite
this setting.
Note that tests ran manually (not using m
The parsing of the odp.conf configuration file is added.
The file is searched first in the local directory (.) and
then is the $prefix/etc directory.
This requires libconfig (sudo apt-get install libconfig-dev)
Signed-off-by: Christophe Milard
---
.travis.yml |
The linux implementation for the enumerator class registration function,
enumerator instance registration function,
devio and driver registration functions (stub)
Signed-off-by: Christophe Milard
---
include/odp_drv.h | 1 +
platform/linux-generic/Makefile.am
Since V6:
-more inforamtion added in the DEPENDENCIES file for libconf installation
(Maxim)
Since V5:
-name and comment changes as suggested by Maxim
in https://lists.linaro.org/pipermail/lng-odp/2016-December/027400.html
-update .travis.yml
Since V4:
-typo fix (Thanks Yi!)
-rebased.
Si
The enumerator class, enumerator instance, devio and driver registration
functions prototypes (and a draft of their parameters) are
defined, the goal being to define the registration framework only.
Signed-off-by: Christophe Milard
---
include/odp/drv/spec/driver.h | 293
29 matches
Mail list logo