Re: [dpdk-dev] [PATCH] net/virtio-user: check negotiated features before set

2018-08-10 Thread Jens Freimann
On Thu, Aug 09, 2018 at 01:34:55PM -0500, Allain Legacy wrote: From: eric zhang This patch checks negotiated features to see if necessary to offload before set the tap device offload capabilities. It also checks if kernel support the TUNSETOFFLOAD operation. Signed-off-by: eric zhang Signed-o

Re: [dpdk-dev] [RFC 1/2] vhost: add packed ring support to vring base requests

2018-08-10 Thread Jens Freimann
On Wed, Aug 08, 2018 at 05:23:22PM +0200, Maxime Coquelin wrote: For consistency with Vhost kernel backend, save the wrap counter value into bit 31 of num's vring state field. Signed-off-by: Maxime Coquelin --- lib/librte_vhost/vhost_user.c | 16 1 file changed, 12 insertions(+)

Re: [dpdk-dev] [PATCH] vhost: suppress error if numa is not available

2018-08-10 Thread Ilya Maximets
On 10.08.2018 06:03, Tiwei Bie wrote: > > [PATCH] vhost: suppress error if numa is not available > > s/numa/NUMA/ > > Otherwise check-git-log.sh [1] will complain: > > Wrong headline lowercase: > vhost: suppress error if numa is not available Sure. Thanks for pointing that. I'll send v

[dpdk-dev] [PATCH v2] vhost: suppress error if NUMA is not available

2018-08-10 Thread Ilya Maximets
It's a common case that 'get_mempolicy' fails on systems without NUMA support. No need to flag an error in log for this situation. Signed-off-by: Ilya Maximets Reviewed-by: Tiwei Bie --- Version 2: * Fixed 'check-git-log.sh' warning. lib/librte_vhost/vhost.c | 3 ++- 1 file changed, 2

Re: [dpdk-dev] [PATCH] app/testpmd: support bitmask for RSS and FDIR

2018-08-10 Thread Xing, Beilei
Hi Jacob, > -Original Message- > From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, August 10, 2018 11:45 AM > To: Xing, Beilei > Cc: Lu, Wenzhuo ; Wu, Jingjing > ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] app/testpmd: support bitmask for RSS and > FDIR > > -

Re: [dpdk-dev] [PATCH v2 6/8] doc/qat: update kernel dependency section

2018-08-10 Thread Trahe, Fiona
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Thursday, August 9, 2018 8:36 PM > To: Trahe, Fiona > Cc: dev@dpdk.org; De Lara Guarch, Pablo ; > Jozwiak, TomaszX > > Subject: Re: [dpdk-dev] [PATCH v2 6/8] doc/qat: update kernel dependency >

Re: [dpdk-dev] [PATCH v2 7/8] doc/qat: update PMD build section

2018-08-10 Thread Trahe, Fiona
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Thursday, August 9, 2018 8:48 PM > To: Trahe, Fiona > Cc: dev@dpdk.org; De Lara Guarch, Pablo ; > Jozwiak, TomaszX > > Subject: Re: [dpdk-dev] [PATCH v2 7/8] doc/qat: update PMD build section >

Re: [dpdk-dev] [PATCH] bus/pci: check if 5-level paging is enabled when testing IOMMU address width

2018-08-10 Thread Drocula
Thanks, will refine in v2. On Thu, Aug 9, 2018, 18:49 Burakov, Anatoly wrote: > On 05-Aug-18 7:41 PM, Drocula wrote: > > The kernel version 4.14 released with the support of 5-level paging. > > When PML5 enabled, user-space virtual addresses uses up to 56 bits. > > see kernel's Documentation/x86

Re: [dpdk-dev] [PATCH v2 0/8] doc/qat: clarify build config options

2018-08-10 Thread Trahe, Fiona
Hi Thomas > -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Thursday, August 9, 2018 8:49 PM > To: Trahe, Fiona > Cc: dev@dpdk.org; De Lara Guarch, Pablo ; > Jozwiak, TomaszX > > Subject: Re: [dpdk-dev] [PATCH v2 0/8] doc/qat: clarify build config options

[dpdk-dev] [PATCH] net/ixgbe: fix ixgbevf link status

2018-08-10 Thread Yanglong Wu
For ixgbevf kernel driver, link status changes from down to up will trigger vf kernel driver send IXGBE_VF_RESET message to pf kernel driver, after this, vf kernel driver will disable and enable it self. By these series operations, the vf kernel driver report link up. Besides, all these operations

Re: [dpdk-dev] [PATCH] bus/pci: check if 5-level paging is enabled when testing IOMMU address width

2018-08-10 Thread Drocula
First, thanks for your suggestions. When using the MAP_FIXED flag, mmap will return an MMAP_FAILED if 0xf0 is not available. In this case, I want mmap to return an address near 0xf0. I will submit v2. On Fri, Aug 10, 2018, 01:03 Stephen Hemminger wrote: > Thanks for th

Re: [dpdk-dev] [PATCH] app/testpmd: support bitmask for RSS and FDIR

2018-08-10 Thread Thomas Monjalon
10/08/2018 04:31, Xing, Beilei: > Hi Thomas, > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > 06/08/2018 07:45, Beilei Xing: > > > This patch adds bitmask support for RSS, FDIR and FDIR flexible > > > payload. > > > > > > Signed-off-by: Beilei Xing > > > > Flow director API is deprecat

Re: [dpdk-dev] [PATCH v2 7/8] doc/qat: update PMD build section

2018-08-10 Thread Thomas Monjalon
10/08/2018 09:51, Trahe, Fiona: > Hi Thomas, > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > 09/08/2018 18:50, Fiona Trahe: > > > +Quick instructions for QAT compressdev PMD are as follows: > > > > > > +.. code-block:: console > > > + > > > + cd to the top-level DPDK directory > > > + m

Re: [dpdk-dev] [PATCH] bus/pci: check if 5-level paging is enabled when testing IOMMU address width

2018-08-10 Thread Burakov, Anatoly
On 10-Aug-18 9:35 AM, Drocula wrote: First, thanks for your suggestions. When using the MAP_FIXED flag, mmap will return an MMAP_FAILED if 0xf0 is not available. In this case, I want mmap to return an address near 0xf0. I will submit v2. How can we be sure there's not

[dpdk-dev] [Bug 80] There is not any mention of AF_PACKET PMD in the doc

2018-08-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=80 Bug ID: 80 Summary: There is not any mention of AF_PACKET PMD in the doc Product: DPDK Version: 18.08 Hardware: All OS: Linux Status: CONFIRMED Severity: enhancemen

Re: [dpdk-dev] [PATCH] app/testpmd: support bitmask for RSS and FDIR

2018-08-10 Thread Jerin Jacob
-Original Message- > Date: Fri, 10 Aug 2018 07:37:21 + > From: "Xing, Beilei" > To: Jerin Jacob > CC: "Lu, Wenzhuo" , "Wu, Jingjing" > , "dev@dpdk.org" > Subject: RE: [dpdk-dev] [PATCH] app/testpmd: support bitmask for RSS and > FDIR > > > Hi Jacob, Hi Xing, > > > -Origina

Re: [dpdk-dev] [PATCH v2 7/8] doc/qat: update PMD build section

2018-08-10 Thread Trahe, Fiona
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Friday, August 10, 2018 10:01 AM > To: Trahe, Fiona > Cc: dev@dpdk.org; De Lara Guarch, Pablo ; > Jozwiak, TomaszX > > Subject: Re: [dpdk-dev] [PATCH v2 7/8] doc/qat: update PMD build section >

[dpdk-dev] [PATCH v3 1/6] doc/qat: add limitations to compressdev PMD

2018-08-10 Thread Fiona Trahe
Add 2 missing limitations to QAT compressdev documentation Signed-off-by: Fiona Trahe --- doc/guides/compressdevs/qat_comp.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guides/compressdevs/qat_comp.rst b/doc/guides/compressdevs/qat_comp.rst index 8b1270b70..b45f

