[dpdk-dev] [PATCH] acl: fix target arch detection

2015-09-25 Thread Zoltan Kiss
This test selects AVX2 code even if the target architecture doesn't support it. Signed-off-by: Zoltan Kiss --- diff --git a/lib/librte_acl/Makefile b/lib/librte_acl/Makefile index 46acc2b..17a9f96 100644 --- a/lib/librte_acl/Makefile +++ b/lib/librte_acl/Makefile @@ -57,7 +57,7 @@

[dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597

2015-09-25 Thread Tony Lu
Hi, Arthas I don't see the failed messages in your log, so that can't give you useful guidance. Are you running testpmd or your own apps? Can you generate some packets on another GX, and check if the dpdk can receive packets with testpmd. Overall, I recommend you to run our latest MDE, as that's

[dpdk-dev] [PATCH v1] Move rte_mbuf macros to common header file

2015-09-25 Thread Ravi Kerur
On Thu, Sep 24, 2015 at 4:25 PM, Stephen Hemminger < stephen at networkplumber.org> wrote: > On Thu, 24 Sep 2015 15:50:41 -0700 > Ravi Kerur wrote: > > > Macros RTE_MBUF_DATA_DMA_ADDR and RTE_MBUF_DATA_DMA_ADDR_DEFAULT > > are defined in each PMD driver file. Move those macros into common > >

[dpdk-dev] Need your thoughts on DPDK hash table / DPDK lookup/insert API's

2015-09-25 Thread Yeddula, Avinash
Hello All, 1. I've a scenario where I need to walk the entire Hash table to retrieve the data. I'm currently using DPDK extensible bucket hash in the rte_table library of packet framework. Since I'll not be storing the keys anywhere else, I don't have a way to walk hash table. I'm

[dpdk-dev] [PATCH] i40e: workaround for Security issue in SR-IOV mode

2015-09-25 Thread Jingjing Wu
In SR-IOV mode a VF sending LFC or PFC would throttle the entire port. The workaround is to add a filter to drop pause frames from VFs from sending pause frames. Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 30 ++ 1 file changed, 30 insertions(+)

[dpdk-dev] [PATCH v1 7/7] l3fwd-power: disable interrupt when wake up from sleep

2015-09-25 Thread Yong Liu
From: Marvin Liu e1000 device interrupt can't be auto-clear. So disble interrupt when thread wake-up. Signed-off-by: Marvin Liu diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c index 8bb88ce..9175989 100644 --- a/examples/l3fwd-power/main.c +++

[dpdk-dev] [PATCH v1 6/7] e1000: lsc interrupt setup only enable itself

2015-09-25 Thread Yong Liu
From: Marvin Liu Only mask lsc interrupt bit when setup device interrupt. Signed-off-by: Marvin Liu diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c index 920d814..4e2ebf1 100644 --- a/drivers/net/e1000/em_ethdev.c +++

[dpdk-dev] [PATCH v1 5/7] e1000: check lsc and rxq not enable in the same time

2015-09-25 Thread Yong Liu
From: Marvin Liu e1000 only support one type of interrupt cause, so remove lsc interrupt handler if rxq enabled. Signed-off-by: Marvin Liu diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c index 5d94b55..920d814 100644 ---

[dpdk-dev] [PATCH v1 4/7] e1000: add rxq interrupt handler

2015-09-25 Thread Yong Liu
From: Marvin Liu When datapath rxq interupt is enabled, enable device rxq. After device stopped, remove the interrupt handler. Signed-off-by: Marvin Liu diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c index 2b67b62..5d94b55 100644 ---

[dpdk-dev] [PATCH v1 3/7] e1000: add ethdev rxq enable and disable function

2015-09-25 Thread Yong Liu
From: Marvin Liu Implement rxq interrupt related functions in eth_dev_ops structure. Signed-off-by: Marvin Liu diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c index e86c039..2b67b62 100644 --- a/drivers/net/e1000/em_ethdev.c +++

[dpdk-dev] [PATCH v1 2/7] e1000: separate lsc and rxq interrupt function

2015-09-25 Thread Yong Liu
From: Marvin Liu Separate lsc and rxq interrupt for they have different interrupt handlers. Signed-off-by: Marvin Liu diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c index 99beb9c..e86c039 100644 --- a/drivers/net/e1000/em_ethdev.c +++

[dpdk-dev] [PATCH v1 1/7] e1000: add rx interrupt support

2015-09-25 Thread Yong Liu
From: Marvin Liu Enable rx interrupt support on e1000 PF non-IOV mode. Signed-off-by: Marvin Liu diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c index 912f5dd..99beb9c 100644 --- a/drivers/net/e1000/em_ethdev.c +++ b/drivers/net/e1000/em_ethdev.c

[dpdk-dev] [PATCH v1 0/7] interrupt mode for e1000

2015-09-25 Thread Yong Liu
From: Marvin Liu This patch set will enable interrup for e1000 PF device. l3fwd-power will disable interrupt when wake-up for e1000 not support interrupt auto clear. LSC and rxq interrupt will be seperated for e1000 can only support one interrupt cause in the same time. The

[dpdk-dev] [PATCH] ixgbe: prefetch cacheline after pointer becomes valid

2015-09-25 Thread Bruce Richardson
On Thu, Sep 24, 2015 at 05:23:26PM -0700, Zoltan Kiss wrote: > At the original point the rx_pkts[pos( + n)] pointers are not initialized, so > the code is prefetching random data. > > Signed-off-by: Zoltan Kiss > Apart from the whitespace issues pointed out by John, this fix looks ok and

[dpdk-dev] [PATCH v3] doc: add performance test guide to the linux gsg

2015-09-25 Thread Thomas Monjalon
2015-09-24 19:48, Qian Xu: > --- a/doc/guides/linux_gsg/index.rst > +++ b/doc/guides/linux_gsg/index.rst > @@ -47,3 +47,4 @@ Contents > build_sample_apps > enable_func > quick_start > +perf_test_intel_platform_nic Why "test"? What about nic_perf_intel_platform? > --- /dev/null

[dpdk-dev] [PATCH] fm10k: enable TSO support

2015-09-25 Thread Wang Xiao W
This patch enables fm10k TSO feature for both non-tunneling packet and tunneling packet. Signed-off-by: Wang Xiao W --- drivers/net/fm10k/base/fm10k_osdep.h | 5 + drivers/net/fm10k/fm10k_ethdev.c | 3 ++- drivers/net/fm10k/fm10k_rxtx.c | 21 ++--- 3 files

[dpdk-dev] [PATCH 0/2] Add support for driver directories

2015-09-25 Thread Panu Matilainen
On 09/25/2015 03:35 PM, David Marchand wrote: > Hello Panu, > > On Fri, Sep 25, 2015 at 1:58 PM, Panu Matilainen > wrote: > > This mini-series adds support for driver directory concept as > described by Thomas Monjalon back in February: >

[dpdk-dev] one LCORE per RX/TX queue pair

2015-09-25 Thread Anil Abraham (aniabrah)
Hi, We are looking to use DPDK in the following way: 2 Ethernet NICs connected independently to 2 CPU sockets. Each NIC has N rings. Each LCORE should be handling one RQ of one NIC exactly. So all the LCORE's on socket 0 should handle RQs from the NIC 0 and LCORE's on socket 1 should handle

[dpdk-dev] [PATCH] virtio: fix used ring address calculation

2015-09-25 Thread Xie, Huawei
On 9/25/2015 5:01 AM, Stephen Hemminger wrote: > On Thu, 24 Sep 2015 18:35:37 + > "Xie, Huawei" wrote: > >> On 9/25/2015 12:36 AM, Stephen Hemminger wrote: >>> On Thu, 24 Sep 2015 07:30:41 + >>> "Xie, Huawei" wrote: >>> On 9/21/2015 11:39 AM, Xie, Huawei wrote: vring_size

[dpdk-dev] [PATCHv4 0/9] Dynamic RSS Configuration for Bonding

2015-09-25 Thread Thomas Monjalon
2015-09-25 13:28, Kulasek, TomaszX: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > Please Tetsuya, could you review the patches on null PMD? > > Thanks > > Do you need patch-set v5 or should I wait? I think you should wait for Tetsuya feedback.

[dpdk-dev] [PATCHv4 5/9] null: export eth_dev_null_create

2015-09-25 Thread Thomas Monjalon
> > Please, could you update it to DPDK_2.2? > +DPDK_2.2 { > + global: > + > + eth_dev_null_create; > + > +} DPDK_2.0; > > This change is fine? Yes, only one letter to change :)

