[dpdk-dev] [PATCH v5 resend 07/12] virtio: resolve for control queue

2015-10-12 Thread Steffen Bauch
On 10/12/2015 10:39 AM, Yuanhan Liu wrote: > Hi, > > I just recognized that this dead loop is the same one that I have > experienced (see > http://dpdk.org/ml/archives/dev/2015-October/024737.html for > reference). Just applying the changes in this patch (only 07/12) > will not fix the dead loop at

[dpdk-dev] IXGBE RX packet loss with 5+ cores

2015-10-12 Thread Stephen Hemminger
On Tue, 13 Oct 2015 02:57:46 + "Sanford, Robert" wrote: > I'm hoping that someone (perhaps at Intel) can help us understand > an IXGBE RX packet loss issue we're able to reproduce with testpmd. > > We run testpmd with various numbers of cores. We offer line-rate > traffic (~14.88 Mpps) to on

[dpdk-dev] Network Stack discussion notes from 2015 DPDK Userspace

2015-10-12 Thread Vincent Li
I tested mTCP and have positive result with it https://github.com/eunyoung14/mtcp, I used the sample app epwget as a tcp load generator, it can generate million of concurrent tcp connection on used cheap Dell server with Intel I350 NIC or Intel 82576 On Fri, Oct 9, 2015 at 4:19 PM, Wiles, Keith w

[dpdk-dev] Segmentation fault when bonding ports on Mellanox ConnectX-3

2015-10-12 Thread Jesper Wramberg
Hi again, The patches worked great and the DPDK bonding API functions with the ConnectX-3 now.. yay :-) I have run into some new trouble however and since its related I figured I would ask here if anyone could help. I am using SR-IOV to create a dual-port VF. When trying to bond the ports on this

[dpdk-dev] [PATCH 2/2] igb: fix VF statistic wraparound handling macro

2015-10-12 Thread Harry van Haaren
Fix a misinterpreatation of VF statistic macro in e1000/igb. Signed-off-by: Harry van Haaren --- drivers/net/e1000/igb_ethdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index 848ef6e..e4911fc 100644 ---

[dpdk-dev] [PATCH 1/2] ixgbe: fix VF statistic wraparound handling macro

2015-10-12 Thread Harry van Haaren
Fix a misinterpretation of VF stats in ixgbe Signed-off-by: Harry van Haaren --- drivers/net/ixgbe/ixgbe_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index ec2918c..86dcd87 100644 --- a/driver

[dpdk-dev] [PATCH 0/2] fix vf statistic wraparound handling in macro

2015-10-12 Thread Harry van Haaren
The following two patches fix a misinterpretation of the cyclic counters of igb and ixgbe VF. When the 32bit value wraps around, the code now handles the wrapped new value appropriatly. v2: - Reimplemented with Alex's suggested fix for off-by-one v1: - Initial implementation Harry van Haaren (2)

[dpdk-dev] Proposals from project governance meeting at DPDK Userspace (was Notes from ...)

2015-10-12 Thread Dave Neary
Hi, To explicitly call out the proposals and action items from the meeting: - Legal entity proposal: - PROPOSAL: Chris proposes moving DPDK to Linux Foundation, with low overhead option - Minimal governance, event, marketing budget - Legal governance around project name, trademark - Pro

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

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

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

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

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

2015-10-12 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/mlx4/mlx4.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c index 2f49ed5..e7b38da 100644 --- a/drivers/net/mlx4/mlx4.c +++ b/drivers/net/mlx4/mlx4.c @@ -4973,6 +4973,9 @@ mlx4_pci_devinit(st

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

2015-10-12 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/enic/enic_ethdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/enic/enic_ethdev.c b/drivers/net/enic/enic_ethdev.c index e385560..95baa8a 100644 --- a/drivers/net/enic/enic_ethdev.c +++ b/drivers/net/enic/enic_ethdev.c @@ -597,6

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

2015-10-12 Thread Bernard Iremonger
Signed-off-by: Bernard Iremonger --- drivers/net/cxgbe/cxgbe_ethdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/cxgbe/cxgbe_ethdev.c b/drivers/net/cxgbe/cxgbe_ethdev.c index 478051a..f081879 100644 --- a/drivers/net/cxgbe/cxgbe_ethdev.c +++ b/drivers/net/cxgbe/cxgbe_ethde

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dpdk-dev] [PATCH v3 04/20] null: remove pci device driver

