[dpdk-dev] [PATCH 4/4] rte.extvars.mk: allow user to override RTE_SDK_BIN

2014-07-20 Thread Matthew Hall
Without this patch it is impossible to compile the examples if you have compiled the DPDK into the $(RTE_SDK)/build directory, or any other one besides $(RTE_SDK)/$(RTE_TARGET). Signed-off-by: Matthew Hall --- mk/rte.extvars.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

[dpdk-dev] [PATCH 3/4] examples/*: -Wno-switch required for weird ioctl() ID's

2014-07-20 Thread Matthew Hall
Signed-off-by: Matthew Hall --- examples/multi_process/client_server_mp/mp_client/Makefile | 1 + examples/multi_process/client_server_mp/mp_server/Makefile | 1 + examples/multi_process/l2fwd_fork/Makefile | 1 + examples/multi_process/simple_mp/Makefile | 1 + e

[dpdk-dev] [PATCH 2/4] virtio-net.c: incorrect parens around equality check

2014-07-20 Thread Matthew Hall
Signed-off-by: Matthew Hall --- examples/vhost/virtio-net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/vhost/virtio-net.c b/examples/vhost/virtio-net.c index 801607a..5e659c7 100644 --- a/examples/vhost/virtio-net.c +++ b/examples/vhost/virtio-net.c @@ -280,8

[dpdk-dev] [PATCH 1/4] l3fwd: some functions are unused in l3fwd-acl

2014-07-20 Thread Matthew Hall
Signed-off-by: Matthew Hall --- examples/l3fwd/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/l3fwd/Makefile b/examples/l3fwd/Makefile index 68de8fc..5cd7396 100644 --- a/examples/l3fwd/Makefile +++ b/examples/l3fwd/Makefile @@ -46,6 +46,7 @@ SRCS-y := main.c CFLAGS += -O

[dpdk-dev] [PATCH] examples: fix clang compilation issues

2014-07-20 Thread Matthew Hall
Contains adjustments to some warnings which prevent examples from compiling under clang. Contains ability to override RTE_SDK_BIN in rte.extvars.mk, without which it's impossible to compile the examples against DPDK if it compiled into any build directory not named identically to the RTE_TARGET

[dpdk-dev] Running independent processes on the same machine

2014-07-20 Thread Kai Zhang
Hi Bruce, Thanks for your help. I have implemented rx and tx in the same program to measure round trip latency. 2 machines (A and B) are connected back-to-back with Intel 82599 NIC. Machine A embeds a time stamp in the packet and sends to B, B (use testpmd or l2fwd) forwards packets back to A imm

[dpdk-dev] Running independent processes on the same machine

2014-07-20 Thread Richardson, Bruce
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Kai Zhang > Sent: Sunday, July 20, 2014 11:04 AM > To: dev at dpdk.org > Subject: [dpdk-dev] Running independent processes on the same machine > > Hello, > > I have been trying to measure the round trip latency

[dpdk-dev] [PATCH 00/10] igb_uio related patches

2014-07-20 Thread Yerden Zhumabekov
hi, Unfortunately the latest 'master' no longer builds on ubuntu 12.04. Build log attached. i've also added a patch to fix it. It involves fixing some typos and reverting pci dev lock/unlock functions from older kernel versions (maybe I'm not at liberty doing this). Please consider/remark. 19.07

[dpdk-dev] Running independent processes on the same machine

2014-07-20 Thread Kai Zhang
Hello, I have been trying to measure the round trip latency with two machines, A->B->A. I modified l2fwd as two new apps: rx and tx, where tx sends packets and embeds time stamp, rx receives packets and calculate the round trip latency. The source code are as follows: https://github.com/kay21s/dpd

[dpdk-dev] KNI interface

2014-07-20 Thread Zhou, Danny
> >KNI is mainly designed for exception path or control plane packets that > >need to be pushed > >to Linux TCP/IP packets in the kernel. You can push all the packets that > >DPDK PMD received > >in the user space via KNI to kernel, but majority of them will be dropped > >for two reasons: 1) skb >