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 (UIO/e10
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 g
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 cont
> -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 a
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 |4
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 a
> -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
>
>
> -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
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)
$(DEST
Add hierarchy-file support to the DPDK makefiles, scripts,
examples, tools, config files and headers,
when invoking "make install-sdk" makefiles, scripts,
examples, tools, config files will be installed in:
$(DESTDIR)/usr/share/dpdk
and headers will be installed in: $(DESTDIR)/usr/include/dpdk
This
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 Ca
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
---
mk/rte.
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:
http://www.freedesktop.org/softwar
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:
http://www.freedesktop.org/software/systemd/man/file-hie
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 ++
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 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 possi
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
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 a/
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 a598a72..
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 -
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
lib
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 +-
lib/librte_mempool/rte_m
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: u
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 other
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' beh
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: Wenzhuo
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.
This
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 on
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
+++ b/drivers/net/v
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
+++ b/drivers/net/virtio/v
Signed-off-by: Bernard Iremonger
---
drivers/net/mlx4/mlx4.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c
index 6c6342f..851a000 100644
--- a/drivers/net/mlx4/mlx4.c
+++ b/drivers/net/mlx4/mlx4.c
@@ -3,6 +3,7 @@
*
* Copyright 2012
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
@@ -3,6
Signed-off-by: Bernard Iremonger
---
drivers/net/cxgbe/cxgbe_ethdev.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_ethdev.c
index 478051a..2fa2cc3 100644
--- a/drivers/net/cxgbe/cxgbe_ethdev.c
+++ b/drivers/net/cxgbe/cxgbe_eth
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
+++ b/drivers/net/bnx2x/bnx2x_ethd
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
+++ b/drivers/net/fm10k/fm10k_ethdev
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
--- a/drivers/net/i40e/i40e_ethdev
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
+++
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
+++ b/drivers/net/ixgbe/ixgbe_ethd
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 a/drivers/net/mpipe/mpipe_t
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 --git a/drivers/net/xenv
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 deletions(-)
diff --git
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 a/drivers/ne
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
---
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 a/dri
remove rte_null_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/null/rte_eth_null.c | 32 +---
1 file changed, 9 insertions(+), 23 deletions(-)
diff --git a/drivers/n
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 b/lib/librte_ether/rte
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
---
lib/librte_ether/rt
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
--- a/lib/librte_eal/common/include/r
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
xenvir
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 c
> 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 e
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 imple
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 renamed
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
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 n
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 t
> 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 e
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
enviro
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 fi
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>> wro
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
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 fil
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 ++
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
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
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
>
> 2015-0
67 matches
Mail list logo