[dpdk-dev] [PATCH v3 2/6] doc/qat: add information on how to test

2018-08-10 Thread Fiona Trahe
Add section to common QAT part of doc about which tests can be used to exercise QAT compress and crypto PMDS Signed-off-by: Fiona Trahe --- doc/guides/cryptodevs/qat.rst | 20 1 file changed, 20 insertions(+) diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodev

[dpdk-dev] [PATCH v3 0/6] doc/qat: clarify build config options

2018-08-10 Thread Fiona Trahe
Clarified documentation structure between compressedev, cryptodev and common build parts. Clarified build configuration options. Added Testing section. Fixed typos and made some cosmetic improvements. v3 changes - squashed some patches - added more text to remaining commit msgs - fixed underli

[dpdk-dev] [PATCH v3 3/6] doc/qat: fix typos and make cosmetic changes

2018-08-10 Thread Fiona Trahe
Signed-off-by: Fiona Trahe --- doc/guides/cryptodevs/qat.rst | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst index 7df49ca44..17b313c9d 100644 --- a/doc/guides/cryptodevs/qat.rst +++

[dpdk-dev] [PATCH v3 4/6] doc/qat: add overview of doc sections

2018-08-10 Thread Fiona Trahe
Add overview of QAT doc sections and link between them. Indent to next level all sections within the crypto and common sections. Signed-off-by: Fiona Trahe --- doc/guides/compressdevs/qat_comp.rst | 2 +- doc/guides/cryptodevs/qat.rst| 46 +++- 2 files ch

[dpdk-dev] [PATCH v3 5/6] doc/qat: update build instructions for both PMDs

2018-08-10 Thread Fiona Trahe
Update PMD build section. Linked to kernel dependency section and refactored text between those 2 sections. Signed-off-by: Fiona Trahe --- doc/guides/cryptodevs/qat.rst | 81 ++- 1 file changed, 49 insertions(+), 32 deletions(-) diff --git a/doc/guides/cr

[dpdk-dev] [PATCH v3 6/6] doc/qat: describe build config options

2018-08-10 Thread Fiona Trahe
Added description of the build configuration options for QAT. Signed-off-by: Fiona Trahe --- doc/guides/cryptodevs/qat.rst | 31 +++ 1 file changed, 31 insertions(+) diff --git a/doc/guides/cryptodevs/qat.rst b/doc/guides/cryptodevs/qat.rst index a352dabcd..67b84b3e2

Re: [dpdk-dev] eventdev: method for finding out unlink status

2018-08-10 Thread Elo, Matias (Nokia - FI/Espoo)
> > # Other than that, I am still not able to understand, why not > application wait until rte_event_port_unlink() returns. Making rte_event_port_unlink() blocking would be troublesome if one doesn’t care about unlink completion. E.g. doing dynamic load balancing. > > # What in real word use c

[dpdk-dev] [PATCH v5] app/testpmd: add forwarding mode to simulate a noisy neighbour

2018-08-10 Thread Jens Freimann
This adds a new forwarding mode to testpmd to simulate more realistic behavior of a guest machine engaged in receiving and sending packets performing Virtual Network Function (VNF). The goal is to enable a simple way of measuring performance impact on cache and memory footprint utilization from va

[dpdk-dev] [PATCH v5] app/testpmd: simulating noisy host environment

2018-08-10 Thread Jens Freimann
This series adds a new forwarding mode 'noisy'. It proposes enhancements to testpmd to simulate more realistic behavior of a guest machine engaged in receiving and sending packets performing Virtual Network Function (VNF). The goal is to enable simple of measuring performance impact on cache and

Re: [dpdk-dev] eventdev: method for finding out unlink status

2018-08-10 Thread Jerin Jacob
-Original Message- > Date: Fri, 10 Aug 2018 14:24:02 + > From: "Elo, Matias (Nokia - FI/Espoo)" > To: Jerin Jacob > CC: "Van Haaren, Harry" , "dev@dpdk.org" > > Subject: Re: [dpdk-dev] eventdev: method for finding out unlink status > x-mailer: Apple Mail (2.3445.9.1) > > > > > > #

[dpdk-dev] [PATCH] compress/qat: use compression specific driver name

2018-08-10 Thread Fiona Trahe
The QAT compression driver was named "qat". Rename to compress_qat for consistency with other compressdev drivers and with crypto_qat. Signed-off-by: Fiona Trahe --- The patch depends on https://patches.dpdk.org/patch/43673/ doc/guides/cryptodevs/qat.rst | 2 +- drivers/common/qat/qat_d

[dpdk-dev] [PATCH 1/2] crypto/qat: fix typo

2018-08-10 Thread Fiona Trahe
Signed-off-by: Fiona Trahe --- drivers/crypto/qat/qat_sym_pmd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/qat/qat_sym_pmd.h b/drivers/crypto/qat/qat_sym_pmd.h index d343285..75c3362 100644 --- a/drivers/crypto/qat/qat_sym_pmd.h +++ b/drivers/crypto/qat/qat

Re: [dpdk-dev] [PATCH] crypto/qat: fix typo

2018-08-10 Thread Trahe, Fiona
Corrected subject - only 1 patch here. > -Original Message- > From: Trahe, Fiona > Sent: Friday, August 10, 2018 4:19 PM > To: dev@dpdk.org; akhil.go...@nxp.com; De Lara Guarch, Pablo > ; > Jozwiak, TomaszX > Cc: Trahe, Fiona > Subject: [PATCH 1/2] crypto/qat: fix typo > > Signed-off-b

Re: [dpdk-dev] [PATCH v2] vhost: suppress error if NUMA is not available

2018-08-10 Thread Maxime Coquelin
On 08/10/2018 09:24 AM, Ilya Maximets wrote: It's a common case that 'get_mempolicy' fails on systems without NUMA support. No need to flag an error in log for this situation. Signed-off-by: Ilya Maximets Reviewed-by: Tiwei Bie --- Version 2: * Fixed 'check-git-log.sh' warning.

Re: [dpdk-dev] [PATCH v2] vhost: suppress error if NUMA is not available

2018-08-10 Thread Maxime Coquelin
On 08/10/2018 09:24 AM, Ilya Maximets wrote: It's a common case that 'get_mempolicy' fails on systems without NUMA support. No need to flag an error in log for this situation. Signed-off-by: Ilya Maximets Reviewed-by: Tiwei Bie --- Version 2: * Fixed 'check-git-log.sh' warning.

Re: [dpdk-dev] eventdev: method for finding out unlink status

2018-08-10 Thread Van Haaren, Harry
> From: Jerin Jacob [mailto:jerin.ja...@caviumnetworks.com] > Sent: Friday, August 10, 2018 3:52 PM > To: Elo, Matias (Nokia - FI/Espoo) > Cc: Van Haaren, Harry ; dev@dpdk.org > Subject: Re: [dpdk-dev] eventdev: method for finding out unlink status > > -Original Message- > > Date: Fri, 10

Re: [dpdk-dev] eventdev: method for finding out unlink status

2018-08-10 Thread Jerin Jacob
-Original Message- > Date: Fri, 10 Aug 2018 16:55:31 + > From: "Van Haaren, Harry" > To: Jerin Jacob , "Elo, Matias (Nokia - > FI/Espoo)" > CC: "dev@dpdk.org" > Subject: RE: [dpdk-dev] eventdev: method for finding out unlink status > > > > From: Jerin Jacob [mailto:jerin.ja...@cav

[dpdk-dev] 回复: Questions about TX descriptors run out occasionally

2018-08-10 Thread 刘辉
Hi Bruce, Thank you for your information! I will try different firmware version and also double check our application code and see if there is any potential incorrect memory access. Will update if I see anything. Best Regards, Hui -

[dpdk-dev] [PATCH] netvsc: resize event buffer as needed

2018-08-10 Thread Stephen Hemminger
The event buffer was changed to be a fixed size value, but it is not large enough for a forwarding stress test. And that change was buggy because it left calls to rte_free() for a pointer that was not setup with rte_malloc(). This would cause pool to get corrupted. This version of event buffer co