[dpdk-dev] How to approach packet TX lockups

2015-11-16 Thread Matthew Hall
On Mon, Nov 16, 2015 at 05:31:29PM -0800, Stephen Hemminger wrote: > The DPDK 2.2 driver uses: > wthresh = 0 > hthresh = 0 > pthresh = 32 Stephen, I thought the zero values lead to doing the auto-config by the driver itself? Matthew.

[dpdk-dev] [PATCH v6 00/15] Support ARMv7 architecture

2015-11-16 Thread David Marchand
Hello, On Tue, Nov 3, 2015 at 12:47 AM, Jan Viktorin wrote: > Hello DPDK community, > > ARMv7 again, changes: > > * removed unnecessary code in the #ifndef RTE_FORCE_INTRINSICS .. #endif > (atomic, spinlock, byteorder) > * more splitting of headers to have 32/64 bit variants (atomic, cpuflags)

[dpdk-dev] Klientskie bazi dannix tel/Viber/WhatsApp +79133913837 Email: lnaumova...@gmail.com Skype: prodawez389 ICQ: 6288862 Yznaite podrobnee!!!

2015-11-16 Thread dev@dpdk.org

[dpdk-dev] [PATCH] vfio: Include No-IOMMU mode

2015-11-16 Thread Avi Kivity
On 11/16/2015 07:06 PM, Alex Williamson wrote: > On Wed, 2015-10-28 at 15:21 -0600, Alex Williamson wrote: >> There is really no way to safely give a user full access to a DMA >> capable device without an IOMMU to protect the host system. There is >> also no way to provide DMA translation, for

[dpdk-dev] How to approach packet TX lockups

2015-11-16 Thread Matt Laswell
Hey Stephen, Thanks a lot; that's really useful information. Unfortunately, I'm at a stage in our release cycle where upgrading to a new version of DPDK isn't feasible. Any chance you (or others reading this) has a pointer to the relevant changes? While I can't afford to upgrade DPDK entirely,

[dpdk-dev] [PATCH] l3fwd: Fix l3fwd crash due to unaligned load/store intrinsics

2015-11-16 Thread Harish Patil
> > > >> -Original Message- >> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of >>harish.patil at qlogic.com >> Sent: Sunday, November 08, 2015 7:40 PM >> To: dev at dpdk.org >> Subject: [dpdk-dev] [PATCH] l3fwd: Fix l3fwd crash due to unaligned >>load/store intrinsics >> >> From:

[dpdk-dev] How to approach packet TX lockups

2015-11-16 Thread Matt Laswell
Hey Folks, I sent this to the users email list, but I'm not sure how many people are actively reading that list at this point. I'm dealing with a situation in which my application loses the ability to transmit packets out of a port during times of moderate stress. I'd love to hear suggestions

[dpdk-dev] How to approach packet TX lockups

2015-11-16 Thread Stephen Hemminger
On Mon, 16 Nov 2015 18:49:15 -0600 Matt Laswell wrote: > Hey Stephen, > > Thanks a lot; that's really useful information. Unfortunately, I'm at a > stage in our release cycle where upgrading to a new version of DPDK isn't > feasible. Any chance you (or others reading this) has a pointer to

[dpdk-dev] Recent changes related to interrupt thread

2015-11-16 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Stephen Hemminger > Sent: Monday, November 16, 2015 5:07 PM > To: Thomas Monjalon > Cc: dev at dpdk.org; Nirranjan Kirubaharan; Felix Marti; Kumar Sanghvi > Subject: Re: [dpdk-dev] Recent changes related to

[dpdk-dev] [PATCH 1/4] e1000: remove crc size from all byte counters

2015-11-16 Thread Van Haaren, Harry
> From: Stephen Hemminger [mailto:shemming at brocade.com] > Harry van Haaren wrote: > > > + stats->tor -= (stats->tpr - old_tpr) * 4; > > Why not use ETHER_CRC_LEN rather than magic # 4? That would work too. Will respin tomorrow to fix and to give time for other comments. Thanks, -Harry

[dpdk-dev] [PATCH] i40e: fix the issue dcb cannot be configured when FW version is 5.x

2015-11-16 Thread Jingjing Wu
When NVM version is updated to 5.x, DCB can not be configured. This issue is because of the FW version validation is not correct. This patch fixed this issue. Fixes: c8b9a3e3fe1b (i40e: support DCB mode) Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 3 ++- 1 file changed, 2

[dpdk-dev] How to approach packet TX lockups

2015-11-16 Thread Stephen Hemminger
On Mon, 16 Nov 2015 17:48:35 -0600 Matt Laswell wrote: > Hey Folks, > > I sent this to the users email list, but I'm not sure how many people are > actively reading that list at this point. I'm dealing with a situation in > which my application loses the ability to transmit packets out of a

[dpdk-dev] [PATCH] doc: update release note for i40e base driver update

2015-11-16 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Jingjing Wu > Sent: Tuesday, October 27, 2015 8:35 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: update release note for i40e base driver > update > > Signed-off-by: Jingjing Wu Acked-by: John

[dpdk-dev] [PATCH] kni: fix compilation issue with KNI_VHOST enabled

2015-11-16 Thread De Lara Guarch, Pablo
> -Original Message- > From: Zhang, Helin > Sent: Monday, November 16, 2015 3:19 PM > To: De Lara Guarch, Pablo; dev at dpdk.org > Subject: RE: [PATCH] kni: fix compilation issue with KNI_VHOST enabled > > > > -Original Message- > From: De Lara Guarch, Pablo > Sent: Monday,

[dpdk-dev] [PATCH] kni: fix compilation issue with KNI_VHOST enabled

2015-11-16 Thread Zhang, Helin
-Original Message- From: De Lara Guarch, Pablo Sent: Monday, November 16, 2015 10:08 PM To: dev at dpdk.org Cc: Zhang, Helin ; De Lara Guarch, Pablo Subject: [PATCH] kni: fix compilation issue with KNI_VHOST enabled Fix for the following error, on kernels 4.2.0 or higher, when

[dpdk-dev] [PATCH] i40e: fix the write flush in vf driver

2015-11-16 Thread Jingjing Wu
For i40e vf driver, should use I40EVF_WRITE_FLUSH to flush configuration but not I40E_WRITE_FLUSH. This patch fixed this issue. Fixes: be6c228d4da3 (i40evf: support Rx interrupt) Reported-by: Qian Xu Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev_vf.c | 12 ++-- 1 file

[dpdk-dev] Recent changes related to interrupt thread

2015-11-16 Thread Thomas Monjalon
Hi, 2015-11-16 18:02, Rahul Lakkireddy: > Hi, > > I notice that the following changeset: > > Fixes: fd6949c55c9a ("eal: fix io permission for virtio interrupt > handler") > > has moved the initialization of the interrupt thread to after the master > lcore has been initialized. However, this

[dpdk-dev] [PATCH v3 6/6] doc: update 2.2 release notes

2015-11-16 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Matej Vido > Sent: Tuesday, November 10, 2015 2:18 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 6/6] doc: update 2.2 release notes > > Add szedata2 PMD to 2.2 release notes. > > Signed-off-by:

[dpdk-dev] [PATCH v7 4/8] vhost: rxtx: use queue id instead of constant ring index

2015-11-16 Thread Flavio Leitner
On Wed, Oct 28, 2015 at 11:12:25PM +0200, Michael S. Tsirkin wrote: > On Wed, Oct 28, 2015 at 06:30:41PM -0200, Flavio Leitner wrote: > > On Sat, Oct 24, 2015 at 08:47:10PM +0300, Michael S. Tsirkin wrote: > > > On Sat, Oct 24, 2015 at 12:34:08AM -0200, Flavio Leitner wrote: > > > > On Thu, Oct

[dpdk-dev] Removing the figure and table lists from the documentation

2015-11-16 Thread Iremonger, Bernard
Hi John, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Mcnamara, John > Sent: Monday, November 16, 2015 1:47 PM > To: dev at dpdk.org > Subject: [dpdk-dev] Removing the figure and table lists from the > documentation > > Hi, > > The figure and table

[dpdk-dev] [PATCH v8 2/2] doc: add user-space ethtool sample app guide

2015-11-16 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Remy Horton > Sent: Monday, November 16, 2015 1:42 PM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v8 2/2] doc: add user-space ethtool sample app > guide > > Signed-off-by: Remy Horton Acked-by: John

[dpdk-dev] Removing the figure and table lists from the documentation

2015-11-16 Thread Mcnamara, John
Hi, The figure and table lists in the documentation are out of date again because some images/tables have been added to the docs without updating the lists. I could submit a patch to fix this but I would prefer to remove them since they are hard to maintain and not very useful. If you are

[dpdk-dev] [PATCH v8 2/2] doc: add user-space ethtool sample app guide