[dpdk-dev] [PATCH] i40e: workaround for Security issue in SR-IOV mode

2015-09-25 Thread Vladislav Zolotarov
On Sep 25, 2015 11:44 AM, "Jingjing Wu" wrote: > > In SR-IOV mode a VF sending LFC or PFC would throttle the entire port. > The workaround is to add a filter to drop pause frames from VFs from > sending pause frames. This is a very strange approach - this would silently disable the Tx FC while a

[dpdk-dev] [PATCH 1/3] vhost: Fix return value of GET_VRING_BASE message

2015-09-25 Thread Thomas Monjalon
Huawei, Changchun, Please could you review this series? Thanks

[dpdk-dev] [PATCH 4/4 v2] vhost: fix wrong usage of eventfd_t

2015-09-25 Thread Thomas Monjalon
2015-09-25 14:44, Thomas Monjalon: > 2015-09-24 22:01, Yuanhan Liu: > > Would you consider to apply these 4 patches please? The 4th patch > > affects quite many lines of code, and the sooner we apply it, the > > fewer chance it will introduce conflicts for later patches. > > Yes, I'm checking it.

[dpdk-dev] [PATCH 2/2] eal: add support for driver directory concept

2015-09-25 Thread Panu Matilainen
Add a new EAL option -D for loading all drivers from a given directory. Additionally a default driver directory can be set in build-time configuration, in which case it will be always be used when EAL is initialized (but can be overridden or disabled with -D). This simplifies usage in shared

[dpdk-dev] [PATCH 1/2] eal: refactor plugin list append from eal_parse_args() to a helper function

2015-09-25 Thread Panu Matilainen
Signed-off-by: Panu Matilainen --- lib/librte_eal/linuxapp/eal/eal.c | 28 +++- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/lib/librte_eal/linuxapp/eal/eal.c b/lib/librte_eal/linuxapp/eal/eal.c index 33e1067..31f3915 100644 ---

[dpdk-dev] [PATCH 0/2] Add support for driver directories

2015-09-25 Thread Panu Matilainen
This mini-series adds support for driver directory concept as described by Thomas Monjalon back in February: http://dpdk.org/ml/archives/dev/2015-February/013285.html Panu Matilainen (2): eal: refactor plugin list append from eal_parse_args() to a helper function eal: add support for

[dpdk-dev] [PATCH 4/4 v2] vhost: fix wrong usage of eventfd_t

2015-09-25 Thread Thomas Monjalon
2015-09-24 22:01, Yuanhan Liu: > Would you consider to apply these 4 patches please? The 4th patch > affects quite many lines of code, and the sooner we apply it, the > fewer chance it will introduce conflicts for later patches. Yes, I'm checking it. The patch 4/4 is v2. Other ones have no

[dpdk-dev] [PATCH 0/2] Add support for driver directories

2015-09-25 Thread David Marchand
Hello Panu, On Fri, Sep 25, 2015 at 1:58 PM, Panu Matilainen wrote: > This mini-series adds support for driver directory concept as > described by Thomas Monjalon back in February: > http://dpdk.org/ml/archives/dev/2015-February/013285.html > > Panu Matilainen (2): > eal: refactor plugin list

[dpdk-dev] [PATCH v1] Add support for Intel chipsets

