[dpdk-dev] [PATCH v5 2/2] eal/linux: Add support for handling built-in kernel modules

2016-01-18 Thread Yuanhan Liu
On Wed, Dec 09, 2015 at 02:19:58PM +0100, Kamil Rytarowski wrote: > Currently rte_eal_check_module() detects Linux kernel modules via reading > /proc/modules. Built-in ones aren't listed there and therefore they are not > being found by the script. > > Add support for checking built-in modules wit

[dpdk-dev] [PATCH v5 1/2] tools: Add support for handling built-in kernel modules

2016-01-18 Thread Yuanhan Liu
Hi Kamil, First of all, sorry for no one has reviewed your patches for over one month! You may want to ping more often (say, per week) next time if it still happenes :) Another thing is that there is no maintainer for tools code. On Wed, Dec 09, 2015 at 02:19:57PM +0100, Kamil Rytarowski wrote:

[dpdk-dev] Proposal for a big eal / ethdev cleanup

2016-01-18 Thread David Marchand
Jan, I was waiting for some others feedbacks before going into the code. Glad to see you already tried this. On Mon, Jan 18, 2016 at 3:58 PM, Jan Viktorin wrote: > On Thu, 14 Jan 2016 11:38:16 +0100 > David Marchand wrote: >> - no need for a rte_pci_driver reference in rte_pci_device, since w

[dpdk-dev] [PATCH 3/3] virtio: Add a new layer to abstract pci access method

2016-01-18 Thread Yuanhan Liu
On Mon, Jan 18, 2016 at 06:13:09PM +0900, Tetsuya Mukawa wrote: > +struct virtio_pci_access_ops { > + uint8_t (*legacy_read8)(struct virtio_hw *hw, uint8_t *addr); > + uint16_t (*legacy_read16)(struct virtio_hw *hw, uint16_t *addr); > + uint32_t (*legacy_read32)(struct virtio_hw *hw, ui

[dpdk-dev] [PATCH 0/3] virtio: Add a new layer to abstract pci access method

2016-01-18 Thread Tan, Jianfeng
Hi Tetsuya, On 1/18/2016 5:13 PM, Tetsuya Mukawa wrote: > The patches abstract pci access method of virtio-net PMD. > The patch should be on Yuanhan's below patch series. > - [PATCH v4 0/8] virtio 1.0 enabling for virtio pmd driver > > > Tetsuya Mukawa (3): >virtio: Change the parameter orde

[dpdk-dev] [PATCH v2] cfgfile: support looking up sections by index

2016-01-18 Thread Rich Lane
This is useful when sections have duplicate names. Signed-off-by: Rich Lane --- v1->v2: - Added new symbol to version script. lib/librte_cfgfile/rte_cfgfile.c | 16 lib/librte_cfgfile/rte_cfgfile.h | 23 +++ lib/librte_cfgfile/rte_cfgfile

[dpdk-dev] [PATCH v4 08/14] virtio: pci: extend virtio pci rw api for vfio interface

2016-01-18 Thread Santosh Shukla
On Mon, Jan 18, 2016 at 12:47 PM, Yuanhan Liu wrote: > On Mon, Jan 18, 2016 at 12:15:40PM +0530, Santosh Shukla wrote: >> I am testing for virtio 1.0 and 0.95 for arm including your patch, >> soon we;ll post the patch series that is rebased on / dependent on >> below patchset: >> - virtio 1.0 >> -

[dpdk-dev] [PATCH] i40e: fix vlan filtering

2016-01-18 Thread Julien Meunier
VLAN filtering was always performed, even if hw_vlan_filter was disabled. During device initialization, default filter RTE_MACVLAN_PERFECT_MATCH was applied. In this situation, all incoming VLAN frames were dropped by the card (increase of the register RUPP - Rx Unsupported Protocol). In order to

[dpdk-dev] [PATCH 3/3] virtio: Add a new layer to abstract pci access method

2016-01-18 Thread Tetsuya Mukawa
This patch adds below function pointers to abstract pci access method. - legacy_read8/16/32 - legacy_write8/16/32 - modern_read8/16/32 - modern_write8/16/32 - map_pci_cfg - unmap_pci_cfg - get_cfg_addr - read_pci_cfg This layer will be used when virtio-net PMD supports container extension.

[dpdk-dev] [PATCH 2/3] virtio: move rte_eal_pci_unmap_device() to virtio_pci.c

2016-01-18 Thread Tetsuya Mukawa
To abstract pci access method, the patch moves below function to "virtio_pci.c". - rte_eal_pci_unmap_device() Signed-off-by: Tetsuya Mukawa --- drivers/net/virtio/virtio_ethdev.c | 2 +- drivers/net/virtio/virtio_pci.c| 11 +++ drivers/net/virtio/virtio_pci.h| 1 + 3 files cha

[dpdk-dev] [PATCH 1/3] virtio: Change the parameter order of io_write8/16/32()

2016-01-18 Thread Tetsuya Mukawa
The patch change the parameter order of below functions. - io_write8() - io_write16() - io_write32() This changig are needed to add a new layer to abstract accessing method. Signed-off-by: Tetsuya Mukawa --- drivers/net/virtio/virtio_pci.c | 66 - 1 fil

[dpdk-dev] [PATCH 0/3] virtio: Add a new layer to abstract pci access method

2016-01-18 Thread Tetsuya Mukawa
The patches abstract pci access method of virtio-net PMD. The patch should be on Yuanhan's below patch series. - [PATCH v4 0/8] virtio 1.0 enabling for virtio pmd driver Tetsuya Mukawa (3): virtio: Change the parameter order of io_write8/16/32() virtio: move rte_eal_pci_unmap_device() to vir

[dpdk-dev] [PATCH v2 0/7] virtio 1.0 enabling for virtio pmd driver

2016-01-18 Thread Tetsuya Mukawa
On 2016/01/14 15:41, Tetsuya Mukawa wrote: > >>> 2. Abstraction of read/write accesses. >>> >>> It may be difficult to cleanly rebase my patches on this patches, >>> because virtio_read_caps() is not abstracted. >>> Let me describe it more. >>> So far, we need to handle below 3 virtio-net devices..

[dpdk-dev] [RFC 0/3] Use common Linux tools to control DPDK ports

2016-01-18 Thread Jay Rolette
On Mon, Jan 18, 2016 at 5:12 PM, Stephen Hemminger < stephen at networkplumber.org> wrote: > On Fri, 15 Jan 2016 16:18:01 + > Ferruh Yigit wrote: > > > This work is to make DPDK ports more visible and to enable using common > > Linux tools to configure DPDK ports. > > > > Patch is based on KN

[dpdk-dev] [RFC 0/3] Use common Linux tools to control DPDK ports

2016-01-18 Thread Stephen Hemminger
On Mon, 18 Jan 2016 17:48:51 -0600 Jay Rolette wrote: > On Mon, Jan 18, 2016 at 5:12 PM, Stephen Hemminger < > stephen at networkplumber.org> wrote: > > > On Fri, 15 Jan 2016 16:18:01 + > > Ferruh Yigit wrote: > > > > > This work is to make DPDK ports more visible and to enable using common

[dpdk-dev] [RESEND PATCH] vhost_user: Make sure that memory map is set before attempting address translation

2016-01-18 Thread Xie, Huawei
On 1/15/2016 4:10 PM, Pavel Fedin wrote: > Hello! > >> If this is the case, i am wondering whether we should include >> "malfunctioning clients" in commit message. It triggers me to think if >> there are existing buggy implementations. > Well... Can you suggest how to rephrase it? May be "if a cl

[dpdk-dev] [PATCH v4 2/8] virtio: introduce struct virtio_pci_ops

2016-01-18 Thread Xie, Huawei
On 1/15/2016 12:34 PM, Yuanhan Liu wrote: > +void > +vtpci_write_dev_config(struct virtio_hw *hw, uint64_t offset, > + void *src, int length) > +{ > + hw->vtpci_ops->write_dev_cfg(hw, offset, src, length); missed changing src to const. > +}

[dpdk-dev] [PATCH v4 7/8] virtio: add 1.0 support

2016-01-18 Thread Xie, Huawei
.On 1/15/2016 12:34 PM, Yuanhan Liu wrote: > Modern (v1.0) virtio pci device defines several pci capabilities. > Each cap has a configure structure corresponding to it, and the > cap.bar and cap.offset fields tell us where to find it. > [snip] > + > +static inline void > +io_write64_twopart(uint64_

[dpdk-dev] [PATCH v4 0/8] virtio 1.0 enabling for virtio pmd driver

2016-01-18 Thread Tetsuya Mukawa
On 2016/01/15 13:36, Yuanhan Liu wrote: > v4: - mark "src" arg as const for write_dev_cfg operation > > - remove unnessary inline, and likely/unlikely > > v3: - export pci_unmap_device as well; and invoke it at virtio > uninit stage. > > - fixed same data corruption bug reported by Qi

[dpdk-dev] [RFC 6/6] eal: move driver pointer from rte_pci_device to rte_bus_device

2016-01-18 Thread Jan Viktorin
We define to_pci_driver helper macro here. Suggested-by: David Marchand Signed-off-by: Jan Viktorin --- app/test/virtual_pmd.c | 2 +- drivers/net/virtio/virtio_ethdev.c | 25 + lib/librte_cryptodev/rte_cryptodev.c| 3 ++- lib/librte_eal/commo

[dpdk-dev] [RFC 5/6] eal: move intr_handle from rte_pci_device to rte_device

2016-01-18 Thread Jan Viktorin
Suggested-by: David Marchand Signed-off-by: Jan Viktorin --- drivers/net/e1000/em_ethdev.c | 14 ++--- drivers/net/e1000/igb_ethdev.c | 24 +++--- drivers/net/enic/enic_main.c | 4 ++-- drivers/net/fm10k/fm10k_ethdev.c | 1

[dpdk-dev] [RFC 4/6] eal: move numa_node from rte_pci_device to rte_device

2016-01-18 Thread Jan Viktorin
Signed-off-by: Jan Viktorin --- app/test/virtual_pmd.c | 2 +- lib/librte_eal/bsdapp/eal/eal_pci.c | 2 +- lib/librte_eal/common/eal_common_pci.c | 4 ++-- lib/librte_eal/common/include/rte_dev.h | 1 + lib/librte_eal/common/include/rte_pci.h | 1 - lib/librte_eal/linuxapp/e

[dpdk-dev] [RFC 3/6] eal: move devargs from rte_pci_device to rte_device

2016-01-18 Thread Jan Viktorin
Suggested-by: David Marchand Signed-off-by: Jan Viktorin --- lib/librte_eal/common/eal_common_pci.c | 6 +++--- lib/librte_eal/common/include/rte_dev.h | 3 +++ lib/librte_eal/common/include/rte_pci.h | 1 - 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/librte_eal/common/ea

[dpdk-dev] [RFC 2/6] eal: define macro container_of

2016-01-18 Thread Jan Viktorin
Signed-off-by: Jan Viktorin --- lib/librte_eal/common/include/rte_common.h | 16 1 file changed, 16 insertions(+) diff --git a/lib/librte_eal/common/include/rte_common.h b/lib/librte_eal/common/include/rte_common.h index b58a384..bf6560d 100644 --- a/lib/librte_eal/common/inclu

[dpdk-dev] [RFC 1/6] eal: introduce rte_bus_device and rte_bus_driver

2016-01-18 Thread Jan Viktorin
Define a general represenation of a device and driver in DPDK. The goal is to get rid of the deep dependency on the PCI. Higher level code should not reference the bus-specific structures as it does not need to. PCI infrastructure embeds those structures. Other infrastructures will do the same. S

[dpdk-dev] [RFC 0/6] Preview of a big eal/ethdev cleanup

2016-01-18 Thread Jan Viktorin
Hello, based on the recent discussions [1], I have prepared a little preview of patches reflecting the basic ideas. That is: * generalization of device and driver structures * embedding a generic device and driver structure in the bus-specific ones * moving some members from PCI-specific structur

[dpdk-dev] [PATCH v4 7/8] virtio: add 1.0 support

2016-01-18 Thread Xie, Huawei
On 1/15/2016 12:34 PM, Yuanhan Liu wrote: > -static void > +static int > virtio_negotiate_features(struct virtio_hw *hw) > { > uint64_t host_features; > @@ -949,6 +949,22 @@ virtio_negotiate_features(struct virtio_hw *hw) > hw->guest_features = vtpci_negotiate_features(hw, host_featur

[dpdk-dev] Proposal for a big eal / ethdev cleanup

2016-01-18 Thread Thomas Monjalon
2016-01-16 16:53, David Marchand: > On Thu, Jan 14, 2016 at 12:46 PM, Jan Viktorin > wrote: > > On Thu, 14 Jan 2016 11:38:16 +0100 > > David Marchand wrote: > >> Here is a proposal of a big cleanup in ethdev (cryptodev would have to > >> follow) and eal structures. [...] > >> ABI is most likely

[dpdk-dev] Proposal for a big eal / ethdev cleanup

2016-01-18 Thread David Marchand
Hello Declan, On Mon, Jan 18, 2016 at 3:54 PM, Declan Doherty wrote: > In your proposal above, having an bus type enumeration in the rte_device > which specifies the bus type might be simpler than having to parse a > specific name formatting. This is not simpler. This is useless afaics. "upper"

[dpdk-dev] [PATCH v4 7/8] virtio: add 1.0 support

2016-01-18 Thread Xie, Huawei
On 1/15/2016 12:34 PM, Yuanhan Liu wrote: > Modern (v1.0) virtio pci device defines several pci capabilities. > Each cap has a configure structure corresponding to it, and the > cap.bar and cap.offset fields tell us where to find it. > [snip] > > +static void * > +get_cfg_addr(struct rte_pci_de

[dpdk-dev] [PATCH 09/11] doc: refresh headers list

2016-01-18 Thread Mcnamara, John
> -Original Message- > From: David Marchand [mailto:david.marchand at 6wind.com] > Sent: Saturday, January 16, 2016 3:11 PM > To: Mcnamara, John > Cc: dev at dpdk.org; Thomas Monjalon > Subject: Re: [dpdk-dev] [PATCH 09/11] doc: refresh headers list > > Hello John, > > On Tue, Jan 12, 2

[dpdk-dev] Fw: Proposal for a big eal / ethdev cleanup

2016-01-18 Thread Jan Viktorin
I've lost some To/CC in the e-mail, so forwarding to dpdk-dev... Begin forwarded message: Date: Mon, 18 Jan 2016 15:58:34 +0100 From: Jan Viktorin To: David Marchand Subject: Re: Proposal for a big eal / ethdev cleanup Hello David, I am playing around a little bit with the code according to

[dpdk-dev] [PATCH v2 1/1] vhost: fix leak of fds and mmaps

2016-01-18 Thread Yuanhan Liu
On Sun, Jan 17, 2016 at 11:57:18AM -0800, Rich Lane wrote: > The common vhost code only supported a single mmap per device. vhost-user > worked around this by saving the address/length/fd of each mmap after the end > of the rte_virtio_memory struct. This only works if the vhost-user code frees > de

[dpdk-dev] [PATCH] mk: Fix examples install

2016-01-18 Thread Christian Ehrhardt
Hi, Since there was neither positive nor negative feedback so far I wanted to ask if this patch is ok? Especially since we had a discussion on the approach I chose in the first approach to this issue I'd be happy about a ack/nak. Kind Regards, Christian Christian Ehrhardt Software Engineer, Ubu

[dpdk-dev] [PATCH v2 1/3] cmdline: increase command line buffer

2016-01-18 Thread Olivier MATZ
Hi, On 01/15/2016 10:00 AM, Panu Matilainen wrote: diff --git a/lib/librte_cmdline/cmdline_rdline.h b/lib/librte_cmdline/cmdline_rdline.h index b9aad9b..72e2dad 100644 --- a/lib/librte_cmdline/cmdline_rdline.h +++ b/lib/librte_cmdline/cmdline_rdline.h @@ -93,7 +93,7 @

[dpdk-dev] [PATCH v5 1/2] tools: Add support for handling built-in kernel modules

2016-01-18 Thread Thomas Monjalon
Hi Kamil, 2015-12-09 14:19, Kamil Rytarowski: > Currently dpdk_nic_bind.py detects Linux kernel modules via reading > /proc/modules. Built-in ones aren't listed there and therefore they are not > being found by the script. > > Add support for checking built-in modules with parsing the sysfs files

[dpdk-dev] [RFC] cryptodev: Change burst APIs to crypto operation oriented

2016-01-18 Thread Olivier MATZ
Hi Declan, On 01/12/2016 07:11 PM, Declan Doherty wrote: > In this rfc I'm looking to get some feedback on a proposal to change the > cryptodev burst API from the current implementation of accepting burst > of rte_mbuf's to a burst API based on rte_crypto_op's. > > -static inline uint16_t > -rte_

[dpdk-dev] [PATCH v4 08/14] virtio: pci: extend virtio pci rw api for vfio interface

2016-01-18 Thread Yuanhan Liu
On Mon, Jan 18, 2016 at 12:15:40PM +0530, Santosh Shukla wrote: > I am testing for virtio 1.0 and 0.95 for arm including your patch, > soon we;ll post the patch series that is rebased on / dependent on > below patchset: > - virtio 1.0 > - vfio-noiommu > - KDRV check by huawei > > IMO, we should st

[dpdk-dev] [RFC 0/3] Use common Linux tools to control DPDK ports

2016-01-18 Thread Stephen Hemminger
On Fri, 15 Jan 2016 16:18:01 + Ferruh Yigit wrote: > This work is to make DPDK ports more visible and to enable using common > Linux tools to configure DPDK ports. > > Patch is based on KNI but contains only control functionality of it, > also this patch does not include any Linux kernel net

[dpdk-dev] [PATCH v4 08/14] virtio: pci: extend virtio pci rw api for vfio interface

2016-01-18 Thread Jason Wang
On 01/14/2016 09:28 PM, Santosh Shukla wrote: > So far virtio handle rw access for uio / ioport interface, This patch to > extend > the support for vfio interface. For that introducing private struct > virtio_vfio_dev{ > - is_vfio > - pci_dev > }; > Signed-off-by: Santosh Shukl

[dpdk-dev] [PATCH] cfgfile: support looking up sections by index

2016-01-18 Thread Panu Matilainen
On 01/17/2016 05:58 AM, Rich Lane wrote: > This is useful when sections have duplicate names. > > Signed-off-by: Rich Lane > --- > lib/librte_cfgfile/rte_cfgfile.c | 16 > lib/librte_cfgfile/rte_cfgfile.h | 23 +++ > 2 files changed, 39 insertions(+) > Thi

[dpdk-dev] Proposal for a big eal / ethdev cleanup

2016-01-18 Thread Declan Doherty
On 14/01/16 10:38, David Marchand wrote: > Hello all, > > Here is a proposal of a big cleanup in ethdev (cryptodev would have to > follow) and eal structures. > This is something I wanted to do for quite some time and the arrival of > a new bus makes me think we need it. > > This is an alternativ

[dpdk-dev] [dpdk-users] Broken hash table functions with CFLAGS -O3

2016-01-18 Thread De Lara Guarch, Pablo
Wrong list, sorry > -Original Message- > From: De Lara Guarch, Pablo > Sent: Monday, January 18, 2016 1:48 PM > To: bombermag at gmail.com > Cc: dev at dpdk.org; De Lara Guarch, Pablo > Subject: RE: [dpdk-users] Broken hash table functions with CFLAGS -O3 > > > -Original Message-

[dpdk-dev] [PATCH v4 08/14] virtio: pci: extend virtio pci rw api for vfio interface

2016-01-18 Thread Yuanhan Liu
On Fri, Jan 15, 2016 at 07:12:04PM +0530, Santosh Shukla wrote: > On Fri, Jan 15, 2016 at 6:13 PM, Santosh Shukla wrote: > > On Fri, Jan 15, 2016 at 11:57 AM, Yuanhan Liu > > wrote: > >> On Thu, Jan 14, 2016 at 06:58:31PM +0530, Santosh Shukla wrote: > >>> So far virtio handle rw access for uio /

[dpdk-dev] [dpdk-users] Broken hash table functions with CFLAGS -O3

2016-01-18 Thread Pablo de Lara
> -Original Message- > From: users [mailto:users-bounces at dpdk.org] On Behalf Of Dmitriy Yakovlev > Sent: Friday, January 15, 2016 1:20 AM > To: users at dpdk.org > Subject: [dpdk-users] Broken hash table functions with CFLAGS -O3 > > Hello. > I trying to use hash tables for adding struc

[dpdk-dev] [PATCH v1] Modify and modularize l3fwd code

2016-01-18 Thread Ananyev, Konstantin
> From: Ravi Kerur [mailto:rkerur at gmail.com] > Sent: Monday, December 21, 2015 11:13 PM > To: dev at dpdk.org > Cc: Richardson, Bruce; Doherty, Declan; Ananyev, Konstantin; Ravi Kerur > Subject: [PATCH v1] Modify and modularize l3fwd code > > v1: > > Rebase to latest code base for DPDK

[dpdk-dev] [PATCH v2 10/10] pci: place all uio pci device ids in a dedicated section

2016-01-18 Thread David Marchand
We could do something ? la modinfo, but let's keep it simple for now. With this, you can extract the devices that need to be bound to uio / vfio with tools like objdump : $ objdump -j rte_pci_id_uio -s build/lib/librte_pmd_fm10k.so Contents of section rte_pci_id_uio: 15760 8680a415 868

[dpdk-dev] [PATCH v2 09/10] pci: no need for global device ids list

2016-01-18 Thread David Marchand
Now that all pci device ids are in their respective drivers, we can remove this header. Signed-off-by: David Marchand --- doc/api/doxy-api-index.md | 1 - lib/librte_eal/common/Makefile | 2 +- lib/librte_eal/common/include/rte_pci_dev_ids.h | 93

[dpdk-dev] [PATCH v2 08/10] bnx2x: move pci device ids to driver

2016-01-18 Thread David Marchand
Reused defines from the driver and moved broadcom vendor id macro. Signed-off-by: David Marchand --- Changes since v1: - indent fix drivers/net/bnx2x/bnx2x.c | 3 +- drivers/net/bnx2x/bnx2x_ethdev.c| 21 +++-- lib/librte_eal/common/include/rte_pci_dev

[dpdk-dev] [PATCH v2 07/10] enic: move pci device ids to driver

2016-01-18 Thread David Marchand
Moved cisco vendor id since the driver had no such information. Signed-off-by: David Marchand --- Changes since v1: - indent fix drivers/net/enic/enic_ethdev.c | 12 lib/librte_eal/common/include/rte_pci_dev_ids.h | 17 - 2 files changed, 4 inserti

[dpdk-dev] [PATCH v2 06/10] vmxnet3: move pci device ids to driver

2016-01-18 Thread David Marchand
Moved vmware device ids macro since the driver had no such information. Signed-off-by: David Marchand --- Changes since v1: - indent fix drivers/net/vmxnet3/vmxnet3_ethdev.c| 9 - lib/librte_eal/common/include/rte_pci_dev_ids.h | 16 2 files changed, 4 ins

[dpdk-dev] [PATCH v2 05/10] virtio: move pci device ids to driver

2016-01-18 Thread David Marchand
Reused defines from virtio_pci.h. Signed-off-by: David Marchand --- Changes since v1: - indent fix drivers/net/virtio/virtio_ethdev.c | 7 ++- lib/librte_eal/common/include/rte_pci_dev_ids.h | 17 - 2 files changed, 2 insertions(+), 22 deletions(-) diff --git

[dpdk-dev] [PATCH v2 04/10] fm10k: move pci device ids to driver

2016-01-18 Thread David Marchand
Since the base driver already defines all pci device ids, no need to redefine them, let's just drop the previous RTE_PCI_DEV_ID_DECL* stuff. Signed-off-by: David Marchand --- Changes since v1: - indent fix drivers/net/fm10k/fm10k_ethdev.c| 6 ++--- lib/librte_eal/common/includ

[dpdk-dev] [PATCH v2 03/10] i40e: move pci device ids to driver

2016-01-18 Thread David Marchand
Since the base driver already defines all pci device ids, no need to redefine them, let's just drop the previous RTE_PCI_DEV_ID_DECL* stuff. Signed-off-by: David Marchand --- Changes since v1: - indent fix drivers/net/i40e/i40e_ethdev.c | 20 +++-- drivers/net/i40e/i40e_et

[dpdk-dev] [PATCH v2 02/10] ixgbe: move pci device ids to driver

2016-01-18 Thread David Marchand
test application and kni still want to know ixgbe pci devices. So let's create a header in the driver that will be used by them. Signed-off-by: David Marchand --- app/test-pmd/Makefile | 2 + app/test-pmd/cmdline.c | 2 +- app/test/Makefile

[dpdk-dev] [PATCH v2 01/10] e1000: move pci device ids to driver

2016-01-18 Thread David Marchand
test application and kni still want to know e1000 pci devices. So let's create headers in the driver that will be used by them. Signed-off-by: David Marchand --- app/test/Makefile | 3 + app/test/test_pci.c | 3 +- drivers/net/e1000/e

[dpdk-dev] [PATCH v2 00/10] kill global pci device id list

2016-01-18 Thread David Marchand
This patchset moves all pci device ids from eal to the pmds that need them (patches 1 to 8). Global pci device id list is then removed (patch 9). In last patch, all those device ids are put in a dedicated section for retrieval by external tools. Changes since v1: - indent fixes in i40e, fm10k, vi

[dpdk-dev] [PATCH v4 08/14] virtio: pci: extend virtio pci rw api for vfio interface

2016-01-18 Thread Santosh Shukla
On Mon, Jan 18, 2016 at 12:29 PM, Jason Wang wrote: > > > On 01/14/2016 09:28 PM, Santosh Shukla wrote: >> So far virtio handle rw access for uio / ioport interface, This patch to >> extend >> the support for vfio interface. For that introducing private struct >> virtio_vfio_dev{ >> - is_vf

[dpdk-dev] [PATCH v4 08/14] virtio: pci: extend virtio pci rw api for vfio interface

2016-01-18 Thread Santosh Shukla
On Mon, Jan 18, 2016 at 11:41 AM, Yuanhan Liu wrote: > On Fri, Jan 15, 2016 at 07:12:04PM +0530, Santosh Shukla wrote: >> On Fri, Jan 15, 2016 at 6:13 PM, Santosh Shukla >> wrote: >> > On Fri, Jan 15, 2016 at 11:57 AM, Yuanhan Liu >> > wrote: >> >> On Thu, Jan 14, 2016 at 06:58:31PM +0530, Sant

[dpdk-dev] [PATCH v2 0/5] Optimize memcpy for AVX512 platforms

2016-01-18 Thread Stephen Hemminger
On Sun, 17 Jan 2016 22:05:09 -0500 Zhihong Wang wrote: > This patch set optimizes DPDK memcpy for AVX512 platforms, to make full > utilization of hardware resources and deliver high performance. > > In current DPDK, memcpy holds a large proportion of execution time in > libs like Vhost, especial

[dpdk-dev] [RFC 0/3] Use common Linux tools to control DPDK ports

2016-01-18 Thread Aaron Conole
Ferruh Yigit writes: > This work is to make DPDK ports more visible and to enable using common > Linux tools to configure DPDK ports. This is a good goal. Only question - why use an additional kernel module to do this? Is it _JUST_ for ethtool support? I think the other stuff can be accomplished

[dpdk-dev] [PATCH 09/11] doc: refresh headers list

2016-01-18 Thread Thomas Monjalon
2016-01-16 16:10, David Marchand: > On Tue, Jan 12, 2016 at 3:06 PM, Mcnamara, John > wrote: > > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of David Marchand > >> Since we are going to remove a header in next commit, let's first refresh > >> documentation. > > > > I don't like these par

[dpdk-dev] [PATCH v5 1/2] tools: Add support for handling built-in kernel modules

2016-01-18 Thread Kamil Rytarowski
ping? W dniu 16.12.2015 o 15:14, Kamil Rytarowski pisze: > ping? > > W dniu 09.12.2015 o 14:19, Kamil Rytarowski pisze: >> Currently dpdk_nic_bind.py detects Linux kernel modules via reading >> /proc/modules. Built-in ones aren't listed there and therefore they >> are not >> being found by the sc