[dpdk-dev] [PATCH v4 01/14] Add compiling definations for IBM Power architecture

2014-11-25 Thread Chao Zhu
To make DPDK run on IBM Power architecture, configuration files for Power architecuture are added. Also, the compiling related .mk files are added. Signed-off-by: Chao Zhu --- config/common_linuxapp_powerpc | 394 +++

[dpdk-dev] [PATCH v4 00/14] Patches for DPDK to support Power architecture

2014-11-25 Thread Chao Zhu
The set of patches add IBM Power architecture to the DPDK. It adds the required support to the EAL library. This set of patches doesn't support full DPDK function on Power processors. So a separate common configuration file is used for Power to turn off some un-migrated functions. To compile on

[dpdk-dev] [PATCH v4 06/14] Add spinlock operation for IBM Power architecture

2014-11-25 Thread Chao Zhu
This patch adds spinlock operations for IBM Power architecture. Signed-off-by: Chao Zhu --- .../common/include/arch/ppc_64/rte_spinlock.h | 73 1 files changed, 73 insertions(+), 0 deletions(-) create mode 100644

[dpdk-dev] [PATCH v4 09/14] Remove iopl operation for IBM Power architecture

2014-11-25 Thread Chao Zhu
iopl() call is mostly for the i386 architecture. In Power and other architecture, it doesn't exist. This patch modified rte_eal_iopl_init() and make it return -1 for Power and other architecture. Thus rte_config.flags will not contain EAL_FLG_HIGH_IOPL flag for other architecture. Signed-off-by:

[dpdk-dev] [PATCH v4 10/14] Add cache size define for IBM Power Architecture

2014-11-25 Thread Chao Zhu
IBM Power architecture has different cache line size (128 bytes) than x86 (64 bytes). This patch defines CACHE_LINE_SIZE to 128 bytes to override the default value 64 bytes to support IBM Power Architecture. Signed-off-by: Chao Zhu --- app/test/test_malloc.c |8

[dpdk-dev] [PATCH v4 11/14] Add huge page size define for IBM Power architecture

2014-11-25 Thread Chao Zhu
IBM Power architecture has different huge page sizes (16MB, 16GB) than x86.This patch defines RTE_PGSIZE_16M and RTE_PGSIZE_16G in the rte_page_sizes enum variable and adds huge page size support of DPDK for IBM Power architecture. Signed-off-by: Chao Zhu --- app/test/test_memzone.c

[dpdk-dev] [PATCH v4 14/14] Fix the compiling of test-pmd on IBM Power Architecture

2014-11-25 Thread Chao Zhu
This patch fixes compiling problems on IBM Power architecture and turn on the test-pmd compiling option in configuration file. Actually, this is an big endian compiling fix. Signed-off-by: Chao Zhu --- app/test-pmd/config.c | 39 +--

[dpdk-dev] [PATCH v4 12/14] Add eal memory support for IBM Power Architecture

2014-11-25 Thread Chao Zhu
The mmap of hugepage files on IBM Power starts from high address to low address. This is different from x86. This patch modified the memory segment detection code to get the correct memory segment layout on Power architecture. This patch also added a commond ARCH_PPC_64 defination for 64 bit

[dpdk-dev] [PATCH v4 13/14] test_memzone:fix finding the second smallest segment

2014-11-25 Thread Chao Zhu
Curent implementation in test_memzone.c has bugs in finding the second smallest memory segment. It's the last smallest memory segment, but it's not the second smallest memory segment. This bug may cause test failure in some cases. This patch fixes this bug. Signed-off-by: Chao Zhu ---

[dpdk-dev] [PATCH v3 00/14] Patches for DPDK to support Power architecture

2014-11-25 Thread Chao Zhu
David, I submitted a updated patchset. I fixed all of the checkpatch errors, except one error(this error I think it is invalid). Thanks a lot! On 2014/11/24 23:05, David Marchand wrote: > Hello Chao, > > On Mon, Nov 24, 2014 at 2:22 AM, Chao Zhu > wrote: >

[dpdk-dev] [PATCH v3 08/14] Add CPU flag checking for IBM Power architecture

2014-11-25 Thread Chao Zhu
Neil, I didn't compiled ACL library on Power because SSE is not supported by Power. This is why ACL compiling was turned off on Power. rte_cpu_flag_t is an architecture specific value, each CPU has its own rte_cpu_flag_t . The Power one has no influence on x86, so I think there should be no

