From: Pei Chao
Remove duplicated lines when reserving memory zone.
Signed-off-by: Pei Chao
---
lib/librte_eal/common/eal_common_memzone.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/lib/librte_eal/common/eal_common_memzone.c
b/lib/librte_eal/common/eal_common_memzone.c
index f03
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
Stefan,
I did:
find `pwd` | egrep "[ao]$" >> liblistWithDuplicates.txt
then opened it and added \ to the end of each line and added those
libraries to my g++ arguments in Makefile after helloClass.o
Now, in output I get two types of errors:
multiple definition of
undefined reference to ...
Hamid,
I apologize for the earlier slight misdirection; I was on my phone and
trying to respond from memory. The actual answer is really to use
-lrte_static_library_name and not referencing the .o files. Sorry!!!
To get this I ran 'make -n' on the 'Hello World' example app (careful,
there's the g
The new release can be downloaded here:
http://dpdk.org/browse/dpdk/tag/?id=v1.5.1r2
Changelog
- fixes for:
* ICC build
* pcap PMD
- enhancements:
* 82546EB in e1000 PMD
Thank you to everyone,
--
Thomas
02/01/2014 14:05, peichao85 at gmail.com :
>
> Remove duplicated lines when reserving memory zone.
>
> Signed-off-by: Pei Chao
Acked and applied in 1.5.1r2 with this log:
mem: remove duplicated lines
Extra space for future alignment was reserved twice.
It was introduced in version
20/12/2013 13:52, Thomas Monjalon :
> Intel 82546EB Gigabit ethernet controller is reported to be working
> with copper.
>
> Tested-by: Ognjen Joldzic
> Signed-off-by: Thomas Monjalon
pushed in 1.5.1r2
--
Thomas
24/12/2013 02:05, Surya Nimmagadda :
> Program received signal SIGILL, Illegal instruction.
> 0x080c3084 in rte_malloc_socket ()
What is your CPU ?
How did you compiled DPDK (for which CPU) ?
--
Thomas
23/12/2013 10:18, Jose Gavine Cueto :
> I can't find a MACRO for this nic in rte_pci_dev_ids.h, does this mean this
> isn't supported as of this moment ?
Yes
But probably that
hw->mac.type = ixgbe_mac_X540
apply also to x540-at2.
Please to try to add it and send the patch if it works.
--
hello devs,
I am using DPDK 1.5.0 and trying to use KNI interface to measure throughput
through it
I have machine with 2 lcores and 2 physical interface, and in running kni
sample applica
Hello Dmitry,
06/12/2013 14:22, Dmitry Vyal :
> The application consists of two threads, first one sends the packets
> from one port and second receives them on another. These are 2 ports of
> four-ports 1Gb NIC. It's detected as Intel Corporation 82576 Gigabit
> Network Connection (rev 01). Ports
Hello,
04/12/2013 16:39, Mats Liljegren :
> The only place where I know which core will handle which pcap
> interface, is within my DPDK application. But DPDK did not save the
> host interface name anywhere, so it was nowhere to be found.
>
> I created a patch for this, found below. Is this somet
12/09/2013 09:52, Dmitry Vyal :
> If I understand it correctly, the ring contains free buffers and
> rte_ring_count() returns a number of entries inside a ring. So this
> function actually calculates the number of free entries, not busy.
Yes, you're right. mempool's objects are free mbufs.
So memp
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
Hi C R,
This is a limitation of the KNI example and not of the DPDK package. The
current KNI example can use one core for single task - Egress/Ingress on
one port.
You definitely can change it, look into *main_loop *function.
Regards,
Daniel Kaminsky
On Thu, Jan 2, 2014 at 11:32 AM, cr singh
On Fri, 06 Dec 2013 17:22:37 +0400
Dmitry Vyal wrote:
> Hello list,
>
> For some time I've been writing a custom packet generator coupled with a
> packet receiver using DPDK.
>
> It works greatly when used for generating millions of packets, but
> unexpectedly It has troubles generating a se
On Wed, 4 Dec 2013 16:39:05 +0100
Mats Liljegren wrote:
> I played around with pcap to compare it against "pure" DPDK user-space
> driver. I realized that interrupt affinity suddenly becomes important,
> since it uses interrupts. So I needed a way to set it.
>
> The only place where I know which
On Sat, 21 Dec 2013 00:37:36 +0100
Thomas Monjalon wrote:
> From: Damien Millescamps
>
> Add lock prefix before xchg instructions in order to be atomic
> and flush speculative values to ensure effective execution order
> (as an acquire barrier).
>
> MPLOCKED is a "lock" in multicore case.
>
>
Hamid,
I do not think your attachments made it through but it looks like you are
not linking the DPDK object files in this line:
g++ helloClass.o
-I/home/hamid/dpdk/dpdk-1.5.1r1/x86_64-default-linuxapp-gcc/include
-lstdc++
There would need to be many more files beyond helloClass.o listed. Try
add
19 matches
Mail list logo