[dpdk-dev] Question about ip fragment library

2014-07-10 Thread William Rolinson
Hi,all: Recently, I am reading source code about ipv4 fragment in DPDK 1.7.0. I am confused about ip packet with options. it seems that DPDK ip frag lib would omit all options from all fragments except the first one. However, in my opinion, some options must be present in all fragments,

[dpdk-dev] [PATCH 0/6] Clang compilation support on FreeBSD and Linux

2014-07-10 Thread Zhan, Zhaochen
Tested by Zhan, Zhaochen Applying these patches on the dpdk-1.7.0, we verified the compilation on FreeBSD10.0 with Clang 3.3 and Fedora20 with Clang 3.4. We also verified some simple test case (pmd, cmdline, hello_world and timer) on FreeBSD with Clang 3.3. > -Original Message- > From:

[dpdk-dev] DPDK Performance issue with l2fwd

2014-07-10 Thread zachary....@cas-well.com
Hey Guys, Recently, I have used l2fwd to test 160G (82599 10G * 16 ports), but I got a strange pheromone in my test. When I used 12 ports to test the performance of l2fwd, it can work fine and achieve 120G. But it got abnormal when I using over than 12 port. Part of ports seems something wrong an

[dpdk-dev] DPDK Performance issue with l2fwd

2014-07-10 Thread Alex Markuze
Hi Zachary, Your issue may be with the PCI-e 3, with 16 lanes Each slot is limited to 128Gb/s[3]. Now, AFAIK[1] the CPU is connected to the I/O with a single PCI-E slot. Several thoughts that may help you: 1. You can figure out the max b/w by running netsurf over the kernel interfaces (w/o DPDK)

[dpdk-dev] DPDK Performance issue with l2fwd

2014-07-10 Thread zachary....@cas-well.com
Hi Alex: Thanks for your help. I forget to describe some criteria in my original post. At first, I has confirmed my 82599 has connected by PCIe Gen3 (Gen3 x8) speed. The theoretical bandwidth can support over 160G in total. Hence, It should get full speed in my test. Second, I have ever check

[dpdk-dev] testpmd unable to set allmulti for VF

2014-07-10 Thread Tomasz K
Hi All I have an Intel 82599 with VFs created using Kernel Driver. Two of the VFs are bound to DPDK Driver. I'm trying to enable multicast for both VFs with testpmd app but it doesn't work. Output below: testpmd> show port info 0 * Infos for port 0 * MAC

[dpdk-dev] DPDK Performance issue with l2fwd

2014-07-10 Thread Richardson, Bruce
Hi, Have you tried running a test with 16 ports using any other applications, for example testpmd? Regards, /Bruce > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zachary.Jen at cas- > well.com > Sent: Thursday, July 10, 2014 2:29 AM > To: dev at dpdk.org

[dpdk-dev] [PATCH] librte_pmd_packet: add PMD for AF_PACKET-based virtual devices

2014-07-10 Thread John W. Linville
This is a Linux-specific virtual PMD driver backed by an AF_PACKET socket. This implementation uses mmap'ed ring buffers to limit copying and user/kernel transitions. The PACKET_FANOUT_HASH behavior of AF_PACKET is used for frame reception. In the current implementation, Tx and Rx queues are alw

[dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko

2014-07-10 Thread Daniel, Christopher
All, I have the following configuration on my machine Linux localhost.localdomain 3.12.6 #4 SMP Fri Dec 27 14:26:57 EST 2013 x86_64 x86_64 x86_64 GNU/Linux : Centos 1) Downloaded the latest version of DPK ( 1.7); 2) Executing the quick start instructions ( running gcc 4.7.x) 3)

[dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko

2014-07-10 Thread Jeff Shaw
On Thu, Jul 10, 2014 at 09:53:20PM +, Daniel, Christopher wrote: > 3) Having an issue with > # insmod build/kmod/igb_uio.ko > > I am getting > > insmod: error inserting './build/kmod/igb_uio.ko': -1 Unknown symbol in module > > dmesg: > igb_uio: Unknown symbol __fentry__ (err 0) >

[dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko

2014-07-10 Thread Daniel, Christopher
Yes I did modprobe uio. I can see it listed with lsmod. [root at localhost dpdk-1.7.0]# lsmod ModuleSize Used by uio10343 0 nfnetlink_queue 11564 0 nfnetlink_log9334 0 nfnetlink 57422 nf

[dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko

2014-07-10 Thread Chris Wright
* Daniel, Christopher (Chris.Daniel at flukenetworks.com) wrote: > All, > > I have the following configuration on my machine > > Linux localhost.localdomain 3.12.6 #4 SMP Fri Dec 27 14:26:57 EST 2013 x86_64 > x86_64 x86_64 GNU/Linux : Centos > > > 1) Downloaded the latest version of DPK (

[dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko

2014-07-10 Thread Daniel, Christopher
Actually I did not build the kernel. It is unmodified from the original centos download. I also did not change any build parameters while building the module. Used all the defaults from the download and executed the commands as in the quick start guide. Is there something I can change and rebuild

[dpdk-dev] Error while inserting module /build/kmod/igb_uio.ko

2014-07-10 Thread Chris Wright
* Daniel, Christopher (Chris.Daniel at flukenetworks.com) wrote: > > On Jul 10, 2014, at 6:31 PM, "Chris Wright" wrote: > > * Daniel, Christopher (Chris.Daniel at flukenetworks.com) wrote: > >> Linux localhost.localdomain 3.12.6 #4 SMP Fri Dec 27 14:26:57 EST 2013 > >> x86_64 x86_64 x86_64 GNU/Li

[dpdk-dev] DPDK with Ubuntu 14.04?

2014-07-10 Thread Matt Laswell
Hey Folks, I know that official support hasn't moved past Ubuntu 12.04 LTS yet, but does anybody have any practical experience running with 14.04 LTS? My team has run into one compilation error so far with 1.7, but other than that things look OK at first blush. I'd like to move my product to 14.