Re: [lng-odp] [PATCHv3 1/2] scripts: add builddpdk

2016-03-24 Thread Nikolay Nikolaev
On Thu, Mar 24, 2016 at 6:34 PM, Mike Holmes wrote: SNIP > > ... --- .gitignore | 1 + scripts/build-pktio-dpdk | 26 ++ 2 files changed, 27 insertions(+)

Re: [lng-odp] [API-NEXT PATCHv2 2/4] api: cpu: add routines for obtaining socket ids

2016-03-23 Thread Nikolay Nikolaev
On Thu, Mar 24, 2016 at 12:19 AM, Bill Fischofer wrote: > > Add odp_cpu_socket_id() and odp_cpu_socket_id_cpu() routines I wonder how those are going to be implemented on non-NUMA systems like ThunderX? Jerin do you have any comments here? regards, Nikolay Nikolaev > > > Sign

Re: [lng-odp] [PATCHv3 1/2] scripts: add builddpdk

2016-03-23 Thread Nikolay Nikolaev
test' > Makefile:464: recipe for target 'all-recursive' failed > make: *** [all-recursive] Error 1 > > > However the dependencies don't list anything about pcap to run this > script, should the script test for pcap support ? > >From personal experience i

Re: [lng-odp] [API-NEXT PATCH] api: pktio api to enable/disable offload features

2016-03-21 Thread Nikolay Nikolaev
On Mon, Mar 21, 2016 at 12:48 PM, Maxim Uvarov wrote: > On 03/21/16 13:25, Nikolay Nikolaev wrote: >> >> On Mon, Mar 21, 2016 at 12:14 PM, Maxim Uvarov >> wrote: >>> >>> Introduce pktio offload functions api to enable and disable >>> such offload

Re: [lng-odp] [API-NEXT PATCH] api: pktio api to enable/disable offload features

2016-03-21 Thread Nikolay Nikolaev
). I believe that "print" is for debug/test purposes, maybe will be better to have the full set/get pair? regards, Nikolay Nikolaev > > Signed-off-by: Maxim Uvarov > --- > include/odp/api/spec/packet_io.h | 1 + > inc

Re: [lng-odp] [PATCH] scripts: add builddpdk

2016-03-19 Thread Nikolay Nikolaev
pdk" (note the dot), which will be ignored by git AFAIK. > +cd dpdk You may use bash's pushd/popd for going back and forth between the folders instead of cd. > +git checkout -b bv2.2.0 v2.2.0 > + > +#Make and edit DPDK configuration > +make config T=x86_64-native-linuxapp-gcc

[lng-odp] [PATCH v1 0/2] Build ODP-DPDK on arm/arm64

2016-03-15 Thread Nikolay Nikolaev
This series enable the compilation of the ODP-DPDK on the arm platforms. There are two problems fixed: - deciding when to use -msse4.2 - fixing rte_memcpy being a #define on arm --- Nikolay Nikolaev (2): configure: use ARCH_X86 conditional and decide when to use sse4.2 std_lib

[lng-odp] [PATCH v1 2/2] std_lib: dpdk_memcpy definition for arm/arm64

2016-03-15 Thread Nikolay Nikolaev
DPDK for arm/arm64 uses a #define for the rte_memcpy, which is not suitable to get as a function pointer. For those platforms, wrap it in a static function and pass its address as dpdk_memcpy. Signed-off-by: Nikolay Nikolaev --- platform/linux-dpdk/odp_std_clib.c |9 + 1 file

[lng-odp] [PATCH v1 1/2] configure: use ARCH_X86 conditional and decide when to use sse4.2

2016-03-15 Thread Nikolay Nikolaev
In order to allow build on non-x86 systems add ARCH_X86 conditional and use it when deciding on the -msse4.2 flag. Signed-off-by: Nikolay Nikolaev --- configure.ac|1 + platform/linux-dpdk/Makefile.am |6 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff

Re: [lng-odp] [PATCH] linux-generic: shmem: odp scope in /dev/shmem

2016-02-23 Thread Nikolay Nikolaev
IWUSR | S_IRGRP | S_IROTH); > if (fd == -1) { > - ODP_DBG("%s: shm_open failed.\n", name); > + ODP_DBG("%s: shm_open failed.\n", shm_devname); > return ODP_SHM_INVALID; > } > } else { > -- > 2.1.4 > > ___ > lng-odp mailing list > lng-odp@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/lng-odp regards, Nikolay Nikolaev ___ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp