[dpdk-dev] Hotplug

2015-09-28 Thread Stephen Hemminger
On Mon, 28 Sep 2015 21:12:50 -0700 Srikanth Akula wrote: > Hello , > > I am trying to write an application based on DPDK port hotplug feature . My > requirement is to get an event when a new PCI devices gets added to the > system on the go. > > Do we have any in-built mechanism in DPDK

[dpdk-dev] [PATCH] doc: updated release notes for r2.1

2015-09-28 Thread Srikanth Akula
Hello , I am trying to write an application based on DPDK port hotplug feature . My requirement is to get an event when a new PCI devices gets added to the system on the go. Do we have any in-built mechanism in DPDK (UIO/e1000/vfio drivers ) that i can use to get notifications when a new device

[dpdk-dev] newbie dpdk linux interfaces clarification

2015-09-28 Thread Pedro Sousa
Hi all, I'm looking at dpdk the first time, so I would like someone could clarify me a little more about it. I'm using a KVM Virtualized Guest that runs CentOS 7.1. I'm using SRIOV with bnx2x driver. When I bind my interface, as you can see below, to DPKD Driver igb_uio, I lose the interface

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

2015-09-28 Thread Dumitrescu, Cristian
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Yeddula, Avinash > Sent: Friday, September 25, 2015 11:27 PM > To: dev at dpdk.org > Subject: [dpdk-dev] Need your thoughts on DPDK hash table / DPDK > lookup/insert API's > > Hello All, > > > 1. I've

[dpdk-dev] [PATCH] doc: fix rst issues in testpmd user guide

2015-09-28 Thread John McNamara
Fix a number of RST issues in the testpmd user guide and refactored the structure to: * Remove redundant roadmap section. * Merge Overview section into Introduction. * Move "set fwd" to the start of its section. Signed-off-by: John McNamara --- doc/guides/testpmd_app_ug/build_app.rst |

[dpdk-dev] DPDK.org Community Call - Sept 24 - Discuss Growth, Improvements

2015-09-28 Thread O'Driscoll, Tim
Thanks to everybody who attended and provided input at last week's meeting. It was a good, open discussion, and hopefully is the first step towards structuring the DPDK project to facilitate its continued growth. I've included a summary of the discussion below. Please feel free to provide any

[dpdk-dev] [PATCH 0/8] librte_table: add key_mask parameter to 8-byte key

2015-09-28 Thread Dumitrescu, Cristian
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of > roy.fan.zhang at intel.com > Sent: Friday, September 25, 2015 11:33 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 0/8] librte_table: add key_mask parameter to 8- > byte key > > From: Fan Zhang > >

[dpdk-dev] [PATCH] eal: fix C++ build (struct member: virtual)

2015-09-28 Thread Dumitrescu, Cristian
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Christoph Gysin > Sent: Saturday, September 26, 2015 2:10 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] eal: fix C++ build (struct member: virtual) > > 'virtual' is a keyword and can't be used if the

[dpdk-dev] [PATCH v2 8/8] mk: Add rule for installing runtime files

2015-09-28 Thread Mario Carrillo
Add hierarchy-file support to the DPDK libraries, modules, binary files, nic bind files and documentation, when invoking "make install-fhs" (filesystem hierarchy standard) runtime files will be installed in: $(DESTDIR)/usr/bin (binary files) $(DESTDIR)/lib/modules/$(uname -r)/build (modules)

[dpdk-dev] [PATCH v2 6/8] mk: Add rule for installing nic bind files

2015-09-28 Thread Mario Carrillo
Add hierarchy-file support to the DPDK nic bind files, when invoking "make install-sbin" nic bind files will be installed in: $(DESTDIR)/usr/sbin/dpdk_nic_bind This hierarchy is based on: http://www.freedesktop.org/software/systemd/man/file-hierarchy.html and dpdk spec file. Signed-off-by: Mario

[dpdk-dev] [PATCH v2 5/8] mk: Add rule for installing documentation

2015-09-28 Thread Mario Carrillo
Add hierarchy-file support to the DPDK documentation, when invoking "make install-doc" documentation files will be installed in: $(DESTDIR)/usr/share/doc/dpdk This hierarchy is based on: http://www.freedesktop.org/software/systemd/man/file-hierarchy.html Signed-off-by: Mario Carrillo ---