[dpdk-dev] [PATCH v3 01/14] Add compiling definations for IBM Power architecture

2014-11-25 Thread Chao Zhu
Neil, Current Power related patches are not a full functional one. Some of the libraries are not migrated. So common_linuxapp_powerpc is used to turn off the uncompiled part. This file is a copy of the common_linuxapp. And this file is intended to be removed when all of the libraries are

[dpdk-dev] [PATCH v6 00/22] Support flow director programming on Fortville

2014-11-25 Thread Wu, Jingjing
Hi, Thomas Thanks a lot. > > I feel the flow director features could be better explained, and probably the > API won't be enough generic for the next driver implementing flow director. > But no comment from the community means it's OK to integrate. > > Now we move on this API and the old one

[dpdk-dev] [PATCH] eal: Add missing device ID for ixgbe

2014-11-25 Thread Ouyang Changchun
EAL misses 4 device ID but base codes support them, so add them into EAL. Signed-off-by: Changchun Ouyang --- lib/librte_eal/common/include/rte_pci_dev_ids.h | 8 1 file changed, 8 insertions(+) diff --git a/lib/librte_eal/common/include/rte_pci_dev_ids.h

[dpdk-dev] [PATCH] eal: Add missing device ID for ixgbe

2014-11-25 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Ouyang Changchun > Sent: Tuesday, November 25, 2014 1:03 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] eal: Add missing device ID for ixgbe > > EAL misses 4 device ID but base codes support them, so

[dpdk-dev] [PATCH v4 3/6] VNIC common code partially shared with ENIC kernel mode driver

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/vnic/cq_desc.h | 126 lib/librte_pmd_enic/vnic/cq_enet_desc.h | 261 lib/librte_pmd_enic/vnic/rq_enet_desc.h | 76 +++ lib/librte_pmd_enic/vnic/vnic_cq.c | 117 lib/librte_pmd_enic/vnic/vnic_cq.h |

[dpdk-dev] [PATCH v4 4/6] ENIC PMD specific code

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/enic.h| 157 + lib/librte_pmd_enic/enic_clsf.c | 244 +++ lib/librte_pmd_enic/enic_compat.h | 142 + lib/librte_pmd_enic/enic_main.c | 1266 + lib/librte_pmd_enic/enic_res.c|

[dpdk-dev] [PATCH v4 5/6] DPDK-ENIC PMD interface

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/enic_etherdev.c | 613 1 file changed, 613 insertions(+) create mode 100644 lib/librte_pmd_enic/enic_etherdev.c diff --git a/lib/librte_pmd_enic/enic_etherdev.c b/lib/librte_pmd_enic/enic_etherdev.c new

[dpdk-dev] [PATCH v4 6/6] DPDK changes for accommodating ENIC PMD

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- config/common_linuxapp | 5 + lib/Makefile | 1 + lib/librte_eal/linuxapp/eal/eal_pci_vfio.c | 1 + mk/rte.app.mk | 4 4 files changed, 11 insertions(+) diff --git

[dpdk-dev] [PATCH v3 0/2] lib/librte_pmd_i40e: set vlan filter fix

2014-11-25 Thread Huawei Xie
This patchset fixes "set vlan filter" issue. v2 changes: * add two macros I40E_VFTA_IDX and I40E_VFTA_BIT for VFTA array operation. v3 changes: * code style fix * rebase on latest commit Huawei Xie (2): vlan id set fix add I40E_VFTA_IDX and I40E_VFTA_BIT macros for VFTA related operation

[dpdk-dev] [PATCH v3 1/2] lib/librte_pmd_i40e: set vlan id filter fix

2014-11-25 Thread Huawei Xie
">> 5" rather than ">> 4" Signed-off-by: Huawei Xie --- lib/librte_pmd_i40e/i40e_ethdev.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c b/lib/librte_pmd_i40e/i40e_ethdev.c index dacf2db..518597f 100644 ---

[dpdk-dev] [PATCH v3 2/2] lib/librte_pmd_i40e: add I40E_VFTA_IDX and I40E_VFTA__BIT macros for VFTA related operation

2014-11-25 Thread Huawei Xie
Add two macros I40E_VFTA_IDX and I40E_VFTA_BIT for vlan filter search and set. Add vlan_id check in vlan filter search and set function. Signed-off-by: Huawei Xie --- lib/librte_pmd_i40e/i40e_ethdev.c | 17 ++--- lib/librte_pmd_i40e/i40e_ethdev.h | 9 + 2 files changed, 19

[dpdk-dev] reg: dpdk on virtual machine

2014-11-25 Thread Denys Haryachyy
We have tested DPDK inside VM in two different ways: - Using virtual interface. Thus we were able to develop DPDK apps on any machine. - Using PCI pass-through. Thus we were able to achieve maximum speed on DPDK-enabled NIC. Please check the following blog posts. DPDK bring-up in VM using virtual

[dpdk-dev] [PATCH] ethdev: fix doxygen comments about RSS

2014-11-25 Thread Bruce Richardson
On Mon, Nov 24, 2014 at 11:09:40PM +0100, Thomas Monjalon wrote: > The parameters port_id didn't match with comments about port. > > Signed-off-by: Thomas Monjalon Acked-by: Bruce Richardson > --- > lib/librte_ether/rte_ethdev.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >

[dpdk-dev] [PATCH v3 1/2] lib/librte_pmd_i40e: set vlan id filter fix

2014-11-25 Thread Bruce Richardson
On Tue, Nov 25, 2014 at 03:28:56PM +0800, Huawei Xie wrote: > ">> 5" rather than ">> 4" you need to provide a reference for where this value comes from. Presumably this is based of the register description in the datasheet for the NIC, so perhaps you can add that. > > Signed-off-by: Huawei Xie

[dpdk-dev] [PATCH 10/10] eal: add option --master-lcore

2014-11-25 Thread Simon Kuenzer
Hi Thomas, thanks for your work. I have one (minor) comment for this patch that should be fixed in a later version. Acknowledged. Thanks, Simon On 22.11.2014 22:43, Thomas Monjalon wrote: > From: Simon Kuenzer > > Enable users to specify the lcore id that is used as master lcore. > >

[dpdk-dev] [PATCH v2] ADD mode 5(tlb) to link bonding pmd

2014-11-25 Thread Jiajia, SunX
Tested-by: Jiajia, SunX - Tested Commit: f7aaae2fe6f7f9a78eab7313d77e92b934693b5d - OS: Fedora20 3.11.10-301.fc20.x86_64 and 3.16.6-200.fc20.x86_64 - GCC: gcc version 4.8.2 - CPU: Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz - NIC: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection

[dpdk-dev] [PATCH] eal: Add missing device ID for ixgbe

2014-11-25 Thread Thomas Monjalon
> > EAL misses 4 device ID but base codes support them, so add them into EAL. > > > > Signed-off-by: Changchun Ouyang > > Acked-by: Helin Zhang Applied Thanks -- Thomas

[dpdk-dev] [PATCH v4 6/6] DPDK changes for accommodating ENIC PMD

2014-11-25 Thread David Marchand
Hello Sujith, On Tue, Nov 25, 2014 at 5:30 PM, Sujith Sankar wrote: > diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_vfio.c > b/lib/librte_eal/linuxapp/eal/eal_pci_vfio.c > index c776ddc..87e7862 100644 > --- a/lib/librte_eal/linuxapp/eal/eal_pci_vfio.c > +++

[dpdk-dev] [PATCH v5 10/14] Add cache size define for IBM Power Architecture

2014-11-25 Thread Chao Zhu
IBM Power architecture has different cache line size (128 bytes) than x86 (64 bytes). This patch defines CACHE_LINE_SIZE to 128 bytes to override the default value 64 bytes to support IBM Power Architecture. Signed-off-by: Chao Zhu --- app/test/test_malloc.c |8

[dpdk-dev] [PATCH v5 04/14] Add CPU cycle operations for IBM Power architecture

2014-11-25 Thread Chao Zhu
IBM Power architecture doesn't have TSC register to get CPU cycles. This patch implements the time base register read instead of TSC register of x86 on IBM Power architecture. Signed-off-by: Chao Zhu --- .../common/include/arch/ppc_64/rte_cycles.h| 88 1 files

[dpdk-dev] [PATCH v5 13/14] test_memzone:fix finding the second smallest segment

2014-11-25 Thread Chao Zhu
Curent implementation in test_memzone.c has bugs in finding the second smallest memory segment. It's the last smallest memory segment, but it's not the second smallest memory segment. This bug may cause test failure in some cases. This patch fixes this bug. Signed-off-by: Chao Zhu ---

[dpdk-dev] [PATCH v5 14/14] Fix the compiling of test-pmd on IBM Power Architecture

2014-11-25 Thread Chao Zhu
This patch fixes compiling problems on IBM Power architecture and turn on the test-pmd compiling option in configuration file. Actually, this is an big endian compiling fix. Signed-off-by: Chao Zhu --- app/test-pmd/config.c | 39 +-- 1 files changed, 25

[dpdk-dev] [PATCH v5 11/14] Add huge page size define for IBM Power architecture

2014-11-25 Thread Chao Zhu
IBM Power architecture has different huge page sizes (16MB, 16GB) than x86.This patch defines RTE_PGSIZE_16M and RTE_PGSIZE_16G in the rte_page_sizes enum variable and adds huge page size support of DPDK for IBM Power architecture. Signed-off-by: Chao Zhu --- app/test/test_memzone.c

[dpdk-dev] [PATCH v5 08/14] Add CPU flag checking for IBM Power architecture

2014-11-25 Thread Chao Zhu
IBM Power processor doesn't have CPU flag hardware registers. This patch uses aux vector software register to get CPU flags and add CPU flag checking support for IBM Power architecture. Signed-off-by: Chao Zhu --- app/test/test_cpuflags.c | 35

[dpdk-dev] [PATCH v5 12/14] Add eal memory support for IBM Power Architecture

2014-11-25 Thread Chao Zhu
The mmap of hugepage files on IBM Power starts from high address to low address. This is different from x86. This patch modified the memory segment detection code to get the correct memory segment layout on Power architecture. This patch also added a commond ARCH_PPC_64 defination for 64 bit

[dpdk-dev] [PATCH v5 01/14] Add compiling definations for IBM Power architecture

2014-11-25 Thread Chao Zhu
To make DPDK run on IBM Power architecture, configuration files for Power architecuture are added. Also, the compiling related .mk files are added. Signed-off-by: Chao Zhu --- config/defconfig_ppc_64-power8-linuxapp-gcc | 70 +++ mk/arch/ppc_64/rte.vars.mk

[dpdk-dev] [PATCH 03/10] eal: fix header guards

2014-11-25 Thread Bruce Richardson
On Sat, Nov 22, 2014 at 10:43:35PM +0100, Thomas Monjalon wrote: > Some guards are missing or have a wrong name. > Others have LINUXAPP in their name but are now common. > > Signed-off-by: Thomas Monjalon One minor comment below. Acked-by: Bruce Richardson > --- >

[dpdk-dev] [PATCH v3 6/6] DPDK changes for accommodating ENIC PMD

2014-11-25 Thread Neil Horman
On Tue, Nov 25, 2014 at 06:13:26AM +, Sujith Sankar (ssujith) wrote: > > > On 24/11/14 10:49 pm, "Neil Horman" wrote: > > >On Mon, Nov 24, 2014 at 04:12:48PM +, Sujith Sankar (ssujith) wrote: > >> > >> > >> On 24/11/14 5:03 pm, "Neil Horman" wrote: > >> > >> >On Mon, Nov 24, 2014

[dpdk-dev] [PATCH v3 08/14] Add CPU flag checking for IBM Power architecture

2014-11-25 Thread Neil Horman
On Tue, Nov 25, 2014 at 11:27:31AM +0800, Chao Zhu wrote: > Neil, > > I didn't compiled ACL library on Power because SSE is not supported by > Power. This is why ACL compiling was > turned off on Power. rte_cpu_flag_t is an architecture specific value, each > CPU has its own rte_cpu_flag_t . The

[dpdk-dev] [RFC PATCH 6/6] ixgbe: PMD for bifurc ixgbe net device

2014-11-25 Thread Cunming Liang
Signed-off-by: Cunming Liang --- lib/librte_pmd_ixgbe/Makefile | 13 +- lib/librte_pmd_ixgbe/ixgbe_bifurcate.c | 303 + lib/librte_pmd_ixgbe/ixgbe_bifurcate.h | 57 +++ lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 40 -

[dpdk-dev] [RFC PATCH 3/6] pci: allow VDEV as pci device during device driver probe

2014-11-25 Thread Cunming Liang
Signed-off-by: Cunming Liang --- lib/librte_eal/common/include/rte_pci.h | 4 lib/librte_eal/linuxapp/eal/eal_pci.c | 42 + lib/librte_ether/rte_ethdev.c | 3 +-- 3 files changed, 32 insertions(+), 17 deletions(-) diff --git

[dpdk-dev] [RFC PATCH 5/6] ixgbe: rx/tx queue stop bug fix

2014-11-25 Thread Cunming Liang
Signed-off-by: Cunming Liang --- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c b/lib/librte_pmd_ixgbe/ixgbe_rxtx.c index f9b3fe3..e240376 100644 --- a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c +++

[dpdk-dev] [RFC PATCH 0/6] DPDK support to bifurcated driver

2014-11-25 Thread Neil Horman
On Tue, Nov 25, 2014 at 10:11:16PM +0800, Cunming Liang wrote: > > This is a RFC patch set to support "bifurcated driver" in DPDK. > > > What is "bifurcated driver"? > === > > The "bifurcated driver" stands for the kernel NIC driver that supports: > > 1. on-demand

[dpdk-dev] [RFC PATCH 0/6] DPDK support to bifurcated driver

2014-11-25 Thread Bruce Richardson
On Tue, Nov 25, 2014 at 09:23:16AM -0500, Neil Horman wrote: > On Tue, Nov 25, 2014 at 10:11:16PM +0800, Cunming Liang wrote: > > > > This is a RFC patch set to support "bifurcated driver" in DPDK. > > > > > > What is "bifurcated driver"? > > === > > > > The "bifurcated

[dpdk-dev] [RFC PATCH 6/6] ixgbe: PMD for bifurc ixgbe net device

2014-11-25 Thread Bruce Richardson
On Tue, Nov 25, 2014 at 10:11:22PM +0800, Cunming Liang wrote: > Signed-off-by: Cunming Liang > --- > lib/librte_pmd_ixgbe/Makefile | 13 +- > lib/librte_pmd_ixgbe/ixgbe_bifurcate.c | 303 > + > lib/librte_pmd_ixgbe/ixgbe_bifurcate.h | 57 +++ >

[dpdk-dev] [RFC PATCH 0/6] DPDK support to bifurcated driver

2014-11-25 Thread Liang, Cunming
> -Original Message- > From: Richardson, Bruce > Sent: Tuesday, November 25, 2014 10:30 PM > To: Neil Horman > Cc: Liang, Cunming; dev at dpdk.org > Subject: Re: [dpdk-dev] [RFC PATCH 0/6] DPDK support to bifurcated driver > > On Tue, Nov 25, 2014 at 09:23:16AM -0500, Neil Horman wrote:

[dpdk-dev] [RFC PATCH 6/6] ixgbe: PMD for bifurc ixgbe net device

2014-11-25 Thread Liang, Cunming
> -Original Message- > From: Richardson, Bruce > Sent: Tuesday, November 25, 2014 10:34 PM > To: Liang, Cunming > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [RFC PATCH 6/6] ixgbe: PMD for bifurc ixgbe net device > > On Tue, Nov 25, 2014 at 10:11:22PM +0800, Cunming Liang wrote: > >

[dpdk-dev] checkpatch script

2014-11-25 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Tuesday, November 25, 2014 2:29 PM > To: De Lara Guarch, Pablo > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] checkpatch script > > Hi Pablo, > > 2014-11-25 13:11, De Lara Guarch,

[dpdk-dev] [PATCH 00/10] eal cleanup and new options

2014-11-25 Thread Thomas Monjalon
> There are some pending patches which requires to factorize some EAL parts > in order to be correctly implemented. > This patchset do the required clean-up and rework these patches to improve > lcore handling: > > Didier Pallard (2): > eal: add core list input format > config: support 128

[dpdk-dev] [RFC PATCH 0/6] DPDK support to bifurcated driver

2014-11-25 Thread Walukiewicz, Miroslaw
Thank you Bruce for explanation of the idea. I have question regarding TCP SYN packets? Do you have any idea how to share the TCP SYN requests between kernel and user-space application? Regards, Mirek > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of

[dpdk-dev] [RFC PATCH 6/6] ixgbe: PMD for bifurc ixgbe net device

2014-11-25 Thread Bruce Richardson
On Tue, Nov 25, 2014 at 02:48:51PM +, Liang, Cunming wrote: > > > > -Original Message- > > From: Richardson, Bruce > > Sent: Tuesday, November 25, 2014 10:34 PM > > To: Liang, Cunming > > Cc: dev at dpdk.org > > Subject: Re: [dpdk-dev] [RFC PATCH 6/6] ixgbe: PMD for bifurc ixgbe net

[dpdk-dev] [RFC PATCH 0/6] DPDK support to bifurcated driver

2014-11-25 Thread Bruce Richardson
On Tue, Nov 25, 2014 at 02:57:13PM +, Walukiewicz, Miroslaw wrote: > Thank you Bruce for explanation of the idea. Actually, credit goes to Steve Liang, not me, for the explanation. :-) > > I have question regarding TCP SYN packets? Do you have any idea how to share > the TCP SYN requests

[dpdk-dev] [PATCH v5 0/6] enicpmd: Cisco Systems Inc. VIC Ethernet PMD

2014-11-25 Thread Neil Horman
On Wed, Nov 26, 2014 at 05:15:39AM +0530, Sujith Sankar wrote: > ENIC PMD is the poll-mode driver for the Cisco Systems Inc. VIC to be > used with DPDK suite. > > Sujith Sankar (6): > enicpmd: License text > enicpmd: Makefile > enicpmd: VNIC common code partially shared with ENIC kernel

[dpdk-dev] [RFC PATCH 0/6] DPDK support to bifurcated driver

2014-11-25 Thread Zhou, Danny
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bruce Richardson > Sent: Tuesday, November 25, 2014 11:03 PM > To: Walukiewicz, Miroslaw > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [RFC PATCH 0/6] DPDK support to bifurcated driver > > On Tue, Nov 25,

[dpdk-dev] [PATCH v5 6/6] enicpmd: DPDK changes for accommodating ENIC PMD

2014-11-25 Thread David Marchand
On Wed, Nov 26, 2014 at 12:45 AM, Sujith Sankar wrote: > > diff --git a/lib/Makefile b/lib/Makefile > index 204ef11..df17d78 100644 > --- a/lib/Makefile > +++ b/lib/Makefile > @@ -43,6 +43,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_CMDLINE) += librte_cmdline > DIRS-$(CONFIG_RTE_LIBRTE_ETHER) += librte_ether

[dpdk-dev] [PATCH v5 0/6] enicpmd: Cisco Systems Inc. VIC Ethernet PMD

2014-11-25 Thread David Marchand
Sujith, - Sorry, I still have one problem with the patchset. Your patches do not pass checkpatch. I can see indent problems, trailing whitespaces etc... Can you fix this ? - Also, look at patch 6/6, there is a problem with the build option (see my other mail). Thanks for the effort. --

[dpdk-dev] [PATCH v6 07/10] librte_power common interface for Guest and Host

2014-11-25 Thread Pablo de Lara
From: Alan Carew Moved the current librte_power implementation to rte_power_acpi_cpufreq, with renaming of functions only. Added rte_power_kvm_vm implementation to support Power Management from a VM. librte_power now hides the implementation based on the environment used.

[dpdk-dev] [PATCH v6 01/10] Channel Manager and Monitor for VM Power Management(Host).

2014-11-25 Thread Pablo de Lara
From: Alan Carew The manager is responsible for adding communications channels to the Monitor thread, tracking and reporting VM state and employs the libvirt API for synchronization with the KVM Hypervisor. The manager interacts with the Hypervisor to discover the mapping

[dpdk-dev] [PATCH v6 03/10] CPU Frequency Power Management(Host).

2014-11-25 Thread Pablo de Lara
From: Alan Carew A wrapper around librte_power(using ACPI cpufreq), providing locking around the non-threadsafe library, allowing for frequency changes based on core masks and core numbers from both the CLI thread and epoll monitor thread. Signed-off-by: Alan Carew

[dpdk-dev] [PATCH v6 09/10] Build system integration for VM Power Management(Guest and Host)

2014-11-25 Thread Pablo de Lara
From: Alan Carew librte_power now contains both rte_power_acpi_cpufreq and rte_power_kvm_vm implementations. Signed-off-by: Alan Carew Signed-off-by: Pablo de Lara --- lib/librte_power/Makefile |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git

