[dpdk-dev] PMD for Cisco VIC Ethernet NIC - Request for guidelines for submission

2014-07-09 Thread Hobywan Kenoby
Hi Sujith, It was exciting to see open source code coming from Cisco ensuring a DPDK application can run on any platform and with any cardI haven't seen your patch yet. What happened? HK > Date : Wed, 28 May 2014 08:06> From : dev [mailto:dev-bounces at dpdk.org] > To : dev at dpdk.org

[dpdk-dev] Running kni with low amount of cores

2014-07-09 Thread Olson, Matt Lyle
Hello, I have two NIC devices and a quad core system that I'm trying to run kni on. I would like to leave two cores for general use and two cores for kni. When run kni on just one of the ports, everything works fine and I can use that vEth normally. The exact command I run is this: ./kni -c 0x0

[dpdk-dev] [PATCH 2/2] app/test: Simplified ring pmd test

2014-07-09 Thread Pablo de Lara
As this unit test does not create devices anymore, and uses devices created by EAL option --vdev, there were unnecesary tests that were repeated, so they have been removed. So now there are three tests: 1 - Test two devices that share a ring, one device with just one RX queue and the other wi

[dpdk-dev] [PATCH 1/2] ring_pmd: Removed extra devices creation when passing vdev parameter

2014-07-09 Thread Pablo de Lara
When passing extra arguments in EAL option --vdev, to create ring ethdevs, API was creating three ethdevs, even if there was just one argument, such as CREATE. Signed-off-by: Pablo de Lara --- lib/librte_pmd_ring/rte_eth_ring.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff -

[dpdk-dev] [PATCH 0/2] Fixed/Simplified Ring PMD

2014-07-09 Thread Pablo de Lara
Ring PMD library and unit test was modified last release, causing the unit test to need ring ethdevs to be created from the command line. This patch simplifies the test and make it functional with devices created with EAL option vdev. Also, ring ethdev creation from vdev has been changed, so now o

[dpdk-dev] implicit declaration of function rte_igb_pmd_init()

2014-07-09 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of sothy shan > Sent: Wednesday, July 9, 2014 8:52 PM > To: dev at dpdk.org > Subject: [dpdk-dev] implicit declaration of function rte_igb_pmd_init() > > Hi All! > > I have an error when I compile latest DPDK o

[dpdk-dev] implicit declaration of function rte_igb_pmd_init()

2014-07-09 Thread Thomas Monjalon
Hi, 2014-07-09 14:52, sothy shan: > /home/cubiq/sothy/dpdk-ovs/openvswitch/datapath/dpdk/init.c:42:0: > /home/cubiq/sothy/dpdk-ovs/openvswitch/datapath/dpdk/init_drivers.h: In > function ?init_drivers?: > /home/cubiq/sothy/dpdk-ovs/openvswitch/datapath/dpdk/init_drivers.h:49:4: > error: implicit d

[dpdk-dev] implicit declaration of function rte_igb_pmd_init()

2014-07-09 Thread sothy shan
Hi All! I have an error when I compile latest DPDK ovs code. DPDK version is 1.7. Error is: CC main.o CC init.o In file included from /home/cubiq/sothy/dpdk-ovs/openvswitch/datapath/dpdk/init.c:42:0: /home/cubiq/sothy/dpdk-ovs/ope

[dpdk-dev] 32 bit virtio_pmd pkt i/o issue

2014-07-09 Thread Vijayakumar Muthuvel Manickam
Hi Huawei, Thanks a lot for pointing out the cause for this issue. I changed *virtio_net_hdr_mem* member in *struct virtqueue* from (void *) to phys_addr_t and the necessary typecast changes in code and don't see the issue after my changes. Below is the diff of my changes, diff -Naur a/librte_pm

[dpdk-dev] 32 bit virtio_pmd pkt i/o issue

2014-07-09 Thread Xie, Huawei
This is due to inappropriate conversion like vq->virtio_net_hdr_mem = (void *)(uintptr_t)vq->virtio_net_hdr_mz->phys_addr; Those two types have different width on 32bit and 64 bit, which cut higher 32 bits for 32bit APP running on 64bit system. Will provide fix for this. Don?t k

[dpdk-dev] librte_distributor relies on RSS?

2014-07-09 Thread Yerden Zhumabekov
Hi, As far as I understand the code of rte_distributor, rte_distributor_process() assign packets to workers using m->pkt.hash.rss field of the mbuf. It means that Receive Side Scaling should be initialized for the NIC. Otherwise, all packets would be erroneously distributed to the same single work

[dpdk-dev] [PATCH 0/2] Fixed/Simplified Ring PMD

2014-07-09 Thread Neil Horman
On Wed, Jul 09, 2014 at 03:35:34PM +0100, Pablo de Lara wrote: > Ring PMD library and unit test was modified last release, > causing the unit test to need ring ethdevs to be created > from the command line. This patch simplifies the test > and make it functional with devices created with EAL option

[dpdk-dev] Setup script for xen ?

2014-07-09 Thread Liu, Jijiang
The setup script in Dom0 probably can't work. Could you execute DPDK application on Dom0 as follows: 1. insmod igb_uio.ko 2. insmod rte_dom0_mm.ko Before compiling DPDK, you should set CONFIG_RTE_LIBRTE_XEN_DOM0=y (# #Compile Xen domain0 support # CONFIG_RTE_LIBRTE_XEN_DOM0=y ) 3. echo 2048 > /