2015-10-12 Thread Bernard Iremonger
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 | 28 +++- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/drivers/net/n

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

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

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

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

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

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

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

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

[dpdk-dev] [Pktgen] [PATCH] pktgen_setup_packets: fix race for packet header

2015-10-12 Thread Ilya Maximets
Sorry for pinging, but have you tried to merge this patch? Best regards, Ilya Maximets. On 02.10.2015 14:25, Wiles, Keith wrote: > I looked at the code and everything looks good. I will try to merge the > code next week as I am traveling again :-( > > Thanks for the patch, I am glad you found th

[dpdk-dev] dpdk 2.1.0: 40gig ports link is down

2015-10-12 Thread Shaham Fridenberg
Hey Stephen, Thanks for your help. I tried updating i40e driver to the latest version (from 1.0.11-k to 1.3.39.1) but it didn't help. By 'Compile i40e with DEBUG flag' you mean adding "CONFIG_RTE_LOG_LEVEL=8" to defconfig_x86_64-wsm-linuxapp-gcc (assuming I'm compiling for westmere)? Also, is

[dpdk-dev] [PATCH v3] ip_pipeline: add flow id parameter to flow classification

2015-10-12 Thread Jasvinder Singh
This patch adds flow id field to the flow classification table entries and adds table action handlers to read flow id from table entry and write it into the packet meta-data. The flow_id (32-bit) parameter is also added to CLI commands flow add, flow delete, etc. *v2 fixed bug: flow table entry si

[dpdk-dev] [PATCH v5 resend 07/12] virtio: resolve for control queue

2015-10-12 Thread Yuanhan Liu
On Thu, Oct 08, 2015 at 10:51:02PM +0200, Steffen Bauch wrote: > > > On 10/08/2015 05:32 PM, Nikita Kalyazin wrote: > >Hi Yuanhan, > > > > > >As I understand, the dead loop happened here (virtio_send_command): > >while (vq->vq_used_cons_idx == vq->vq_ring.used->idx) { > > rte_rmb(); > >

[dpdk-dev] [PATCH 8/8] librte_table: modify release notes and deprecation notice

2015-10-12 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Monday, October 12, 2015 3:24 PM > To: Zhang, Roy Fan > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 8/8] librte_table: modify release notes and > deprecation notice > > If a v2 i

[dpdk-dev] [PATCH 8/8] librte_table: modify release notes and deprecation notice

2015-10-12 Thread Thomas Monjalon
Hi and welcome, (it seems to be your first patch on DPDK) 2015-09-25 23:33, roy.fan.zhang at intel.com: > --- a/doc/guides/rel_notes/release_2_2.rst > +++ b/doc/guides/rel_notes/release_2_2.rst > @@ -95,6 +95,9 @@ ABI Changes > > * The LPM structure is changed. The deprecated field mem_location

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

2015-10-12 Thread Iremonger, Bernard
Hi John, > Hi Bernard, > > Patch 02/20 doesn't compile without patch 03/20 also being applied: > > > $ git log --pretty=oneline --abbrev-commit -2 > 0958ce7 librte_ether: add fields from rte_pci_driver to rte_eth_dev_data > 30e65e6 librte_eal: add RTE_KDRV_NONE for vdevs > >

[dpdk-dev] [PATCH v2 0/4]librte_table: add name parameter to lpm table

2015-10-12 Thread Thomas Monjalon
2015-09-17 16:13, Dumitrescu, Cristian: > From: Singh, Jasvinder > > This patchset links to ABI change announced for librte_table. For > > lpm table, name parameter has been included in LPM table parameters > > structure. It will eventually allow applications to create more > > than one instances o

[dpdk-dev] [PATCH v3] ip_pipeline: add flow id parameter to flow classification

2015-10-12 Thread Singh, Jasvinder
> -Original Message- > From: Dumitrescu, Cristian > Sent: Monday, October 12, 2015 4:47 PM > To: Singh, Jasvinder; dev at dpdk.org > Subject: RE: [PATCH v3] ip_pipeline: add flow id parameter to flow > classification > > > > > -Original Message- > > From: Singh, Jasvinder > > S