2015-11-16 Thread Remy Horton
Signed-off-by: Remy Horton --- doc/guides/rel_notes/release_2_2.rst | 1 + doc/guides/sample_app_ug/ethtool.rst | 160 +++ doc/guides/sample_app_ug/index.rst | 1 + 3 files changed, 162 insertions(+) create mode 100644 doc/guides/sample_app_ug/ethtool.rst

[dpdk-dev] [PATCH v8 1/2] example: add user-space ethtool sample application

2015-11-16 Thread Remy Horton
Further enhancements to the userspace ethtool implementation that was submitted in 2.1 and packaged as a self-contained sample application. Implements an rte_ethtool shim layer based on rte_ethdev API, along with a command prompt driven demonstration application. Signed-off-by: Remy Horton ---

[dpdk-dev] [PATCH v8 0/2] User-space ethtool sample application

2015-11-16 Thread Remy Horton
Further enhancements to the userspace ethtool implementation that was submitted in 2.1 and packaged as a self-contained sample application. Implements an rte_ethtool shim layer based on rte_ethdev API, along with a command prompt driven demonstration application. This patchset depends on: *

[dpdk-dev] [PATCH v7 2/2] doc: add user-space ethtool sample app guide

2015-11-16 Thread Remy Horton
Signed-off-by: Remy Horton --- doc/guides/rel_notes/release_2_2.rst | 1 + doc/guides/sample_app_ug/ethtool.rst | 160 +++ doc/guides/sample_app_ug/index.rst | 1 + 3 files changed, 162 insertions(+) create mode 100644 doc/guides/sample_app_ug/ethtool.rst

[dpdk-dev] [PATCH v7 1/2] example: add user-space ethtool sample application

2015-11-16 Thread Remy Horton
Further enhancements to the userspace ethtool implementation that was submitted in 2.1 and packaged as a self-contained sample application. Implements an rte_ethtool shim layer based on rte_ethdev API, along with a command prompt driven demonstration application. Signed-off-by: Remy Horton ---

[dpdk-dev] [PATCH v7 0/2] User-space ethtool sample application

2015-11-16 Thread Remy Horton
Further enhancements to the userspace ethtool implementation that was submitted in 2.1 and packaged as a self-contained sample application. Implements an rte_ethtool shim layer based on rte_ethdev API, along with a command prompt driven demonstration application. This patchset depends on: *

[dpdk-dev] [PATCH] kni: fix compile issue on different kernel versions

2015-11-16 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Helin Zhang > Sent: Monday, November 09, 2015 6:26 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] kni: fix compile issue on different kernel > versions > > It fixes the compile issue on kernel version

[dpdk-dev] [PATCH] doc: fix examples in netmap compatibility docs

2015-11-16 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John McNamara > Sent: Friday, November 13, 2015 11:45 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH] doc: fix examples in netmap compatibility docs > > Fix the examples in the netmap compatibility

[dpdk-dev] [PATCH v6 2/2] doc: add user-space ethtool sample app guide

2015-11-16 Thread Remy Horton
On 13/11/2015 16:52, Mcnamara, John wrote: >> +Using the application >> +- .. >> +drvinfo >> +Print driver info >> +eeprom >> +Dump EEPROM to file > > This definition list doesn't render very well. Maybe better as: Ideally would present it as a table, but

[dpdk-dev] [PATCH v2] doc: fix repeated typo in sample app docs

2015-11-16 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of John McNamara > Sent: Monday, November 16, 2015 9:27 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v2] doc: fix repeated typo in sample app docs > > Fix repeated typo in the "Compiling the

[dpdk-dev] Making rte_eal_pci_probe() in rte_eal_init() optional?

2015-11-16 Thread David Marchand
Hello Roger, On Sun, Nov 15, 2015 at 3:45 PM, Roger B. Melton wrote: > I like the "-b all" and "-w none" idea, but I think it might be > complicated to implement it the way we would need it to work. The existing > -b and -w options persist for the duration of the application, and we > would

[dpdk-dev] [PATCH 4/4] fm10k: remove crc size from all byte counters

2015-11-16 Thread Harry van Haaren
This patch removes the crc bytes from byte counter statistics. Signed-off-by: Harry van Haaren --- drivers/net/fm10k/fm10k_ethdev.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c index

[dpdk-dev] [PATCH 3/4] i40e: fix rx/tx size mismatch, remove crc bytes

2015-11-16 Thread Harry van Haaren
This patch removes the crc bytes from byte counter statistics. Doing so fixes a bug that CRC bytes were included on TX but not on RX, causing mismatch of bytes recieved / sent. Fixes: 9aace75fc82e ("i40e: fix statistics") Reported-by: Weichun Chen Signed-off-by: Harry van Haaren ---

[dpdk-dev] [PATCH 2/4] ixgbe: remove crc size from all byte counters

2015-11-16 Thread Harry van Haaren
This patch removes the crc bytes from byte counter statistics. Signed-off-by: Harry van Haaren --- drivers/net/ixgbe/ixgbe_ethdev.c | 47 ++-- 1 file changed, 35 insertions(+), 12 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c

[dpdk-dev] [PATCH 1/4] e1000: remove crc size from all byte counters

2015-11-16 Thread Harry van Haaren
This patch removes the crc bytes from byte counter statistics. Signed-off-by: Harry van Haaren --- drivers/net/e1000/igb_ethdev.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index

[dpdk-dev] [PATCH 0/4] Remove CRC from byte counters

2015-11-16 Thread Harry van Haaren
This patchset removes CRC bytes from byte statistics in the following PMDs: igb, ixgbe, i40e, fm10k. This brings the reported byte statistics in-line with other NICs, providing consistency. Removing the CRC from byte counters in i40e resolves a bug, see i40e commit message for details. Harry

[dpdk-dev] Recent changes related to interrupt thread

2015-11-16 Thread Stephen Hemminger
I was thinking of something like: rte_intr_affinity(portid, queueid, lcoreid) And per-lcore interrupt threads. On Mon, Nov 16, 2015 at 9:19 AM, Ananyev, Konstantin < konstantin.ananyev at intel.com> wrote: > > > > -Original Message- > > From: dev [mailto:dev-bounces at dpdk.org] On

[dpdk-dev] [PATCH v2] doc: fix repeated typo in sample app docs

2015-11-16 Thread John McNamara
Fix repeated typo in the "Compiling the Application" section of almost all of the sample app docs. This generally gets copied into new sample app guides. Signed-off-by: John McNamara --- V2: * Added similar fix in load_balancer file. doc/guides/sample_app_ug/kernel_nic_interface.rst| 4

[dpdk-dev] Recent changes related to interrupt thread

2015-11-16 Thread Stephen Hemminger
On Mon, 16 Nov 2015 14:48:42 +0100 Thomas Monjalon wrote: > Hi, > > 2015-11-16 18:02, Rahul Lakkireddy: > > Hi, > > > > I notice that the following changeset: > > > > Fixes: fd6949c55c9a ("eal: fix io permission for virtio interrupt > > handler") > > > > has moved the initialization of the

[dpdk-dev] [PATCH 1/4] e1000: remove crc size from all byte counters

2015-11-16 Thread Stephen Hemminger
On Mon, 16 Nov 2015 10:35:14 + Harry van Haaren wrote: > This patch removes the crc bytes from byte counter statistics. > > Signed-off-by: Harry van Haaren > --- > drivers/net/e1000/igb_ethdev.c | 19 +-- > 1 file changed, 17 insertions(+), 2 deletions(-) > > diff --git

[dpdk-dev] [PATCH v5 1/4] vhost/lib: add vhost TX offload capabilities in vhost lib

2015-11-16 Thread Liu, Jijiang
Hi Yunhan, > -Original Message- > From: Yuanhan Liu [mailto:yuanhan.liu at linux.intel.com] > Sent: Friday, November 13, 2015 3:02 PM > To: Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5 1/4] vhost/lib: add vhost TX offload > capabilities in vhost lib > > On Thu,

[dpdk-dev] [PATCH] i40e: fix the write flush in vf driver

2015-11-16 Thread Zhang, Helin
-Original Message- From: Wu, Jingjing Sent: Monday, November 16, 2015 3:09 PM To: dev at dpdk.org Cc: Wu, Jingjing; Zhang, Helin; Liang, Cunming; Xu, Qian Q Subject: [PATCH] i40e: fix the write flush in vf driver For i40e vf driver, should use I40EVF_WRITE_FLUSH to flush configuration

[dpdk-dev] [PATCH v4 2/2] vhost: Add VHOST PMD

2015-11-16 Thread Wang, Zhihong
A quick glimpse and the bug is gone now :) Will have more test later on. > -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Friday, November 13, 2015 1:21 PM > To: dev at dpdk.org; Wang, Zhihong ; Liu, Yuanhan > > Cc: Loftus, Ciara ; pmatilai at redhat.com;