[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 +++ b/config

[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 f

[dpdk-dev] [PATCH v6 4/6] enicpmd: 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| 2

[dpdk-dev] [PATCH v6 3/6] enicpmd: 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 | 1

[dpdk-dev] [PATCH v6 2/6] enicpmd: Makefile

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/Makefile | 67 1 file changed, 67 insertions(+) create mode 100644 lib/librte_pmd_enic/Makefile diff --git a/lib/librte_pmd_enic/Makefile b/lib/librte_pmd_enic/Makefile new file mode 100644 index 0

[dpdk-dev] [PATCH v6 1/6] enicpmd: License text

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/LICENSE | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 lib/librte_pmd_enic/LICENSE diff --git a/lib/librte_pmd_enic/LICENSE b/lib/librte_pmd_enic/LICENSE new file mode 100644 index 000..46a27a4 --- /

[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] [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 - lib/librte_pmd_ixgbe/ixgbe_rx

[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 +++ b/lib/librte_

[dpdk-dev] [RFC PATCH 4/6] bifurc: add driver to scan bifurcated netdev

2014-11-25 Thread Cunming Liang
Signed-off-by: Cunming Liang --- config/common_linuxapp | 5 + lib/Makefile | 1 + lib/librte_bifurc/Makefile | 58 + lib/librte_bifurc/rte_bifurc.c | 284 + lib/librte_bifurc/rte_bifurc.h | 90 + mk/

[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 a/lib/librte_eal/com

[dpdk-dev] [RFC PATCH 2/6] eal: direct ring access support by linux af_packet

2014-11-25 Thread Cunming Liang
Signed-off-by: Cunming Liang --- lib/librte_eal/linuxapp/eal/Makefile | 1 + lib/librte_eal/linuxapp/eal/eal_pci_bifurc.c | 336 +++ 2 files changed, 337 insertions(+) create mode 100644 lib/librte_eal/linuxapp/eal/eal_pci_bifurc.c diff --git a/lib/librte_eal/

[dpdk-dev] [RFC PATCH 1/6] eal: common direct ring access API

2014-11-25 Thread Cunming Liang
Signed-off-by: Cunming Liang --- lib/librte_eal/common/Makefile | 5 + lib/librte_eal/common/include/rte_pci_bifurc.h | 186 + 2 files changed, 191 insertions(+) create mode 100644 lib/librte_eal/common/include/rte_pci_bifurc.h diff --git a/lib/librte_

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

2014-11-25 Thread Cunming Liang
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 rx/tx queue pairs split-off and assignment to user space 2. direct NIC resource(e.g. rx

[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 a/config/co

[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 f

[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| 2

[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 | 1

[dpdk-dev] [PATCH v4 2/6] ENIC PMD Makefile

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/Makefile | 67 1 file changed, 67 insertions(+) create mode 100644 lib/librte_pmd_enic/Makefile diff --git a/lib/librte_pmd_enic/Makefile b/lib/librte_pmd_enic/Makefile new file mode 100644 index 0

[dpdk-dev] [PATCH v4 1/6] ENIC PMD License

2014-11-25 Thread Sujith Sankar
Signed-off-by: Sujith Sankar --- lib/librte_pmd_enic/LICENSE | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 lib/librte_pmd_enic/LICENSE diff --git a/lib/librte_pmd_enic/LICENSE b/lib/librte_pmd_enic/LICENSE new file mode 100644 index 000..0ad2216 --- /

[dpdk-dev] [PATCH v4 0/6] Cisco Systems Inc. VIC Ethernet PMD - ENIC 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): ENIC PMD License ENIC PMD Makefile VNIC common code partially shared with ENIC kernel mode driver ENIC PMD specific code DPDK-ENIC PMD interface DPDK changes for accommodating

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

2014-11-25 Thread David Marchand
On Tue, Nov 25, 2014 at 6:26 PM, 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 mode >

[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: Dpd

[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 v3 01/14] Add compiling definations for IBM Power architecture

2014-11-25 Thread Chao Zhu
Bruce, Good point! I'll update the current patches. Thanks for your suggestions! On 2014/11/25 16:44, Bruce Richardson wrote: > On Tue, Nov 25, 2014 at 11:51:13AM +0800, Chao Zhu wrote: >> Neil, >> Current Power related patches are not a full functional one. Some of the >> libraries are not migra

[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 inse

[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 --- app/test/t

[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 system

[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 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 mk/arch/ppc_64/r

[dpdk-dev] [PATCH v5 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: 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 .../common/include

[dpdk-dev] [PATCH v5 07/14] Add vector memcpy for IBM Power architecture

2014-11-25 Thread Chao Zhu
The SSE based memory copy in DPDK only support x86. This patch adds altivec based memory copy functions for IBM Power architecture. This patch includes altivec.h which requires GCC version>= 4.8. Signed-off-by: Chao Zhu --- .../common/include/arch/ppc_64/rte_memcpy.h| 226 ++

[dpdk-dev] [PATCH v5 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 lib/librte_eal/common/include/arch/ppc_64/rte_spinlock

[dpdk-dev] [PATCH v5 05/14] Add prefetch operation for IBM Power architecture

2014-11-25 Thread Chao Zhu
This patch add architecture specific prefetch operations for IBM Power architecture. Signed-off-by: Chao Zhu --- .../common/include/arch/ppc_64/rte_prefetch.h | 61 1 files changed, 61 insertions(+), 0 deletions(-) create mode 100644 lib/librte_eal/common/include/arc

[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 chan

[dpdk-dev] [PATCH v5 03/14] Add byte order operations for IBM Power architecture

2014-11-25 Thread Chao Zhu
This patch adds architecture specific byte order operations for IBM Power architecture. Power architecture support both big endian and little endian. This patch also adds a RTE_ARCH_BIG_ENDIAN micro. Signed-off-by: Chao Zhu --- config/defconfig_ppc_64-power8-linuxapp-gcc|1 + .../com

[dpdk-dev] [PATCH v5 02/14] Add atomic operations for IBM Power architecture

2014-11-25 Thread Chao Zhu
This patch adds architecture specific atomic operation file for IBM Power architecture CPU. Signed-off-by: Chao Zhu --- .../common/include/arch/ppc_64/rte_atomic.h| 427 1 files changed, 427 insertions(+), 0 deletions(-) create mode 100644 lib/librte_eal/common/inc

[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 v5 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. To compile on PPC64 architecture, GCC version >= 4.8 must be used. According to Bruce and Neil's comments, this v5

[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 (p

[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. -- Dav

[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 v6 10/10] VM Power Management Unit Tests

2014-11-25 Thread Pablo de Lara
From: Alan Carew Updated the unit tests to cover both librte_power implementations as well as the external API. Signed-off-by: Alan Carew Signed-off-by: Pablo de Lara --- app/test/Makefile |3 +- app/test/autotest_data.py | 26 ++ app/test/test_power.c

[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 a/lib/librte_power/Makefil

[dpdk-dev] [PATCH v6 08/10] Packet format for VM Power Management(Host and Guest).

2014-11-25 Thread Pablo de Lara
From: Alan Carew Provides a command packet format for host and guest. Signed-off-by: Alan Carew Signed-off-by: Pablo de Lara --- lib/librte_power/channel_commands.h | 77 +++ 1 files changed, 77 insertions(+), 0 deletions(-) create mode 100644 lib/librte_pow

[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. A new call rte_power_se

[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 /dev/virtio-ports/virtio.serial.port.. where each l

[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 channels per VM is allowed.

[dpdk-dev] [PATCH v6 04/10] VM Power Management application and Makefile.

2014-11-25 Thread Pablo de Lara
From: Alan Carew For launching CLI thread and Monitor thread and initialising resources. Requires a minimum of two lcores to run, additional cores specified by eal core mask are not used. Signed-off-by: Alan Carew Signed-off-by: Pablo de Lara --- examples/vm_power_manager/Makefile | 57

[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 Signed-off-by: Pablo de Lara

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

2014-11-25 Thread Pablo de Lara
From: Alan Carew The CLI is used for administrating the channel monitor and manager and manually setting the CPU frequency on the host. Supports the following commands: add_vm [Mul-choice STRING]: add_vm|rm_vm , add a VM for subsequent operations with the CLI or remove a previously added VM f

[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 of virtual CPUS(vCPUs) t

[dpdk-dev] [PATCH v6 00/10] Virtual Machine Power Management

2014-11-25 Thread Pablo de Lara
Virtual Machine Power Management. The following patches add two DPDK sample applications and an alternate implementation of librte_power for use in virtualized environments. The idea is to provide librte_power functionality from within a VM to address the lack of MSRs to facilitate frequency chang

[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 cor

[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 i

[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 --- a/lib/librte_pmd_i40e/i40e

[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 l

[dpdk-dev] checkpatch script

2014-11-25 Thread Thomas Monjalon
Hi Pablo, 2014-11-25 13:11, De Lara Guarch, Pablo: > Hi Thomas, > > As we have seen the issues we have had on previous patches due to > checkpatch, No we have no issues because of checkpatch ;) It helps us to see some obvious errors. > would it be possible to include the up-to-date script in th

[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, 20

[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 mod

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

2014-11-25 Thread Bruce Richardson
On Tue, Nov 25, 2014 at 03:55:19PM +0100, Thomas Monjalon wrote: > > 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

[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 b

[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 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 Bruc

[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: > > Si

[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, Pab

[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 Liang, Cunming > Sent: Tuesday, November 25, 2014 10:40 PM > To: Richardson, Bruce; Neil Horman > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [RFC PATCH 0/6] DPDK support to bifurcated driver > > > > >

[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 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 +++ > lib

[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] [PATCH v2 06/13] mbuf: add functions to get the name of an ol_flag

2014-11-25 Thread Ananyev, Konstantin
> -Original Message- > From: Zhang, Helin > Sent: Tuesday, November 25, 2014 12:15 PM > To: Ananyev, Konstantin; 'Olivier MATZ'; 'dev at dpdk.org' > Cc: 'jigsaw at gmail.com' > Subject: RE: [dpdk-dev] [PATCH v2 06/13] mbuf: add functions to get the name > of an ol_flag > > HI Konstantin

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

2014-11-25 Thread Thomas Monjalon
Hi Simon, 2014-11-25 10:09, Simon Kuenzer: > thanks for your work. I have one (minor) comment for this patch that > should be fixed in a later version. > > + /* default master lcore is the first one */ > > + if (cfg->master_lcore == 0) > > + cfg->master_lcore = rte_get_next_lcore(-

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

2014-11-25 Thread Bruce Richardson
On Tue, Nov 25, 2014 at 01:45:22PM +0100, Thomas Monjalon wrote: > Hi Simon, > > 2014-11-25 10:09, Simon Kuenzer: > > thanks for your work. I have one (minor) comment for this patch that > > should be fixed in a later version. > > > > + /* default master lcore is the first one */ > > > + if (cfg

[dpdk-dev] [PATCH v2 06/13] mbuf: add functions to get the name of an ol_flag

2014-11-25 Thread Olivier MATZ
Hi Helin, On 11/25/2014 01:15 PM, Zhang, Helin wrote: I would be in favor of removing them, or at least the following ones (I don't understand how they can help the application): - PKT_RX_OVERSIZE: Num of desc of an RX pkt oversize. - PKT_RX_HBUF_OVERFLOW: Header buffer ov

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

2014-11-25 Thread Bruce Richardson
On Tue, Nov 25, 2014 at 01:23:55PM +0100, Thomas Monjalon wrote: > Thanks for your review, Bruce. > More comments below. > > 2014-11-25 10:28, 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 hav

[dpdk-dev] [PATCH v2 06/13] mbuf: add functions to get the name of an ol_flag

2014-11-25 Thread Zhang, Helin
Hi Olivier > -Original Message- > From: Olivier MATZ [mailto:olivier.matz at 6wind.com] > Sent: Tuesday, November 25, 2014 8:38 PM > To: Zhang, Helin; Ananyev, Konstantin; 'dev at dpdk.org' > Cc: 'jigsaw at gmail.com' > Subject: Re: [dpdk-dev] [PATCH v2 06/13] mbuf: add functions to get th

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

2014-11-25 Thread Thomas Monjalon
Thanks for your review, Bruce. More comments below. 2014-11-25 10:28, 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 Mon

[dpdk-dev] checkpatch script

2014-11-25 Thread De Lara Guarch, Pablo
Hi Thomas, As we have seen the issues we have had on previous patches due to checkpatch, would it be possible to include the up-to-date script in the repo? I have realized that people either do not check their patches or check them with an old version that do not catch some errors that the late

[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 b/lib/librte_eal/common/inclu

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

2014-11-25 Thread Thomas Monjalon
> > The parameters port_id didn't match with comments about port. > > > > Signed-off-by: Thomas Monjalon > > Acked-by: Bruce Richardson Applied -- Thomas

[dpdk-dev] [PATCH] bond: fix doxygen

2014-11-25 Thread Thomas Monjalon
2014-11-24 22:24, Thomas Monjalon: > There is no parameter delay_ms in *_delay_get functions. > > Signed-off-by: Thomas Monjalon Applied -- Thomas

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

2014-11-25 Thread David Marchand
On Tue, Nov 25, 2014 at 11:46 AM, Sujith Sankar (ssujith) wrote: > David, > > I tested it now, and it looks like the length is proper in > dev->men_resource[0].len without this change. > Not sure what changed in my workspace as I clearly remember seeing it > wrong and hence added the extra statem

[dpdk-dev] [PATCH v8 0/7] link bonding

2014-11-25 Thread Thomas Monjalon
2014-11-25 10:56, Jastrzebski, MichalX K: > I noticed some problems with applying link bonding mode 4 patches after you > applied Declan's patches. > Link bonding mode 4 0001-bond-add-mode-4-support.patch won't apply because of > this error: > Checking patch lib/librte_pmd_bond/rte_eth_bond_priv

[dpdk-dev] [PATCH v2 06/13] mbuf: add functions to get the name of an ol_flag

2014-11-25 Thread Zhang, Helin
HI Konstantin > -Original Message- > From: Ananyev, Konstantin > Sent: Tuesday, November 25, 2014 6:38 PM > To: 'Olivier MATZ'; 'dev at dpdk.org' > Cc: 'jigsaw at gmail.com'; Zhang, Helin > Subject: RE: [dpdk-dev] [PATCH v2 06/13] mbuf: add functions to get the name > of > an ol_flag > >

[dpdk-dev] [PATCH v3 07/13] testpmd: fix use of offload flags in testpmd

2014-11-25 Thread Ananyev, Konstantin
> -Original Message- > From: Olivier Matz [mailto:olivier.matz at 6wind.com] > Sent: Thursday, November 20, 2014 10:59 PM > To: dev at dpdk.org > Cc: olivier.matz at 6wind.com; Walukiewicz, Miroslaw; Liu, Jijiang; Liu, > Yong; jigsaw at gmail.com; Richardson, Bruce; Ananyev, Konstantin >

[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 migrate

[dpdk-dev] [PATCH v2] i40e: link flow control support

2014-11-25 Thread Qiu, Michael
On 11/20/2014 5:00 PM, zhida zang wrote: > From: zzang > > Add link flow control support for i40e > > Signed-off-by: zhida zang > --- > lib/librte_pmd_i40e/i40e_ethdev.c | 155 > +- > lib/librte_pmd_i40e/i40e_ethdev.h | 10 +++ > 2 files changed, 162 inserti

[dpdk-dev] reg: dpdk on virtual machine

2014-11-25 Thread Qiu, Michael
On 11/25/2014 11:13 AM, Anand Angadi wrote: > On 11/25/2014 7:15 AM, Qiu, Michael wrote: >> On 11/24/2014 7:24 PM, Anand Angadi wrote: >>> Hi friends, >>> I wanted to know how to install dpdk on virtual machine and how to get >>> virtual intel dpdk NIC card(virthal hardware) >>> in virtual machine

[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 bui

[dpdk-dev] [PATCH v3 06/13] mbuf: add functions to get the name of an ol_flag

2014-11-25 Thread Thomas Monjalon
> In test-pmd (rxonly.c), the code is able to dump the list of ol_flags. > The issue is that the list of flags in the application has to be > synchronized with the flags defined in rte_mbuf.h. > > This patch introduces 2 new functions rte_get_rx_ol_flag_name() > and rte_get_tx_ol_flag_name() that

[dpdk-dev] [PATCH v3 03/13] mbuf: reorder tx ol_flags

2014-11-25 Thread Thomas Monjalon
2014-11-20 23:58, Olivier Matz: > The tx mbuf flags are now ordered from the lowest value to the > the highest. Add comments to explain where to add new flags. > > By the way, move the PKT_TX_VXLAN_CKSUM at the right place. > > Signed-off-by: Olivier Matz Acked-by: Thomas Monjalon

[dpdk-dev] [PATCH v4 0/6] Cisco Systems Inc. VIC Ethernet PMD - ENIC PMD

2014-11-25 Thread David Marchand
Hello Sujith, - This is a comment for the whole patchset. Patch subjects and commitlogs should comply with the "Contribute by sending patches" section of http://dpdk.org/dev. I would say, all your patches should be prefixed with "enic: ". - By the way, can you add some performance numbers as a r

[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 > +++ b/lib/librte_eal/linuxapp/eal/eal_

[dpdk-dev] [PATCH v8 0/7] link bonding

2014-11-25 Thread Jastrzebski, MichalX K
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Monday, November 24, 2014 9:54 PM > To: Doherty, Declan > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v8 0/7] link bonding > > 2014-11-24 16:33, Declan Doherty: > > v8: > > - Mis

[dpdk-dev] [PATCH 09/10] eal: get relative core index

2014-11-25 Thread Bruce Richardson
On Sat, Nov 22, 2014 at 10:43:41PM +0100, Thomas Monjalon wrote: > From: Patrick Lu > > EAL -c option allows the user to enable any lcore in the system. > Often times, the user app wants to know 1st enabled core, 2nd > enabled core, etc, rather than phyical core ID (rte_lcore_id().) > > The new

[dpdk-dev] [PATCH v4 0/6] Cisco Systems Inc. VIC Ethernet PMD - ENIC PMD

2014-11-25 Thread Sujith Sankar (ssujith)
Hi David, As suggested, I shall make the modification in the subject in v6. About performance numbers, I?m working on ENIC PMD documentation (in rst format), and it will have performance numbers along with some other relevant details. Thanks, -Sujith From: David Marchand Date: Tuesday, 25 No

[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 08/10] config: support 128 cores

2014-11-25 Thread Bruce Richardson
On Sat, Nov 22, 2014 at 10:43:40PM +0100, Thomas Monjalon wrote: > From: Didier Pallard > > New platforms have more than 64 cores. > Now that cores can be specified with a list, we are not limited anymore to 64. > Set default max cores number to 128. > > Signed-off-by: Didier Pallard > Acked-by

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

2014-11-25 Thread Sujith Sankar (ssujith)
David, I tested it now, and it looks like the length is proper in dev->men_resource[0].len without this change. Not sure what changed in my workspace as I clearly remember seeing it wrong and hence added the extra statement in the lib. I shall remove it in v5. Thanks for pointing it out, David.

  1   2   >