[dpdk-dev] lib: added support for armv7 architecture

2015-10-12 Thread Jan Viktorin
I'am working on a new patch set patched by your ideas: * user can select whether to implement timer by clock_gettime or PMU * we use memcpy when NEON is unavailable * we detect arm architecture (32/64) by AT_PLATFORM * small modification of a memory barrier However, I didn't test it yet, nor comp

[dpdk-dev] [PATCH v3] ip_pipeline: add flow id parameter to flow classification

2015-10-12 Thread Dumitrescu, Cristian
> -Original Message- > From: Singh, Jasvinder > Sent: Monday, October 12, 2015 4:42 PM > To: dev at dpdk.org > Cc: Dumitrescu, Cristian > Subject: [PATCH v3] ip_pipeline: add flow id parameter to flow classification > > *v3 > fixed bug: changed LRU hash table operation to > extendible bu

[dpdk-dev] [PATCH 0/5] fixup ip pipeline examples

2015-10-12 Thread Dumitrescu, Cristian
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Wednesday, October 7, 2015 5:43 PM > To: Dumitrescu, Cristian; Stephen Hemminger > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH 0/5] fixup ip pipeline examples > > Hi, > > 2015-09-09 18:35

[dpdk-dev] [PATCH v2 2/2] doc: update release note for fm10k TSO support

2015-10-12 Thread Wang Xiao W
Signed-off-by: Wang Xiao W --- doc/guides/rel_notes/release_2_2.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst index 5687676..ab01ebb 100644 --- a/doc/guides/rel_notes/release_2_2.rst +++ b/doc/guides/rel_no

[dpdk-dev] [PATCH v2 1/2] fm10k: enable TSO support

2015-10-12 Thread Wang Xiao W
This patch enables fm10k TSO feature for both non-tunneling packet and tunneling packet. Signed-off-by: Wang Xiao W --- drivers/net/fm10k/base/fm10k_osdep.h | 5 + drivers/net/fm10k/fm10k_ethdev.c | 3 ++- drivers/net/fm10k/fm10k_rxtx.c | 21 ++--- 3 files changed

[dpdk-dev] [PATCH v2 0/2] fm10k: enable TSO support

2015-10-12 Thread Wang Xiao W
v2: * Updated release note for the new feature. * Added "likely" in TSO parameters checking. v1: * Initial version for fm10k TSO feature. Wang Xiao W (2): fm10k: enable TSO support doc: update release note for fm10k TSO support doc/guides/rel_notes/release_2_2.rst | 4 drivers/net/fm

[dpdk-dev] [PATCH 2/2] igb: fix VF statistic wraparound handling macro

2015-10-12 Thread Harry van Haaren
Fix a misinterpreatation of VF statistic macro in e1000/igb. Signed-off-by: Harry van Haaren --- drivers/net/e1000/igb_ethdev.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index 848ef6e..e3f7402 100644 -

[dpdk-dev] [PATCH 1/2] ixgbe: fix VF statistic wraparound handling macro

2015-10-12 Thread Harry van Haaren
Fix a misinterpretation of VF stats in ixgbe Signed-off-by: Harry van Haaren --- drivers/net/ixgbe/ixgbe_ethdev.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index ec2918c..d226e8d 100644 --- a/dr

[dpdk-dev] [PATCH 0/2] fix vf statistic wraparound handling in macro

2015-10-12 Thread Harry van Haaren
The following two patches fix a misinterpretation of the cyclic counters of igb and ixgbe VF. When the 32bit value wraps around, the code now handles the wrapped new value appropriatly. Harry van Haaren (2): ixgbe: fix VF statistic wraparound handling macro igb: fix VF statistic wraparound han

[dpdk-dev] lib: added support for armv7 architecture

2015-10-12 Thread Hunt, David
On 11/10/2015 22:17, Jan Viktorin wrote: > Hello David, all, > > I am reviewing your patch for things to be included in the final ARMv7 > support... It is quite long, you know. We should probably break the > potential discussion in shorter e-mails, a thread per topic. See my > comments below. > >

[dpdk-dev] [PATCH v2 0/2] Fix build with kernel 4.2

2015-10-12 Thread Ferruh Yigit
On Mon, Oct 12, 2015 at 01:52:56PM +0100, Pablo de Lara wrote: > Kernel 4.2 has introduced two new parameters in > function ndo_bridge_netlink and therefore, > DPDK does not build with it. > > This patchset adds the necessary checks and > rename a previous defined macro, in order > to have a more

[dpdk-dev] [PATCH] doc: fix pdf build warning

2015-10-12 Thread John McNamara
Fix a pdf doc build warning where a link wasn't recognised: doc/guides/contributing/documentation.rst:: WARNING: unusable reference target found: inkscape.org Signed-off-by: John McNamara --- doc/guides/contributing/documentation.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[dpdk-dev] [PATCH v2 2/2] kni: fix igb build with kernel 4.2

2015-10-12 Thread Pablo de Lara
Kernel 4.2 has introduced two new parameters in ndo_bridge_getlink, which breaks DPDK compilation. Linux: 7d4f8d87 ("switchdev: ad VLAN support for ports bridge-getlink") This patch adds the necessary checks to fix it. Signed-off-by: Pablo de Lara --- lib/librte_eal/linuxapp/kni/ethtool/igb/ig

[dpdk-dev] [PATCH v2 1/2] kni: rename HAVE_NDO_BRIDGE_GETLINK_FILTER_MASK macro

2015-10-12 Thread Pablo de Lara
Rename HAVE_NDO_BRIDGE_GETLINK_FILTER_MASK macro for a more meaningful HAVE_NDO_BRIDGE_GETLINK_NLFLAGS, as the macro is used to know if igb_ndo_bridge_getlink function has nlflags parameter. Signed-off-by: Pablo de Lara --- lib/librte_eal/linuxapp/kni/ethtool/igb/igb_main.c | 8 lib/lib

[dpdk-dev] [PATCH v2 0/2] Fix build with kernel 4.2

2015-10-12 Thread Pablo de Lara
Kernel 4.2 has introduced two new parameters in function ndo_bridge_netlink and therefore, DPDK does not build with it. This patchset adds the necessary checks and rename a previous defined macro, in order to have a more meaningful name. Changes in v2: - Split patch in two patches Pablo de Lara

[dpdk-dev] dpdk 2.1.0: 40gig ports link is down

2015-10-12 Thread Shaham Fridenberg
Hey all, I upgraded from dpdk 1.8.0 to 2.1.0 and now my 40gig ports (rte_i40e_pmd) link is down. Any idea what might be the issue? Thanks, Shaham

[dpdk-dev] [PATCH 2/2] virtio: change io privilege level as early as possible

2015-10-12 Thread Stephen Hemminger
I think David's patch should be in 2.2 (and 2.1.X if that starts out). It solves the problem for both link state and secondary processes. It may need to be updated for the current drivers/net/virtio layout.

[dpdk-dev] DPDK hash function related question