[dpdk-dev] [PATCH v6 05/10] VM Power Management CLI(Guest).

2014-11-25 Thread Pablo de Lara
From: Alan Carew Provides a small sample application(guest_vm_power_mgr) to run on a VM. The application is run by providing a core mask(-c) and number of memory channels(-n). The core mask corresponds to the number of lcore channels to attempt to open. A maximum of 64

[dpdk-dev] [PATCH v6 06/10] VM communication channels for VM Power Management(Guest).

2014-11-25 Thread Pablo de Lara
From: Alan Carew Allows for the opening of Virtio-Serial devices on a VM, where a DPDK application can send packets to the host based monitor. The packet formatted is specified in channel_commands.h Each device appears as a serial device in path

[dpdk-dev] [PATCH v5 0/6] enicpmd: Cisco Systems Inc. VIC Ethernet PMD

2014-11-25 Thread Sujith Sankar (ssujith)
Thanks David. I shall rectify those. Regards, -Sujith From: David Marchand mailto:david.march...@6wind.com>> Date: Tuesday, 25 November 2014 8:58 pm To: "Sujith Sankar (ssujith)" mailto:ssujith at cisco.com>> Cc: "dev at dpdk.org" mailto:dev at dpdk.org>>, "Prasad Rao

[dpdk-dev] [PATCH v2 0/4] rte_hash_crc reworked to be platform-independent

2014-11-25 Thread Stephen Hemminger
I found that other hash functions are faster than the crc32 SSE instruction. Though the hardware instruction seems like it would be faster, it takes more cycles than simple multiplicative or murmur hash.

[dpdk-dev] [PATCH v8] eal: map PCI memory resources after hugepages

2014-11-25 Thread Thomas Monjalon
> > Multi-process DPDK application must mmap hugepages and PCI resources > > into the same virtual address space. By default the virtual addresses > > are chosen by the primary process automatically when calling the mmap. > > But sometimes the chosen virtual addresses aren't usable in secondary >

[dpdk-dev] [PATCH v6 0/6] enicpmd: Cisco Systems Inc. VIC Ethernet PMD

2014-11-25 Thread Sujith Sankar
ENIC PMD is the poll-mode driver for the Cisco Systems Inc. VIC to be used with DPDK suite. Sujith Sankar (6): enicpmd: License text enicpmd: Makefile enicpmd: VNIC common code partially shared with ENIC kernel mode driver enicpmd: pmd specific code enicpmd: DPDK-ENIC PMD interface

[dpdk-dev] [PATCH v6 5/6] enicpmd: DPDK-ENIC PMD interface

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/enic_etherdev.c | 613 1 file changed, 613 insertions(+) create mode 100644 lib/librte_pmd_enic/enic_etherdev.c diff --git a/lib/librte_pmd_enic/enic_etherdev.c b/lib/librte_pmd_enic/enic_etherdev.c new

[dpdk-dev] [PATCH v6 6/6] enicpmd: DPDK changes for accommodating ENIC PMD

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- config/common_linuxapp | 5 + lib/Makefile | 1 + mk/rte.app.mk | 4 3 files changed, 10 insertions(+) diff --git a/config/common_linuxapp b/config/common_linuxapp index 6243d4b..51edbd9 100644 --- a/config/common_linuxapp +++

[dpdk-dev] [PATCH v6 0/6] enicpmd: Cisco Systems Inc. VIC Ethernet PMD

2014-11-25 Thread Neil Horman
On Tue, Nov 25, 2014 at 10:56:39PM +0530, Sujith Sankar wrote: > ENIC PMD is the poll-mode driver for the Cisco Systems Inc. VIC to be > used with DPDK suite. > > Sujith Sankar (6): > enicpmd: License text > enicpmd: Makefile > enicpmd: VNIC common code partially shared with ENIC kernel

[dpdk-dev] [dpdk-announce] FYI: DPDK Accelerated vSwitch Projects

2014-11-25 Thread St Leger, Jim
FYI. An update from the Intel team on our two vSwitch efforts and the move now to converge solely on the mainline community Open vSwitch project (now that ovs.org has adopted the DPDK acceleration model that was proven out via the 01.org "OVDK" project.) Jim -Original Message- From: