gt;> 71,73c71,73
>> < WERROR_FLAGS := -W -Wall -Werror
>> < WERROR_FLAGS += -Wmissing-declarations -Wpointer-arith
>> < WERROR_FLAGS += -Wcast-align -Wcast-qual
>> ---
>> > WERROR_FLAGS := -W -Wall -Werror -Wstrict-prototypes
>> > -Wmi
Hi,
I tried a lot (more than a week) to solve the problem myself and not
to bother the list, but I didn't succeed. Maybe other people have the
same problem.
I have a simple program attached. It is intended for simple packet
capturing; captures from interface and writes to memory, and frees the
mem
Hi,
I'm in need of running an open() function, that is part another program.
open() does many things, the very first of them is rte_eal_init(argv, argc)
I should not receive argc, and argv from main function of the program,
but rather I should produce it myself.
What I've done inside open() functi
actually I've used:
char* argv[] = {"./build/l2fwd","-c","ff","-n","4", NULL};
(NULL at the end of the list).
Thanks.
On 2/18/14, Hamid Ramazani wrote:
> Hi,
> I'm in need of running an open() function, that is part ano
Hi,
I wanted to write a simple program using class (object oriented). I've
attached my helloClass.cpp and also Makefile. after runnig make I get
below errors.
I think:
1. it is the problem of using c code in c++
2. I've used extern "C" in helloClass.cpp
3. Should I recompile the DPDK from source w
if compiling against libpcap but in this
> case you need to link against object files, not a shared library.
>
> Good luck!
> Stefan
>
> Sent from my smart phone; people don't make typos, Swype does!
> On Jan 2, 2014 4:35 AM, "Hamid Ramazani" wrote:
>
>> H
Hi,
Anyone has written an object oriented DPDK application?
I've written a simple helloClass program, and I've created the object
file by following Makefile:
helloClass.o : helloClass.cpp
g++ -c helloClass.cpp
-I/home/hamid/dpdk/dpdk-1.5.1r1/x86_64-default-linuxapp-gcc/include
but I've
;
> std::endl;
> };
> };
>
> int main(int argc, char** argv)
> {
> Runner* runner = new Runner();
> runner->run(argc, argv);
> delete runner;
> exit(0);
> }
>
>
> Thanks,
> Stefan
>
>
> On Thu, Jan 2, 2014 at 4:52 PM, Stefan Baranof
e could
be written much better; Maybe I made it completer in future.
All the Best,
--Hamid
On 1/3/14, Thomas Monjalon wrote:
> Hello,
>
> 03/01/2014 11:48, Hamid Ramazani :
>> eal_timer.c:(.text+0x42c): undefined reference to `clock_gettime'
>
> From "man clock_gett
Hi,
Considering the fact that there are many developers using c++, I
totally persuade/agree with the addition of c++ functionality, and
thanks to Thomas's guidelines it won't create any overhead in usage.
All the Best,
--Hamid
On 1/14/14, Thomas Monjalon wrote:
> Hello Venky,
>
> 14/01/2014 14:
Hi,
Anybody has written FindDPDK.cmake?
Like those under "/usr/share/cmakeXXX/Modules".
All the Best,
--Hamid
Hi,
Is there any other way than freeing memory pool?
I see rte_pktmbuf_free function call in almost all examples.
can we have a ring-like memory pool without need to free it?
Thanks in advance for your consideration.
12 matches
Mail list logo