2015-09-25 Thread Ravi Kerur
On Fri, Sep 25, 2015 at 1:04 AM, Lu, Wenzhuo wrote: > Hi all, > > > -Original Message- > > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > Sent: Friday, September 25, 2015 3:08 PM > > To: Ravi Kerur > > Cc: dev at dpdk.org; Lu, Wenzhuo > > Subject: Re: [dpdk-dev] [PATCH

[dpdk-dev] [PATCH 6/6] ixgbe: implementation for fdir new modes' config

2015-09-25 Thread Wenzhuo Lu
Implement the new CLIs for fdir mac vlan and cloud modes, including flow_director_filter and flow_director_mask. Set the mask of fdir. Add, delete or update the entities of filter. Signed-off-by: Wenzhuo Lu --- drivers/net/ixgbe/ixgbe_ethdev.h | 3 + drivers/net/ixgbe/ixgbe_fdir.c | 241

[dpdk-dev] [PATCH 5/6] app/testpmd: modify and add fdir filter and mask CLIs for new modes

2015-09-25 Thread Wenzhuo Lu
The different fdir mode needs different parameters, so, the parameter *mode* is introduced to the CLI flow_director_filter and flow_director_mask. This parameter can pormpt the user to input the appropriate parameters for different mode. Please be aware, as we should set the fdir mode, the value

[dpdk-dev] [PATCH 4/6] app/testpmd: modify the output of CLI, show port fdir

2015-09-25 Thread Wenzhuo Lu
There're fdir mask and supported flow type in the output of the CLI, show port fdir. But not every parameter has meaning for all the fdir modes, and the supported flow type is meaningless for mac vlan and cloud modes. So, we output different info for different mode. Signed-off-by: Wenzhuo Lu ---

[dpdk-dev] [PATCH 3/6] app/testpmd: new fdir modes for testpmd parameter

2015-09-25 Thread Wenzhuo Lu
For testpmd CLI's parameter pkt-filter-mode, there're new values supported for fdir new modes, perfect-mac-vlan, perfect-cloud. The mac vlan and cloud modes can only be used in perfect match mode. Signed-off-by: Wenzhuo Lu --- app/test-pmd/parameters.c | 7 ++- 1 file changed, 6

[dpdk-dev] [PATCH 2/6] app/testpmd: initialize the new fields for fdir mask

2015-09-25 Thread Wenzhuo Lu
When a port is enabled, there're default values for the parameters of fdir mask. For the new parameters, the default values also need to be set. Signed-off-by: Wenzhuo Lu --- app/test-pmd/testpmd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-pmd/testpmd.c

[dpdk-dev] [PATCH 1/6] lib/librte_ether: modify the structures for fdir new modes

2015-09-25 Thread Wenzhuo Lu
Define the new modes and modify the filter and mask structure for the mac vlan and cloud modes. Signed-off-by: Wenzhuo Lu --- lib/librte_ether/rte_eth_ctrl.h | 68 ++--- 1 file changed, 50 insertions(+), 18 deletions(-) diff --git

[dpdk-dev] [PATCH 0/6] Support new flow director modes on Intel x550 NIC

2015-09-25 Thread Wenzhuo Lu
This patch set adds 2 new flow director modes on Intel x550 NIC. The 2 new fdir modes are mac vlan mode and cloud mode. The mac vlan mode can direct the flow based on the MAC address and VLAN TCI. The cloud mode provides the support for VxLAN and NVGRE. x550 can recognize VxLAN and NVGRE packets,

[dpdk-dev] ksoftirqd when using KNI

2015-09-25 Thread Moon-Sang Lee
I've observed CPU stats with top command, and found that ksoftirqd is processing software interrupts which might come from dpdk-kni application and would be processed by KNI and kernel net stack. My observation shows that 1. dpdk-kni-application drops a half of rx packets (i.e. fail to deliver

[dpdk-dev] [PATCH] i40e: add link flow control support for FVL

2015-09-25 Thread Zhe Tao
Feature Add: Rx/Tx flow control support for the i40e All the Rx/Tx LFC enable/disable operation is done by the F/W, so PMD driver need to use the Set PHY Config AD command to trigger the PHY to do the auto-negotiation, after the Tx/Rx pause ability is negotiated, the F/W will help us to set the

[dpdk-dev] [PATCH] default to using all cores if no -c, -l, or --lcores options given

2015-09-25 Thread Rich Lane
This is a useful default for simple applications where the assignment of lcores to CPUs doesn't matter. It's also useful for more complex applications that automatically assign tasks to cores based on the NUMA topology. Signed-off-by: Rich Lane --- app/test/test_eal_flags.c|

[dpdk-dev] [PATCH 5/5] doc: release note update for fm10k intr mode

2015-09-25 Thread Shaopeng He
Signed-off-by: Shaopeng He --- doc/guides/rel_notes/release_2_2.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst index 73dba47..44b3aea 100644 --- a/doc/guides/rel_notes/release_2_2.rst +++

[dpdk-dev] [PATCH 4/5] l3fwd-power: fix a memory leak for non-ip packet

2015-09-25 Thread Shaopeng He
Previous l3fwd-power only processes IP and IPv6 packet, other packet's mbuf is not released, and causes a memory leak. This patch fixes this issue. Signed-off-by: Shaopeng He --- examples/l3fwd-power/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[dpdk-dev] [PATCH 3/5] fm10k: make sure default VID available in dev_init

2015-09-25 Thread Shaopeng He
When PF establishes a connection with Switch Manager, it receives a logic port range from SM, and registers certain logic ports from that range, then a default VID will be send back from SM. This whole transaction needs to be finished in dev_init, otherwise, in dev_start the interrupt setting will

[dpdk-dev] [PATCH 2/5] fm10k: enable Rx queue interrupts for PF and VF

2015-09-25 Thread Shaopeng He
The patch does below things for fm10k PF and VF: - Setup NIC to generate MSI-X interrupts - Set the RXINT register to map interrupt causes to vectors - Implement interrupt enable/disable functions Signed-off-by: Shaopeng He --- drivers/net/fm10k/fm10k_ethdev.c | 147

[dpdk-dev] [PATCH 1/5] fm10k: implement rx_descriptor_done function

2015-09-25 Thread Shaopeng He
rx_descriptor_done is used by interrupt mode example application (l3fwd-power) to check rxd DD bit to decide the RX trend, then l3fwd-power will adjust the cpu frequency according to the result. Signed-off-by: Shaopeng He --- drivers/net/fm10k/fm10k.h| 3 +++

[dpdk-dev] [PATCH 0/5] interrupt mode for fm10k

2015-09-25 Thread Shaopeng He
This patch series contains four major parts. 1. implement rx_descriptor_done function in fm10k 2. make sure default VID available in dev_init in fm10k 3. fix a memory leak for non-ip packet in l3fwd-power 4. add rx interrupt support in fm10k PF and VF The patch set is developed based on one

[dpdk-dev] [PATCHv4 0/9] Dynamic RSS Configuration for Bonding

2015-09-25 Thread Kulasek, TomaszX
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, September 25, 2015 12:17 > To: Tetsuya Mukawa > Cc: dev at dpdk.org; Kulasek, TomaszX > Subject: Re: [dpdk-dev] [PATCHv4 0/9] Dynamic RSS Configuration for > Bonding > > 2015-07-15 19:26,

[dpdk-dev] [PATCHv4 7/9] bonding: queue stats mapping

2015-09-25 Thread Kulasek, TomaszX
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, September 25, 2015 12:15 > To: Kulasek, TomaszX > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCHv4 7/9] bonding: queue stats mapping > > 2015-07-15 19:26, Tomasz Kulasek: > > +

