[dpdk-dev] Assembly code

2016-06-21 Thread Mahdi Moradmand Badie
Dear All, I used the default format of Makefile (as follow) which is available in the examples, I was wondering how I could generate the assembly (main.s) related to my main.c, via Makefile. PS. using -S doesn't work :( ifeq ($(RTE_SDK),) $(error "Please define RTE_SDK environment variable")

[dpdk-dev] how to Read(Write) from(to) via lcores in dpdk regardless of NIC

2016-03-07 Thread Mahdi Moradmand Badie
Dear All, I am Mahdi and I am new in DPDK, I wanna generate for example 3 different packets in core0 as master write it to share memory (L3), then core1 as slave read this packets, change them with for example function1 and write again in share memory (L3) and finally check the result with

[dpdk-dev] [dpdk-users] how to Read(Write) from(to) via lcores in dpdk regardless of NIC

2016-03-08 Thread Mahdi Moradmand Badie
. > > Regards, > Hamed Zaghaghi > > On Tue, Mar 8, 2016 at 12:16 AM Mahdi Moradmand Badie < > mahdi.mbadie at gmail.com> wrote: > >> Dear All, >> I am Mahdi and I am new in DPDK, >> I wanna generate for example 3 different packets in core0 as master writ

[dpdk-dev] [dpdk-users] how to Read(Write) from(to) via lcores in dpdk regardless of NIC

2016-03-08 Thread Mahdi Moradmand Badie
e_mbuf)[ > http://dpdk.org/doc/api/rte__mbuf_8h.html]) > 3. Share between lcores (DPDK offers rte_ring) > > > > On Tue, Mar 8, 2016 at 8:45 AM Mahdi Moradmand Badie < > mahdi.mbadie at gmail.com> wrote: > >> Dear Hamed, >> >> First of all thank

[dpdk-dev] Multiple Ring for Multiple Cores

2016-04-15 Thread Mahdi Moradmand Badie
Dear All, I have a written code which doesn't work like I want, I wanna have a separate ring_buffer for each core (each core has its own ring), So I have a 2D array with initial values, Each core start read each row of values array, do the counter (or function) and write it back on own ring, I

[dpdk-dev] [dpdk-users] how to Read(Write) from(to) via lcores in dpdk regardless of NIC

2016-03-22 Thread Mahdi Moradmand Badie
your shared > structures (rte_ring or rte_distributor) eventually get into the > cache. > > Andriy > > On Tue, Mar 8, 2016 at 10:49 PM, Mahdi Moradmand Badie > wrote: > > Another issue, ;) > > How I could access to the share memory cache of lcores (L3), the rte_ring > >

[dpdk-dev] rte_malloc

2016-05-09 Thread Mahdi Moradmand Badie
Hello All, I had a problem regarding use the rte_malloc. I want to know if I want to use rte_malloc instead of malloc just mak change like this struct lcore_params *p = malloc (sizeof(*p)); ==> struct lcore_params *p

[dpdk-dev] rte_malloc

2016-05-10 Thread Mahdi Moradmand Badie
Thanks Sergio, Yes sure, I attached files, it seems so easy but doesn't work. Thanks, On 10 May 2016 at 04:12, Sergio Gonzalez Monroy < sergio.gonzalez.monroy at intel.com> wrote: > Hi, > > On 09/05/2016 18:32, Mahdi Moradmand Badie wrote: > >> Hello All, >> &g

[dpdk-dev] rte_malloc

2016-05-10 Thread Mahdi Moradmand Badie
Thanks Sergio, Yes sure, I attached files, it seems so easy but doesn't work. Thanks, On 10 May 2016 at 04:12, Sergio Gonzalez Monroy < sergio.gonzalez.monroy at intel.com> wrote: > Hi, > > On 09/05/2016 18:32, Mahdi Moradmand Badie wrote: > >> Hello All, >> &g

[dpdk-dev] rte_malloc

2016-05-10 Thread Mahdi Moradmand Badie
#!/bin/sh ./build/app/Mahdi_test -c 0x55 --master-lcore 0 On 10 May 2016 at 11:31, Sergio Gonzalez Monroy < sergio.gonzalez.monroy at intel.com> wrote: > Forgot to ask, > > What's the command line you are using to run the app? > > Sergio > > > On 10/05/2016 16:1

[dpdk-dev] rte_malloc

2016-05-10 Thread Mahdi Moradmand Badie
No, I don't have any idea? :) On 10 May 2016 at 12:12, Sergio Gonzalez Monroy < sergio.gonzalez.monroy at intel.com> wrote: > Have you tried to run the unit tests? (Run 'app/test' application, then > 'malloc_autotest') > > Sergio > > > On 10/05/2016 16:55, Mahdi Moradm