2015-10-12 Thread Yeddula, Avinash
Hi Cristian, I have configured the hash function and it compile fine with "warnings". Since librte_hash vs librte_table is 32bit vs 64bit. librte_hash library : /** Type of function that can be used for calculating the hash value. */ typedef uint32_t (*rte_hash_function)(const void *key, uint32_t

[dpdk-dev] kni: fix igb build with kernel 4.2

2015-10-12 Thread De Lara Guarch, Pablo
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Monday, October 12, 2015 1:50 PM > To: De Lara Guarch, Pablo; dev at dpdk.org > Subject: [dpdk-dev] kni: fix igb build with kernel 4.2 > > From: "De Lara Guarch, Pablo" > > Kernel 4.2 has introduced two new parameters in ndo_br

[dpdk-dev] Notes from project governance meeting at DPDK Userspace

2015-10-12 Thread Thomas Monjalon
Thanks Dave for the good summary. Some comments below. 2015-10-11 01:36, Dave Neary: > Keith raised the issue of general throughput of patches, and the number > of unreviewed/wait state patches: need to actively scale the process. > > Stephen: How about identifying reviewers, and Thomas designate

[dpdk-dev] Accurate timestamps in received packets

2015-10-12 Thread Montorsi, Francesco
Hi John, Thanks for your reply. > -Original Message- > From: Mcnamara, John [mailto:john.mcnamara at intel.com] > AFAIK, timestamping of every packet isn't supported by ixgbe/i40e nics and I > don't know about non-Intel nics. It was supported for some(?) igb nics and > hence the patch you

[dpdk-dev] Network Stack discussion notes from 2015 DPDK Userspace

2015-10-12 Thread Avi Kivity
On 10/10/2015 02:19 AM, Wiles, Keith wrote: > Here are some notes from the DPDK Network Stack discussion, I can remember > please help me fill in anything I missed. > > Items I remember we talked about: > >* The only reason for a DPDK TCP/IP stack is for performance and > possibly lower lat

[dpdk-dev] Unable to compile DPDK 2.1

2015-10-12 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Gal Sagie > Sent: Monday, October 12, 2015 9:20 AM > To: > Subject: [dpdk-dev] Unable to compile DPDK 2.1 > > Hello all, > > I was trying to help someone compile DPDK2.1 on Ubuntu 14.04, we were > following th

[dpdk-dev] Unable to compile DPDK 2.1

2015-10-12 Thread Gal Sagie
Hello all, I was trying to help someone compile DPDK2.1 on Ubuntu 14.04, we were following the instructions on http://www.dpdk.org/doc/quick-start We installed libpcap using "sudo apt-get install libpcap-dev" When starting the 'make' the following error occured: /usr/bin/ld: skipping incompatib

[dpdk-dev] [PATCH 2/2] igb: fix VF statistic wraparound handling macro

2015-10-12 Thread Roger B. Melton
ack On 10/12/15 9:33 AM, Harry van Haaren wrote: > Fix a misinterpreatation of VF statistic macro in e1000/igb. > > Signed-off-by: Harry van Haaren > --- > drivers/net/e1000/igb_ethdev.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/drivers/net/e1000/igb_ethdev.

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

2015-10-12 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bernard Iremonger > Sent: Monday, October 5, 2015 11:30 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 07/20] pcap: remove pci device driver > > remove rte_pcap_pmd and pci_dev. > initialise dev_flags,

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

2015-10-12 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Bernard Iremonger > Sent: Monday, October 5, 2015 11:30 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2 02/20] librte_ether: add fields from > rte_pci_driver to rte_eth_dev_data > > add dev_flags to rte

[dpdk-dev] [PATCH 1/2] ixgbe: fix VF statistic wraparound handling macro

2015-10-12 Thread Roger B. Melton
ack On 10/12/15 9:33 AM, Harry van Haaren wrote: > Fix a misinterpretation of VF stats in ixgbe > > Signed-off-by: Harry van Haaren > --- > drivers/net/ixgbe/ixgbe_ethdev.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c > b/dr

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

2015-10-12 Thread Jan Blunck
On Fri, Oct 2, 2015 at 12:15 PM, Panu Matilainen wrote: > On 10/01/2015 03:11 AM, Mario Carrillo wrote: >> >> 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

[dpdk-dev] [PATCH v2 5/5] doc: modify release notes and deprecation notice for table and pipeline

2015-10-12 Thread Thomas Monjalon
2015-10-12 07:53, Azarewicz, PiotrX T: > Hi Thomas, > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > > Hi Maciej, > > > > 2015-09-11 12:31, Maciej Gajdzica: > > > --- a/lib/librte_pipeline/rte_pipeline_version.map > > > +++ b/lib/librte_pipeline/rte_pipeline_version.map

[dpdk-dev] dpdk 2.1.0: 40gig ports link is down

2015-10-12 Thread Stephen Hemminger
On Mon, 12 Oct 2015 17:04:01 + Shaham Fridenberg wrote: > Hey Stephen, > > Thanks for your help. > > I tried updating i40e driver to the latest version (from 1.0.11-k to > 1.3.39.1) but it didn't help. > > By 'Compile i40e with DEBUG flag' you mean adding "CONFIG_RTE_LOG_LEVEL=8" to > de

[dpdk-dev] [PATCH v5 resend 07/12] virtio: resolve for control queue