[dpdk-dev] [PATCHv4 5/9] null: export eth_dev_null_create

2015-09-25 Thread Kulasek, TomaszX
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, September 25, 2015 12:11 > To: Kulasek, TomaszX > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCHv4 5/9] null: export eth_dev_null_create > > > > ---

[dpdk-dev] DPDK v2.1.0 tilegx on TileraMDE-4.2.2.169597

2015-09-25 Thread Arthas
Hi, Zhigang, I fixed register memseg error, but gxio_mpipe_equeue_put_at send packet still failed. Command: run cat /proc/meminfo MemTotal:8230016 kB MemFree: 3866688 kB Buffers: 0 kB Cached:16576 kB SwapCached:0 kB Active:11392

[dpdk-dev] [PATCHv4 0/9] Dynamic RSS Configuration for Bonding

2015-09-25 Thread Thomas Monjalon
2015-07-15 19:26, Tomasz Kulasek: > Tomasz Kulasek (9): > bonding: rss dynamic configuration > null: fix segfault when null_pmd added to bonding > null: extend number of virtual queues > null: virtual dynamic rss configuration > null: export eth_dev_null_create Please Tetsuya, could you

[dpdk-dev] [PATCHv4 7/9] bonding: queue stats mapping

2015-09-25 Thread Thomas Monjalon
2015-07-15 19:26, Tomasz Kulasek: > + .queue_stats_mapping_set = bond_ethdev_queue_stats_mapping_set, As explained with previous version of this patchset, this API should be removed. It is specific to some Intel devices. Please do not use it in bonding. Then we could discuss in

[dpdk-dev] [PATCHv4 5/9] null: export eth_dev_null_create

2015-09-25 Thread Thomas Monjalon
Hi Tomasz, 2015-07-15 19:26, Tomasz Kulasek: > --- a/drivers/net/null/rte_eth_null.c > +++ b/drivers/net/null/rte_eth_null.c > @@ -2,6 +2,7 @@ > * BSD LICENSE > * > * Copyright (C) IGEL Co.,Ltd. > + * Copyright (c) 2015 Intel Corporation. > * All rights reserved. > * > *

[dpdk-dev] [PATCH] ixgbe: prefetch cacheline after pointer becomes valid

2015-09-25 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zoltan Kiss > Sent: Friday, September 25, 2015 1:23 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] ixgbe: prefetch cacheline after pointer > becomes valid > > + if (split_packet) { > +

[dpdk-dev] [PATCH] ixgbe: prefetch packet headers in vector PMD receive function

2015-09-25 Thread Zoltan Kiss
On 07/09/15 07:41, Richardson, Bruce wrote: > >> -Original Message- >> From: Zoltan Kiss [mailto:zoltan.kiss at linaro.org] >> Sent: Monday, September 7, 2015 3:15 PM >> To: Richardson, Bruce; dev at dpdk.org >> Cc: Ananyev, Konstantin >> Subject: Re: [PATCH] ixgbe: prefetch packet headers

[dpdk-dev] [PATCH] virtio: fix used ring address calculation

2015-09-25 Thread Stephen Hemminger
On Fri, 25 Sep 2015 15:46:34 + "Xie, Huawei" wrote: > On 9/25/2015 5:01 AM, Stephen Hemminger wrote: > > On Thu, 24 Sep 2015 18:35:37 + > > "Xie, Huawei" wrote: > > > >> On 9/25/2015 12:36 AM, Stephen Hemminger wrote: > >>> On Thu, 24 Sep 2015 07:30:41 + > >>> "Xie, Huawei" wrote:

[dpdk-dev] [PATCH v2] ixgbe: prefetch cacheline after pointer becomes valid

2015-09-25 Thread Zoltan Kiss
At the original point the rx_pkts[pos( + n)] pointers are not initialized, so the code is prefetching random data. Signed-off-by: Zoltan Kiss --- v2: fixing tabs diff --git a/drivers/net/ixgbe/ixgbe_rxtx_vec.c b/drivers/net/ixgbe/ixgbe_rxtx_vec.c index 3c6d8c5..ccd93c7 100644 ---

[dpdk-dev] [PATCH] ixgbe: prefetch cacheline after pointer becomes valid

2015-09-25 Thread Zoltan Kiss
On 25/09/15 04:47, Mcnamara, John wrote: >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zoltan Kiss >> Sent: Friday, September 25, 2015 1:23 AM >> To: dev at dpdk.org >> Subject: [dpdk-dev] [PATCH] ixgbe: prefetch cacheline after pointer >> becomes valid

[dpdk-dev] [PATCH] fm10k: add Intel Boulder Rapid NIC support

2015-09-25 Thread Michael Qiu
Boulder Rapid is Intel new NIC within fm10k family. This patch make DPDK driver support this new NIC. Signed-off-by: Michael Qiu --- drivers/net/fm10k/base/fm10k_osdep.h| 4 lib/librte_eal/common/include/rte_pci_dev_ids.h | 2 ++ 2 files changed, 6 insertions(+) diff --git

[dpdk-dev] [PATCH 1/6] lib/librte_ether: modify the structures for fdir new modes

2015-09-25 Thread Thomas Monjalon
2015-09-25 08:14, Lu, Wenzhuo: > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > > +/** > > > + * A structure used to define the input for VxLAN NVGRE flow */ > > > +struct rte_eth_cloud_flow { > > > + enum rte_eth_fdir_tunnel_type tunnel_type; /**< Tunnel type to match. > > */ >

[dpdk-dev] [PATCH v1] Add support for Intel chipsets

2015-09-25 Thread Thomas Monjalon
2015-09-24 15:13, Ravi Kerur: > M. Jay(Jayakumar, Muthurajan) and I > discussed and decided to include support for I217/I218 chipsets [...] > drivers/net/e1000/base/e1000_api.c | 1 + > drivers/net/e1000/base/e1000_hw.h | 1 + > drivers/net/e1000/base/e1000_ich8lan.c

[dpdk-dev] [PATCH 1/6] lib/librte_ether: modify the structures for fdir new modes

2015-09-25 Thread Thomas Monjalon
2015-09-25 14:05, Wenzhuo Lu: > +enum rte_fdir_mode { > + RTE_FDIR_MODE_NONE = 0, /**< Disable FDIR support. */ > + RTE_FDIR_MODE_SIGNATURE, /**< Enable FDIR signature filter mode. */ > + RTE_FDIR_MODE_PERFECT, /**< Enable FDIR perfect filter mode for IP. */ > +

[dpdk-dev] [PATCH 4/5] l3fwd-power: fix a memory leak for non-ip packet

2015-09-25 Thread He, Shaopeng
Hi, Pablo > -Original Message- > From: De Lara Guarch, Pablo > Sent: Friday, September 25, 2015 3:19 PM > To: He, Shaopeng; dev at dpdk.org > Subject: RE: [dpdk-dev] [PATCH 4/5] l3fwd-power: fix a memory leak for > non-ip packet > > Hi Shaopeng, > > > -Original Message- > >

[dpdk-dev] [PATCH 1/6] lib/librte_ether: modify the structures for fdir new modes

2015-09-25 Thread Lu, Wenzhuo
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, September 25, 2015 3:01 PM > To: Lu, Wenzhuo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 1/6] lib/librte_ether: modify the structures > for > fdir new modes > >

[dpdk-dev] [PATCH v1] Add support for Intel chipsets

2015-09-25 Thread Lu, Wenzhuo
Hi all, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, September 25, 2015 3:08 PM > To: Ravi Kerur > Cc: dev at dpdk.org; Lu, Wenzhuo > Subject: Re: [dpdk-dev] [PATCH v1] Add support for Intel chipsets > > 2015-09-24 15:13, Ravi Kerur:

[dpdk-dev] [PATCH 4/5] l3fwd-power: fix a memory leak for non-ip packet

2015-09-25 Thread De Lara Guarch, Pablo
Hi Shaopeng, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Shaopeng He > Sent: Friday, September 25, 2015 6:37 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 4/5] l3fwd-power: fix a memory leak for non-ip > packet > > Previous l3fwd-power only

[dpdk-dev] [PATCH] librte_eal: Fix wrong header file for old gcc version

2015-09-25 Thread Qiu, Michael
On 2015/9/7 22:46, Thomas Monjalon wrote: > 2015-08-24 17:22, Michael Qiu: >> For __SSE3__, the corresponding header file should be pmmintrin.h, >> tmmintrin.h works for __SSSE3__. > Please could you better explain the difference and what is exactly the bug > being fixed? It should solve this

[dpdk-dev] [RFC PATCH v2] virtio ring layout optimization and vectorization.

2015-09-25 Thread Huawei Xie
This single patch is for people to get familiar with the optimization and is for collecting feedbacks. It isn't splitted because it is straightforward. Haven't finished the cleanups. The description and illustration of the idea is in a previous mail titled "virtio optimization idea". v2

[dpdk-dev] [PATCH] librte_vhost: eventfd_link: Update the makefile to build against an arbitrary kernel

2015-09-25 Thread Pavel Boldin
Thomas, Can I please have your attention there as well: http://dpdk.org/dev/patchwork/project/dpdk/list/?submitter=194 Pavel On Thu, Sep 24, 2015 at 11:05 PM, Thomas Monjalon wrote: > 2015-09-23 16:03, Aaron Conole: > > The vHost eventlink driver is a kernel module that requires a kernel > >

[dpdk-dev] [PATCH v1] Add support for I217 and I218 Intel 1G chipsets.

2015-09-25 Thread Jayakumar, Muthurajan
Thank you Ravi. This has great utility. With all the latest laptop having this NIC in the chipset, the portability makes DPDK development on laptops very useful. We have seen cases where with this patch, DPDK development and demonstration was very portable and beneficial for developers. Kindly

[dpdk-dev] Missing prefetch in non-vector rx function

2015-09-25 Thread Thomas Monjalon
Hi, 2015-09-24 22:10, Arnon Warshavsky: > Moving from dpdk 1.5 to 2.0 we observed a PPS performance degradation of > ~30%. > After chasing this one for a while we found the problem: > > A) Between the 2 versions rte_mbuf was increased in size from 1 to 2 cache > lines. > B) The standard

[dpdk-dev] [PATCH v2] doc: update the dpdk 2.2 release notes

2015-09-25 Thread Thomas Monjalon
2015-09-24 17:23, John McNamara: > Update the DPDK 2.2 release notes with recent fixes: > > 7e01e3 i40e: fix base driver allocation when not using first numa node > 5e73f4 ixgbe: remove burst size restriction of vector Rx > 7fcd13 ixgbe: fix X550 DCB > d49e0f hash: fix memory allocation