[dpdk-dev] [PATCH] eal/linuxapp: Add parameter to specify master lcore id

2014-07-22 Thread Hiroshi Shimamoto
Hi all, does anyone have interest in this functionality? I think this is important and useful. Since we should care about core assignment to get high performance and the master lcore thread is special in DPDK, we will want to assign the master to the target core. For example, with hyperthreading

[dpdk-dev] How to change the mbuf size

2014-07-22 Thread GongJinrong
Hi, guys I am using pmd driver to capture packets, the MTU is 8000, so I want to change the dpdk memory block size to 8000, how can I do that? Best Regards John Gong

[dpdk-dev] DMAR errors when running testpmd on kernel >= 3.15

2014-07-22 Thread didier.pallard
Hello, I am testing testpmd on recent kernels (>= 3.15) and i have an IOMMU problem (there are several commits around IOMMU in v3.15, they may be related with this problem): Hardware: Platform: Intel S2600IP CPU: Intel(R) Xeon(R) CPU E5-2697 v2 @ 2.70GHz BIOS version: SE5C600.86B.02.03.0003.041

[dpdk-dev] [PATCH] l3fwd improve grouping by destination port a bit

2014-07-22 Thread Konstantin Ananyev
Latest changes introduced a small degradation for the corner case when each input packet is destined to the different port. For the test-case when 1 core manages 4 ports and packet stream looks like: IPV4_DSTPORT0, IPV4_DSTPORT1, IPV4_DSTPORT3, IPV4_DSTPORT4, IPV4_DSTPORT0, ... non-optimised code p

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

2014-07-22 Thread Thomas Monjalon
> > 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 ha

[dpdk-dev] [PATCH 1/5] vmxnet3: fix all multicast vs promiscious

2014-07-22 Thread Thomas Monjalon
Signed-off-by: Stephen Hemminger Serie acked-by: Thomas Monjalon Applied for version 1.7.1. Stephen, do you plan to merge the Brocade's version of vmxnet3? Thanks -- Thomas

[dpdk-dev] [PATCH v2 0/3] VMXNET3 support for FreeBSD.

2014-07-22 Thread Thomas Monjalon
2014-07-03 07:16, Neil Horman: > On Thu, Jul 03, 2014 at 10:32:29AM +0100, Maciej Gajdzica wrote: > > Enabled VMXNET3 compilation for FreeBSD in the makefiles. Fixed some > > minor issues to make it run. > > Acked-by: Neil Horman Applied for version 1.7.1. Thanks -- Thomas

[dpdk-dev] free a memzone

2014-07-22 Thread Mahdi Dashtbozorgi
Hi, I have two processes, which uses DPDK multi-process feature to communicate. Master process captures packets from NIC and put them to a ring buffer, which is shared between master and slave process. The slave process looks up the shared ring buffer using rte_ring_lookup function and reads the p

[dpdk-dev] [PATCH 3/3] vhost: Update reference in user space vhost sample

2014-07-22 Thread Ouyang Changchun
Update the reference from start_rx_per_q to rx_enable_queue in sample vhost. Signed-off-by: Ouyang Changchun --- examples/vhost/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/vhost/main.c b/examples/vhost/main.c index 193aa25..2eea431 100644 --- a/example

[dpdk-dev] [PATCH 2/3] ixgbe: Rename field name for queue start in ixgbe PMD

2014-07-22 Thread Ouyang Changchun
According to field name change in struct rte_eth_rxconf, update field name from start_rx_per_q to rx_enable_queue in struct igb_rx_queue in ixgbe PMD, do same thing for TX. Signed-off-by: Ouyang Changchun --- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 8 lib/librte_pmd_ixgbe/ixgbe_rxtx.h | 4

[dpdk-dev] [PATCH 1/3] ether: Update field name and description for queue start

2014-07-22 Thread Ouyang Changchun
Rename the field name from start_rx_per_q to rx_enable_queue in struct rte_eth_rxconf, and do same thing for TX. This patch also update description for field rx_enable_queue and tx_enable_queue. Signed-off-by: Ouyang Changchun --- lib/librte_ether/rte_ethdev.h | 16 ++-- 1 file cha

[dpdk-dev] [PATCH 0/3] Rename field name for RX/TX queue start/stop

2014-07-22 Thread Ouyang Changchun
This patch series include 3 things: 1) Rename the field name from start_rx_per_q to rx_enable_queue in struct rte_eth_rxconf, and do same thing for TX. This patch also update description for field rx_enable_queue and tx_enable_queue. 2) According to 1), update field name from start_rx_per_q to rx_

[dpdk-dev] [PATCH] virtio: Support mergeable buffer in virtio PMD.

2014-07-22 Thread Thomas Monjalon
Hi, 2014-07-12 10:24, Ouyang Changchun: > This patch supports mergeable buffer feature in DPDK based virtio PMD, which > can > receive jumbo frame with larger size, like 3K, 4K or even 9K. > > Signed-off-by: Ouyang Changchun Could you please rebase your patch on current master branch? There i

[dpdk-dev] [PATCH 0/8] virtio driver phase 2

2014-07-22 Thread Thomas Monjalon
> > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen Hemminger > > > > This is second group of patches for cleaning up virtio driver > > prior to the functionality changes in next phase. > > Acked-by: Alan Carew Applied for version 1.7.1. Thanks -- Thomas

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

2014-07-22 Thread Thomas Monjalon
Hi Matthew, I think that patches 1, 3 and 4 need some rework but this one is valid and has no relation with other ones in the serie. So it can be integrated now. 2014-07-20 20:47, Matthew Hall: > --- a/examples/vhost/virtio-net.c > +++ b/examples/vhost/virtio-net.c > @@ -280,8 +280,8 @@ get_confi

[dpdk-dev] [PATCH 1/1] librte_pmd_virtio: Fix incorrect device specific header offset when MSI-X is disabled

2014-07-22 Thread Thomas Monjalon
2014-06-16 12:10, Alan Carew: > Signed-off-by: Alan Carew Applied for version 1.7.1. Thanks -- Thomas

[dpdk-dev] [PATCH v2] virtio: Fix 32bit pmd for 64bit kernel

2014-07-22 Thread Thomas Monjalon
2014-07-18 03:53, Vijayakumar Muthuvel Manickam: > *virtio_net_hdr_mem* member within *virtqueue* structure stores a > physical address and is defined as void ptr. When 32bit pmd is used > with 64bit kernel this leads to truncation of 64bit physical address > and pkt i/o does not work. > Changed *v

[dpdk-dev] [igb_uio PATCH 0/3] igb_uio: fixed typos and pci lock/unlock calls

2014-07-22 Thread Thomas Monjalon
> Yerden Zhumabekov (3): > igb_uio: fixed typos Acked-by: Thomas Monjalon > igb_uio: pci_config_lock/pci_config_unlock wrappers > igb_uio: renaming pci config lock/unlock functions These patches are replaced by a simple fallback which do not touch functions for upstream version (as reques

[dpdk-dev] [igb_uio PATCH 2/3] igb_uio: pci_config_lock/pci_config_unlock wrappers

2014-07-22 Thread Thomas Monjalon
2014-07-21 13:42, Stephen Hemminger: > On Mon, 21 Jul 2014 18:03:53 +0600 > Yerden Zhumabekov wrote: > > > Since PCI config lock/unlock functions were renamed in linux kernel, > > these wrappers are introduced to reflect this change. > > > > Signed-off-by: Yerden Zhumabekov > > --- > > lib/lib

[dpdk-dev] How to change the mbuf size

2014-07-22 Thread Zhang, Helin
Hi John No, you do not need to change the mbuf size, you just need to configure the maximum packet length and jumbo frame correctly. Of cause, if you want to put the whole packet into a mbuf, you can define size of mbuf you wanted when calling rte_mempool_create() during initialization. Regard

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

2014-07-22 Thread Matthew Hall
On Tue, Jul 22, 2014 at 03:14:51PM +0200, Thomas Monjalon wrote: > Hi Matthew, > > I think that patches 1, 3 and 4 need some rework but this one is valid > and has no relation with other ones in the serie. So it can be integrated now. Great thanks! I'll work a bit more on the others when I've go

[dpdk-dev] [PATCH 0/3] Rename field name for RX/TX queue start/stop

2014-07-22 Thread Thomas Monjalon
Hi, 2014-07-22 15:47, Ouyang Changchun: > This patch series include 3 things: > 1) Rename the field name from start_rx_per_q to rx_enable_queue in > struct rte_eth_rxconf, and do same thing for TX. > This patch also update description for field rx_enable_queue and > tx_enable_queue. > 2) Accordin

[dpdk-dev] [PATCH 0/2] link bonding unit test fix

2014-07-22 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Declan Doherty > Sent: Monday, July 21, 2014 3:52 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 0/2] link bonding unit test fix > > > fix for link bonding unit tests which are failing due to change intr

[dpdk-dev] [PATCH 1/3] ether: Update field name and description for queue start

2014-07-22 Thread Stephen Hemminger
On Tue, 22 Jul 2014 15:47:30 +0800 Ouyang Changchun wrote: > + /**< If rx_enable_queue is true, rte_eth_dev_rx_queue_start must be > + invocated after rte_eth_dev_start's invocation to start RX for > + one queue, and rte_eth_dev_rx_queue_start instead of > +

[dpdk-dev] [PATCH 0/3] Rename field name for RX/TX queue start/stop

2014-07-22 Thread Chen, Jing D
Hi Thomas, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Tuesday, July 22, 2014 5:38 PM > To: Ouyang, Changchun > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/3] Rename field name for RX/TX queue > start/stop > > Hi, > >