[dpdk-dev] [PATCH v2 4/8] mk: Add rule for installing modules

2015-09-28 Thread Mario Carrillo
Add hierarchy-file support to the DPDK modules, when invoking "make install-mod" for this case if RTE_EXEC_ENV=linuxapp modules will be installed in: $(DESTDIR)/lib/modules/$(uname -r)/build else they will be in: $(DESTDIR)/boot/modules This hierarchy is based on:

[dpdk-dev] [PATCH v2 3/8] mk: Add rule for installing libraries

2015-09-28 Thread Mario Carrillo
Add hierarchy-file support to the DPDK libraries, when invoking "make install-lib" for this case if the architecture is 64 bits libraries will be instaled in: $(DESTDIR)/usr/lib64 else it will be $(DESTDIR)/usr/lib This hierarchy is based on:

[dpdk-dev] [PATCH v2 2/8] mk: Add rule for installing app files

2015-09-28 Thread Mario Carrillo
Add hierarchy-file support to the DPDK app files, when invoking "make install-bin" app files will be installed in: $(DESTDIR)/usr/bin This hierarchy is based on: http://www.freedesktop.org/software/systemd/man/file-hierarchy.html Signed-off-by: Mario Carrillo --- mk/rte.sdkinstall.mk | 14

[dpdk-dev] [PATCH v2 1/8] mk: Add rule for installing headers

2015-09-28 Thread Mario Carrillo
Add hierarchy-file support to the DPDK headers, when invoking "make install-headers" headers will be installed in: $(DESTDIR)/usr/include/dpdk This hierarchy is based on: http://www.freedesktop.org/software/systemd/man/file-hierarchy.html Signed-off-by: Mario Carrillo --- mk/rte.sdkinstall.mk |

[dpdk-dev] [PATCH v2 0/8] Add instalation rules for dpdk files.

2015-09-28 Thread Mario Carrillo
DPDK package lacks of a mechanism to install libraries, headers applications, kernel modules and sdk files to a file system tree. This patch set allows to install files according to the next proposal: http://www.freedesktop.org/software/systemd/man/file-hierarchy.html Using rules support is

[dpdk-dev] [PATCH 6/6] fm10k: use rte_eth_dma_zone_reserve

2015-09-28 Thread Stephen Hemminger
Adapt to Xen at runtime. Signed-off-by: Stephen Hemminger --- drivers/net/fm10k/fm10k_ethdev.c | 47 +--- 1 file changed, 6 insertions(+), 41 deletions(-) diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c index a69c990..571f5f0

[dpdk-dev] [PATCH 5/6] i40e: use rte_eth_dma_zone_reserve

2015-09-28 Thread Stephen Hemminger
Handle Xen support at runtime. Signed-off-by: Stephen Hemminger --- drivers/net/i40e/i40e_ethdev.c | 9 drivers/net/i40e/i40e_fdir.c | 5 +-- drivers/net/i40e/i40e_rxtx.c | 94 -- 3 files changed, 19 insertions(+), 89 deletions(-) diff --git

[dpdk-dev] [PATCH 4/6] ixgbe: use rte_eth_dma_zone_reserve

2015-09-28 Thread Stephen Hemminger
Adapt DMA memory for Xen at runtime. Signed-off-by: Stephen Hemminger --- drivers/net/ixgbe/ixgbe_rxtx.c | 47 ++ 1 file changed, 6 insertions(+), 41 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c index

[dpdk-dev] [PATCH 3/6] e1000: use rte_eth_dma_zone_reserve

2015-09-28 Thread Stephen Hemminger
Use common code to handle Xen support at runtime. Signed-off-by: Stephen Hemminger --- drivers/net/e1000/em_rxtx.c | 38 -- drivers/net/e1000/igb_rxtx.c | 41 ++--- 2 files changed, 10 insertions(+), 69 deletions(-) diff

[dpdk-dev] [PATCH 2/6] ethdev: add common function for reserving DMA regions

2015-09-28 Thread Stephen Hemminger
The code to create aligned DMA regions was copy-n-pasted throughout all the drivers. Since this code has to change now create a common function that just does the right thing for Xen at runtime. Signed-off-by: Stephen Hemminger --- lib/librte_ether/rte_ethdev.c | 24

[dpdk-dev] [PATCH 1/6] xen: allow determining DOM0 at runtime

2015-09-28 Thread Stephen Hemminger
Add memory infrastructure for runtime Xen DOM0 support. Signed-off-by: Stephen Hemminger --- lib/librte_eal/common/include/rte_memory.h | 30 - lib/librte_eal/linuxapp/eal/eal_memory.c | 7 lib/librte_eal/linuxapp/eal/eal_xen_memory.c | 2 +-

[dpdk-dev] [PATCH 0/6] Xen DOM0 runtime support

2015-09-28 Thread Stephen Hemminger
It should be possible to build a single application or library that will work both in Xen and non-Xen environment. Any special case handling should be done at runtime. Stephen Hemminger (6): xen: allow determining DOM0 at runtime ethdev: add common function for reserving DMA regions e1000:

[dpdk-dev] [PATCH 4/4] ixgbe: VF RSS reta query and update

2015-09-28 Thread Wenzhuo Lu
This patch implements the VF RSS redirection table query and update function on 10G NICs. But the update function is only provided for x550. Because the other NICs don't have the separate registers for VF, we don't want to let a VF NIC change the shared RSS reta registers. It may cause PF and

[dpdk-dev] [PATCH 3/4] ixgbe: VF RSS hash query and update

2015-09-28 Thread Wenzhuo Lu
This patch implements the VF RSS hash query and update function on 10G NICs. But the update function is only provided for x550. Because the other NICs don't have the separate registers for VF, we don't want to let a VF NIC change the shared RSS hash registers. It may cause PF and other VF NICs'

[dpdk-dev] [PATCH 2/4] ixgbe: VF RSS config on x550

2015-09-28 Thread Wenzhuo Lu
On x550, there're separate registers provided for VF RSS while on the other 10G NICs, for example, 82599, VF and PF share the same registers. This patch lets x550 use the VF specific registers when doing RSS configuration on VF. The behavior of other 10G NICs doesn't change. Signed-off-by:

[dpdk-dev] [PATCH 1/4] ixgbe: 512 entries RSS table on x550

2015-09-28 Thread Wenzhuo Lu
Comparing with the older NICs, x550's RSS redirection table is enlarged to 512 entries. As the original code is for the NICs which have a 128 entries RSS table, it means only part of the RSS table is set on x550. So, RSS cannot work as expected on x550, it doesn't redirect the packets evenly.

[dpdk-dev] [PATCH 0/4] RSS enhancement on Intel x550 NIC

2015-09-28 Thread Wenzhuo Lu
This patch set implements the RSS enhancement on x550. The enhancement includes, the PF RSS redirection table is enlarged from 128 entries to 512 entries, the VF doesn't share the same registers with PF and per VF RSS redirection table is provided. Wenzhuo Lu (4): ixgbe: 512 entries RSS table

[dpdk-dev] [PATCH 20/20] vmxnet3: copy pci device info to eth_dev data

2015-09-28 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/vmxnet3/vmxnet3_ethdev.c b/drivers/net/vmxnet3/vmxnet3_ethdev.c index a70be5c..2beee3e 100644 --- a/drivers/net/vmxnet3/vmxnet3_ethdev.c +++

[dpdk-dev] [PATCH 19/20] virtio: copy pci device info to eth_dev data

2015-09-28 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/virtio/virtio_ethdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c index 465d3cd..20059a0 100644 --- a/drivers/net/virtio/virtio_ethdev.c +++

[dpdk-dev] [PATCH 17/20] enic: copy pci device info to eth_dev data

2015-09-28 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/enic/enic_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/enic/enic_ethdev.c b/drivers/net/enic/enic_ethdev.c index 8280cea..b4ed3d2 100644 --- a/drivers/net/enic/enic_ethdev.c +++ b/drivers/net/enic/enic_ethdev.c @@

[dpdk-dev] [PATCH 15/20] bnx2x: copy pci device info to eth_dev data

2015-09-28 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/bnx2x/bnx2x_ethdev.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/bnx2x/bnx2x_ethdev.c b/drivers/net/bnx2x/bnx2x_ethdev.c index 09b5920..c4941d1 100644 --- a/drivers/net/bnx2x/bnx2x_ethdev.c +++

[dpdk-dev] [PATCH 14/20] fm10k: copy pci device info to eth_dev data

2015-09-28 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/fm10k/fm10k_ethdev.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c index a69c990..12be227 100644 --- a/drivers/net/fm10k/fm10k_ethdev.c +++

[dpdk-dev] [PATCH 13/20] i40e: copy pci device info to eth_dev data

2015-09-28 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/i40e/i40e_ethdev.c| 3 +++ drivers/net/i40e/i40e_ethdev_vf.c | 2 ++ 2 files changed, 5 insertions(+) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index 2dd9fdc..bd81d4e 100644 ---

[dpdk-dev] [PATCH 12/20] e1000: copy pci device info to eth_dev data

2015-09-28 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/e1000/em_ethdev.c | 3 +++ drivers/net/e1000/igb_ethdev.c | 5 + 2 files changed, 8 insertions(+) diff --git a/drivers/net/e1000/em_ethdev.c b/drivers/net/e1000/em_ethdev.c index 912f5dd..aa1bf48 100644 --- a/drivers/net/e1000/em_ethdev.c

[dpdk-dev] [PATCH 11/20] ixgbe: copy pci device info to eth_dev data

2015-09-28 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index ec2918c..08b5cbb 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++

[dpdk-dev] [PATCH 10/20] mpipe: remove pci device driver

2015-09-28 Thread Bernard Iremonger
From: David Hunt initialise dev_flags, kdrv, driver, drv_name and numa_node in eth_dev data. Signed-off-by: David Hunt Signed-off-by: Bernard Iremonger --- drivers/net/mpipe/mpipe_tilegx.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git

[dpdk-dev] [PATCH 09/20] xenvirt: remove pci device driver

2015-09-28 Thread Bernard Iremonger
From: David Hunt Initialise dev_flags, driver, kdrv, drv_name and numa_node in eth_dev data. Signed-off-by: David Hunt Signed-off-by: Bernard Iremonger --- drivers/net/xenvirt/rte_eth_xenvirt.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff

[dpdk-dev] [PATCH 08/20] af_packet: remove pci device driver

2015-09-28 Thread Bernard Iremonger
From: David Hunt initialise dev_flags, driver, kdrv, drv_name and numa_node fileds in eth_dev data. Signed-off-by: David Hunt Signed-off-by: Bernard Iremonger --- drivers/net/af_packet/rte_eth_af_packet.c | 20 1 file changed, 8 insertions(+), 12

[dpdk-dev] [PATCH 07/20] pcap: remove pci device driver

2015-09-28 Thread Bernard Iremonger
remove rte_pcap_pmd and pci_dev. initialise dev_flags, driver, drv_name, kdrv and numa_node fields in eth_dev data Signed-off-by: Bernard Iremonger --- drivers/net/pcap/rte_eth_pcap.c | 31 +-- 1 file changed, 9 insertions(+), 22 deletions(-) diff --git

[dpdk-dev] [PATCH 06/20] bonding: remove pci device driver

2015-09-28 Thread Bernard Iremonger
remove pci_dev, pci_drv, rte_bond_pmd and pci_id_table. initialise dev_flags, kdrv, driver, drv_name and numa_node fields in eth_dev data. handle numa_node for vdevs handle RTE_ETH_DEV_INTR_LSC for vdevs rename valid_bonded_device to check_for_bonded_device Signed-off-by: Bernard Iremonger ---

[dpdk-dev] [PATCH 05/20] ring: remove pci device driver

2015-09-28 Thread Bernard Iremonger
remove rte_ring_pmd and pci_dev. initialise dev_flags, driver, drv_name, kdrv and numa_node fields in eth_dev data. Signed-off-by: Bernard Iremonger --- drivers/net/ring/rte_eth_ring.c | 37 - 1 file changed, 8 insertions(+), 29 deletions(-) diff --git

[dpdk-dev] [PATCH 03/20] librte_ether: add function rte_eth_copy_dev_info()

2015-09-28 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- lib/librte_ether/rte_ethdev.c | 1 + lib/librte_ether/rte_ethdev.h | 14 ++ lib/librte_ether/rte_ether_version.map | 7 +++ 3 files changed, 22 insertions(+) diff --git a/lib/librte_ether/rte_ethdev.c

[dpdk-dev] [PATCH 02/20] librte_ether: add fields from rte_pci_driver to rte_eth_dev_data

2015-09-28 Thread Bernard Iremonger
add dev_flags to rte_eth_dev_data, add macros for dev_flags. add kdrv to rte_eth_dev_data. add numa_node to rte_eth_dev_data. add drv_name to rte_eth_dev_data. use dev_type to distinguish between vdev's and pdev's. remove pci_dev branches. Signed-off-by: Bernard Iremonger ---

[dpdk-dev] [PATCH 01/20] librte_eal: add RTE_KDRV_NONE for vdevs

2015-09-28 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- lib/librte_eal/common/include/rte_pci.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/librte_eal/common/include/rte_pci.h b/lib/librte_eal/common/include/rte_pci.h index 83e3c28..334c12e 100644 ---

[dpdk-dev] [PATCH 00/20] remove pci driver from vdevs

2015-09-28 Thread Bernard Iremonger
There is a dummy pci driver in the vdev PMD's at present. This patch set removes the pci driver from the vdev PMD's. Changes have been made to librte_ether to handle vdevs and pdevs in the same way. The following vdev PMD's have had the pci driver removed: null ring bonding pcap af_packet

[dpdk-dev] [PATCH 15/20] bnx2x: copy pci device info to eth_dev data

2015-09-28 Thread Stephen Hemminger
On Mon, 28 Sep 2015 14:03:33 +0100 Bernard Iremonger wrote: > /* > * Copyright (c) 2013-2015 Brocade Communications Systems, Inc. > + * Copyright(c) 2015 Intel Corporation. > * > * All rights reserved. > */ I agree with others, you can't claim copyright until you have made substantive

[dpdk-dev] [PATCH] Fix VMware emulated e1000 doesn't support INTX_DISABLE flag

2015-09-28 Thread Kirill A. Korinsky
> On 28 Sep 2015, at 01:41, Stephen Hemminger > wrote: > > On Sun, 27 Sep 2015 12:51:06 +0400 > "Kirill A. Korinsky" wrote: > >> When you try to run any DPDK-app in VMWare with e1000/82545EM NIC >> you have a lot of lines like: >> >> EAL: Error reading from file descriptor 9: Input/output

[dpdk-dev] [PATCH v2] hash: fix incorrect lookup if key is all zero

2015-09-28 Thread Bruce Richardson
On Thu, Sep 17, 2015 at 11:30:48AM +0100, Pablo de Lara wrote: > If user has not added an all zero key in the hash table, > and tries to look it up, it results in an incorrect hit, > as dummy slot in the key table has all zero as well. > > Fixes: 48a399119619 ("hash: replace with cuckoo hash

[dpdk-dev] [PATCH v2 0/4] ethdev: minor cleanup

2015-09-28 Thread Bruce Richardson
On Wed, Sep 09, 2015 at 04:09:30PM +0100, Bruce Richardson wrote: > This patchset performs two cleanups: > 1. Four functions in ethdev.c which were enabled for debug only have been > merged into their inlined header-file counterparts. This change required > that > a number of macros be

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

2015-09-28 Thread Bruce Richardson
On Fri, Sep 25, 2015 at 10:44:51AM -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 Acked-by: Bruce Richardson

[dpdk-dev] Failed to modprobe uio module on Ubuntu 14.04

2015-09-28 Thread Hui Xiang
Hi guys, Sorry if I drop this email to the wrong list, let me know where can I move it, thank a lot. I keep failing on installing uio-module-drv-dkms_01.00.00.00-0ubuntu1_all.deb on Ubuntu trusty(14.04), below is the error log, can anyone point out how should I install it correctly or is it

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

2015-09-28 Thread Xie, Huawei
On 9/25/2015 9:15 PM, Thomas Monjalon wrote: > Huawei, Changchun, > Please could you review this series? > Thanks > > Sorry, recently quite busy. Would check this and Pavel's patch after Chinese Holiday(Oct.1-Oct.7). Btw, Changchun left Intel and could be no longer reached by this mail address. I

[dpdk-dev] [PATCH] Fix VMware emulated e1000 doesn't support INTX_DISABLE flag

2015-09-28 Thread Kirill A. Korinsky
> On 28 Sep 2015, at 01:41, Stephen Hemminger > wrote: > > On Sun, 27 Sep 2015 12:51:06 +0400 > "Kirill A. Korinsky" wrote: > >> When you try to run any DPDK-app in VMWare with e1000/82545EM NIC >> you have a lot of lines like: >> >> EAL: Error reading from file descriptor 9: Input/output

[dpdk-dev] ERROR: Invalid module format

2015-09-28 Thread Andrew Harvey (agh)
You problem is caused by compiling against 2 different kernel trees. The version magic for the module must the same (see below). If you still have the deploy machine (3.16.0.30) kernel tree accessible to your build machine you can try setting the RTE_KERNELDIR=. This can be set in your

[dpdk-dev] ERROR: Invalid module format

2015-09-28 Thread Nguyen Van Long
Hi all, I am building DDPK and OVS as the instruction in https://software.intel.com/en-us/blogs/2015/06/09/building-vhost-user-for-ovs-today-using-dpdk-200 My scenario is that I have 2 machines, one is called building machine (for build dpdk) and the another is called deploy machine. After

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

2015-09-28 Thread Lu, Wenzhuo
Hi Ravi, From: Ravi Kerur [mailto:rke...@gmail.com] Sent: Saturday, September 26, 2015 5:14 AM To: Lu, Wenzhuo Cc: Thomas Monjalon; dev at dpdk.org Subject: Re: [dpdk-dev] [PATCH v1] Add support for Intel chipsets On Fri, Sep 25, 2015 at 1:04 AM, Lu, Wenzhuo mailto:wenzhuo.lu at intel.com>>

[dpdk-dev] [PATCH 4/4] add RX and TX selection function for FVL

2015-09-28 Thread Zhe Tao
To support FVL PMD can select which RX and TX function should be used according to the queue config. Signed-off-by: Zhe Tao --- drivers/net/i40e/base/i40e_type.h | 10 +++ drivers/net/i40e/i40e_ethdev.c| 19 +++- drivers/net/i40e/i40e_ethdev_vf.c | 27 -- drivers/net/i40e/i40e_rxtx.c

[dpdk-dev] [PATCH 3/4] add vector PMD scatter RX for FVL

2015-09-28 Thread Zhe Tao
To support the multiple segments in one packets when the received pkts exceed one buffer size. Signed-off-by: Zhe Tao --- drivers/net/i40e/i40e_rxtx.c | 9 drivers/net/i40e/i40e_rxtx.h | 3 ++ drivers/net/i40e/i40e_rxtx_vec.c | 103 +++ 3

[dpdk-dev] [PATCH 2/4] add vector PMD TX for FVL

2015-09-28 Thread Zhe Tao
The way to increase the performance of the vPMD TX is to use some fast mbuf release method compares to the scalar TX. Signed-off-by: Zhe Tao --- drivers/net/i40e/i40e_rxtx.c | 8 ++ drivers/net/i40e/i40e_rxtx.h | 3 + drivers/net/i40e/i40e_rxtx_vec.c | 162

[dpdk-dev] [PATCH 1/4] add vector PMD RX for FVL

2015-09-28 Thread Zhe Tao
The vPMD RX function uses the multi-buffer and SSE instructions to accelerate the RX speed, but now the pktype cannot be supported by the vPMD RX, because it will decrease the performance heavily. Signed-off-by: Zhe Tao --- config/common_bsdapp | 2 + config/common_linuxapp

[dpdk-dev] [PATCH 0/4] i40e: add vector PMD support for FVL

2015-09-28 Thread Zhe Tao
This patch set add the vector PMD support for FVL. FVL vPMD works like the way ixgbe does All the functionality is tested Zhe Tao (4): add vector PMD RX for FVL add vector PMD TX for FVL add vector PMD scatter RX for FVL add RX and TX selection function for FVL config/common_bsdapp

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

2015-09-28 Thread Lu, Wenzhuo
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Friday, September 25, 2015 4:29 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] ixgbe: prefetch packet headers in vector PMD receive function

2015-09-28 Thread Ananyev, Konstantin
> -Original Message- > From: Zoltan Kiss [mailto:zoltan.kiss at linaro.org] > Sent: Friday, September 25, 2015 7:29 PM > To: Richardson, Bruce; dev at dpdk.org > Cc: Ananyev, Konstantin > Subject: Re: [PATCH] ixgbe: prefetch packet headers in vector PMD receive > function > > On

[dpdk-dev] [PATCH 1/4] add vector PMD RX for FVL

2015-09-28 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Zhe Tao > Sent: Sunday, September 27, 2015 6:05 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH 1/4] add vector PMD RX for FVL > > The vPMD RX function uses the multi-buffer and SSE instructions to >