2015-10-12 Thread Xie, Huawei
On 10/12/2015 10:33 AM, Xie, Huawei wrote: > On 10/12/2015 9:39 AM, Yuanhan Liu wrote: >> On Thu, Oct 08, 2015 at 10:51:02PM +0200, Steffen Bauch wrote: >>> On 10/08/2015 05:32 PM, Nikita Kalyazin wrote: Hi Yuanhan, As I understand, the dead loop happened here (virtio_send_comma

[dpdk-dev] [PATCH v5 resend 07/12] virtio: resolve for control queue

2015-10-12 Thread Xie, Huawei
On 10/12/2015 9:39 AM, Yuanhan Liu wrote: > On Thu, Oct 08, 2015 at 10:51:02PM +0200, Steffen Bauch wrote: >> >> On 10/08/2015 05:32 PM, Nikita Kalyazin wrote: >>> Hi Yuanhan, >>> >>> >>> As I understand, the dead loop happened here (virtio_send_command): >>> while (vq->vq_used_cons_idx == vq->vq_r

[dpdk-dev] [PATCHv4 4/9] null: virtual dynamic rss configuration

2015-10-12 Thread Jastrzebski, MichalX K
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Tetsuya Mukawa > Sent: Tuesday, September 29, 2015 4:25 AM > To: Kulasek, TomaszX; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCHv4 4/9] null: virtual dynamic rss configuration > > On 2015/07/16 2:26, Tomasz K

[dpdk-dev] Unlinking hugepage backing file after initialiation

2015-10-12 Thread Xie, Huawei
On 10/5/2015 9:20 PM, Michael S. Tsirkin wrote: > But really, people should just use VFIO. Not sure if the app crashes, kernel a) unmap b) tears down IOMMU, if other app still has chance to allocate the same memory between step a and step b. Need to check whether memory are bound to huge page files

[dpdk-dev] [PATCH 1/2] ixgbe: fix VF statistic wraparound handling macro

2015-10-12 Thread Alexander Duyck
On 10/12/2015 06:33 AM, Harry van Haaren wrote: > Fix a misinterpretation of VF stats in ixgbe > > Signed-off-by: Harry van Haaren > --- > drivers/net/ixgbe/ixgbe_ethdev.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c > b/driv

[dpdk-dev] dpdk 2.1.0: 40gig ports link is down

2015-10-12 Thread Stephen Hemminger
On Mon, 12 Oct 2015 13:29:42 + Shaham Fridenberg wrote: > Hey all, > > I upgraded from dpdk 1.8.0 to 2.1.0 and now my 40gig ports (rte_i40e_pmd) > link is down. > > Any idea what might be the issue? > > Thanks, > Shaham Compile i40e with DEBUG flag enabled in config and make sure LOGLEVE

[dpdk-dev] Accurate timestamps in received packets

2015-10-12 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Montorsi, Francesco > Sent: Monday, October 12, 2015 9:26 AM > To: Lu, Wenzhuo; dev at dpdk.org > Subject: Re: [dpdk-dev] Accurate timestamps in received packets > > Hi Wenzhuo, > > > -Original Message-

[dpdk-dev] [PATCH v2 5/5] doc: modify release notes and deprecation notice for table and pipeline

2015-10-12 Thread Azarewicz, PiotrX T
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Monday, October 12, 2015 10:23 AM > To: Azarewicz, PiotrX T > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 5/5] doc: modify release notes and > deprecation notice for table and pipeline >

[dpdk-dev] Accurate timestamps in received packets

2015-10-12 Thread Montorsi, Francesco
Hi Wenzhuo, > -Original Message- > From: Lu, Wenzhuo [mailto:wenzhuo.lu at intel.com] > Hi Francesco, > Why not searching ieee1588 in the dpdk git repository? Surely you'll find > something. I tried using IEEE 1588 without success. In particular I enabled it at build-time of DPDK and the

[dpdk-dev] [PATCH v2 2/5] pipeline: added bulk add/delete functions for table

2015-10-12 Thread Azarewicz, PiotrX T
Hi Thomas, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Thursday, October 8, 2015 1:42 PM > To: Gajdzica, MaciejX T > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 2/5] pipeline: added bulk add/delete > functions for table

[dpdk-dev] [PATCH v2 5/5] doc: modify release notes and deprecation notice for table and pipeline

2015-10-12 Thread Azarewicz, PiotrX T
Hi Thomas, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Thomas Monjalon > Sent: Thursday, October 8, 2015 1:42 PM > To: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 5/5] doc: modify release notes and > deprecation notice for table and pipeline > >