Re: [dpdk-dev] DPDK 18.05 only works with up to 4 NUMAs systems

2018-06-28 Thread Kumar, Ravi1
>On 22-Jun-18 5:37 PM, Kumar, Ravi1 wrote: >> Hi, >> >> As the memory subsystem in DPDK 18.05 is reworked, it has introduced a >> problem for AMD EPYC 2P platforms. >> The issue is that DPDK 18.05 only works with up to 4 NUMAs. For AMD EPYC 2P >> platforms, DPDK now only works with P0 (NUMA 0-3)

[dpdk-dev] [PATCH] net/mlx5: add support for 32bit systems

2018-06-28 Thread Moti Haimovsky
This patch adds support for building and running mlx5 PMD on 32bit systems such as i686. The main issue to tackle was handling the 32bit access to the UAR as quoted from the mlx5 PRM: QP and CQ DoorBells require 64-bit writes. For best performance, it is recommended to execute the QP/CQ DoorBell a

Re: [dpdk-dev] [PATCH v2 1/2] compressdev: replace mbuf scatter gather flag

2018-06-28 Thread Trahe, Fiona
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Wednesday, June 27, 2018 1:16 PM > To: Trahe, Fiona ; ashish.gu...@caviumnetworks.com; > Daly, Lee > > Cc: dev@dpdk.org; De Lara Guarch, Pablo > Subject: [PATCH v2 1/2] compressdev: replace mbuf scatter gather flag > > The cu

Re: [dpdk-dev] [PATCH v2 2/2] compressdev: add huffman encoding flags

2018-06-28 Thread Trahe, Fiona
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Wednesday, June 27, 2018 1:16 PM > To: Trahe, Fiona ; ashish.gu...@caviumnetworks.com; > Daly, Lee > > Cc: dev@dpdk.org; De Lara Guarch, Pablo > Subject: [PATCH v2 2/2] compressdev: add huffman encoding flags > > Added Huffma

Re: [dpdk-dev] DPDK 18.05 only works with up to 4 NUMAs systems

2018-06-28 Thread Burakov, Anatoly
On 28-Jun-18 8:03 AM, Kumar, Ravi1 wrote: On 22-Jun-18 5:37 PM, Kumar, Ravi1 wrote: Hi, As the memory subsystem in DPDK 18.05 is reworked, it has introduced a problem for AMD EPYC 2P platforms. The issue is that DPDK 18.05 only works with up to 4 NUMAs. For AMD EPYC 2P platforms, DPDK now onl

Re: [dpdk-dev] [PATCH v2 6/7] net/mlx5: probe all port representors

2018-06-28 Thread Adrien Mazarguil
On Thu, Jun 28, 2018 at 06:01:54AM +, Shahaf Shuler wrote: > Wednesday, June 27, 2018 4:32 PM, Adrien Mazarguil: > > Subject: Re: [dpdk-dev] [PATCH v2 6/7] net/mlx5: probe all port representors > > > > On Sun, Jun 17, 2018 at 10:15:07AM +, Shahaf Shuler wrote: > > > Hi Adrien, > > > > > >

Re: [dpdk-dev] [RFC] Add support for device dma mask

2018-06-28 Thread Burakov, Anatoly
On 27-Jun-18 5:52 PM, Alejandro Lucero wrote: On Wed, Jun 27, 2018 at 2:24 PM, Burakov, Anatoly mailto:anatoly.bura...@intel.com>> wrote: On 27-Jun-18 11:13 AM, Alejandro Lucero wrote: On Wed, Jun 27, 2018 at 9:17 AM, Burakov, Anatoly mailto:anatoly.bura...@intel.com>

Re: [dpdk-dev] Reviewathon

2018-06-28 Thread Ferruh Yigit
On 6/28/2018 3:32 AM, Dan Gora wrote: > Someone should add this IRC board to the dpdk.org website... I had no > idea it existed until this email. +1, a request sent [1] on web mail list [2]. [1] https://mails.dpdk.org/archives/web/2018-June/000795.html [2] In case this is not known, there is a w

[dpdk-dev] [PATCH v3 00/16] Cryptodev API changes for 18.08

2018-06-28 Thread Pablo de Lara
API changes in the cryptodev library, announced in the previous release, 18.05. Changes in v3: - Rephrased comments for new sgl feature flags - Added patch checking if there a device supports symmetric sessions - Extended PMD session API renaming Changes in v2: - Instead of removing max_nb_sess

[dpdk-dev] [PATCH v3 02/16] cryptodev: remove max number of sessions per queue

2018-06-28 Thread Pablo de Lara
The cryptodev info structure currently contains the maximum number of sessions that can be used in a queue pair. This is only set in DPAA_SEC PMD, and since it is calculated based on the maximum number of sessions (which is not used anymore), this field can be removed. Signed-off-by: Pablo de Lara

[dpdk-dev] [PATCH v3 04/16] test/crypto: limit number of sessions

2018-06-28 Thread Pablo de Lara
Instead of using the maximum number of sessions allowed by the PMDs (which will change to unlimited most of the PMDs), limit the number to a small sufficient amount. Signed-off-by: Pablo de Lara --- test/test/test_cryptodev.c | 27 +-- 1 file changed, 21 insertions(+), 6

[dpdk-dev] [PATCH v3 01/16] cryptodev: replace bus specific struct with generic dev

2018-06-28 Thread Pablo de Lara
Structure rte_cryptodev_info has currently PCI device information ("struct rte_pci_device") in it. This information is not generic to all devices, so this gets replaced with the generic "rte_device" structure, compatible with all crypto devices. Signed-off-by: Pablo de Lara Acked-by: Akhil Goyal

[dpdk-dev] [PATCH v3 07/16] crypto/mvsam: parse max number of sessions

2018-06-28 Thread Pablo de Lara
The maximum number of sessions device argument will be removed, as most PMDs do not have a limitation on this number. Therefore, the MVSAM PMD needs to parse this value internally. Signed-off-by: Pablo de Lara --- drivers/crypto/mvsam/rte_mrvl_pmd.c | 132 1

[dpdk-dev] [PATCH v3 05/16] examples/l2fwd-crypto: limit number of sessions

2018-06-28 Thread Pablo de Lara
Calculate the number of sessions required for the application, knowing that there is only one session required per device. Signed-off-by: Pablo de Lara --- examples/l2fwd-crypto/main.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/examples/l2fwd-crypto/

[dpdk-dev] [PATCH v3 03/16] app/crypto-perf: limit number of sessions

2018-06-28 Thread Pablo de Lara
Instead of creating a fixed number of sessions, calculate the necessary number based on number of devices and queue pairs used. Signed-off-by: Pablo de Lara --- app/test-crypto-perf/main.c | 31 --- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/app/te

[dpdk-dev] [PATCH v3 06/16] examples/ipsec-secgw: check for max supported sessions

2018-06-28 Thread Pablo de Lara
Signed-off-by: Pablo de Lara --- examples/ipsec-secgw/ipsec-secgw.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c index a5da8b280..2582dcb6e 100644 --- a/examples/ipsec-secgw/ipsec-secgw.c +++ b/examples/ipsec-se

[dpdk-dev] [PATCH v3 12/16] cryptodev: remove old get session size functions

2018-06-28 Thread Pablo de Lara
Removed rte_cryptodev_get_header_session_size and rte_cryptodev_get_private_session_size functions, as they have been substituted with functions specific for symmetric operations, with _sym_ word after "rte_cryptodev_". Signed-off-by: Pablo de Lara --- doc/guides/rel_notes/deprecation.rst

[dpdk-dev] [PATCH v3 08/16] cryptodev: define value for unlimited sessions

2018-06-28 Thread Pablo de Lara
Currently, the info structure contains the maximum number of sessions that a device can manage. This field was useful when the session mempool was created inside each device, but now it is created at the application level. Most PMDs do not have a limitation on the sessions managed, but a few do, t

[dpdk-dev] [PATCH v3 10/16] doc: remove unneeded deprecation notice

2018-06-28 Thread Pablo de Lara
In release 18.05, a deprecation notice to remove the `sym` structure in the cryptodev info structure was sent. However, only one of the fields inside the structure will be removed, so the notice is not actually correct. In any case, it needs to be removed. Signed-off-by: Pablo de Lara --- doc/gu

[dpdk-dev] [PATCH v3 11/16] cryptodev: remove queue start/stop functions

2018-06-28 Thread Pablo de Lara
Removed cryptodev queue start/stop functions, as they were marked deprecated in 18.05, since they were not implemented by any driver. Signed-off-by: Pablo de Lara Acked-by: Akhil Goyal --- doc/guides/rel_notes/deprecation.rst | 4 --- doc/guides/rel_notes/release_18_08.rst |

[dpdk-dev] [PATCH v3 13/16] cryptodev: replace mbuf scatter gather flag

2018-06-28 Thread Pablo de Lara
The current mbuf scatter gatter feature flag is too ambiguous, as it is not clear if input and/or output buffers can be scatter gather mbufs or not, plus if in-place and/or out-of-place is supported. Therefore, five new flags will replace this flag: - RTE_CRYPTODEV_FF_IN_PLACE_SGL - RTE_CRYPTODEV_

[dpdk-dev] [PATCH v3 09/16] cryptodev: remove max number of sessions parameter

2018-06-28 Thread Pablo de Lara
Most crypto PMDs do not have a limitation of the number of the sessions that can be handled internally. The value that was set before was not actually used at all, since the sessions are created at the application level. Therefore, this value is not parsed from the initial crypto parameters anymore

[dpdk-dev] [PATCH v3 14/16] cryptodev: remove attach/detach session API

2018-06-28 Thread Pablo de Lara
As announced in the previous release, The API to attach/dettach a session to a queue pair is removed, as it was only used in DPAA, and it is not actually needed. Signed-off-by: Pablo de Lara --- doc/guides/rel_notes/deprecation.rst | 8 doc/guides/rel_notes/release_18_08.rst

[dpdk-dev] [PATCH v3 15/16] cryptodev: rename PMD symmetric session API

2018-06-28 Thread Pablo de Lara
The PMD specific API to configure, clear and obtain session private size is renamed, including the word _sym_ to clarify that it is API for symmetric sessions, so there will not be any conflicts for asymmetric and other type of sessions in the future. Signed-off-by: Pablo de Lara --- drivers/cry

[dpdk-dev] [PATCH v3 16/16] cryptodev: check if symmetric sessions are supported

2018-06-28 Thread Pablo de Lara
Since asymmetric functionality will be implemented soon, not all PMDs must support symmetric sessions. Therefore, a check is added if a device does not implement the symmetric functions, meaning that the device does not support symmetric operations. Signed-off-by: Pablo de Lara --- lib/librte_cr

Re: [dpdk-dev] [PATCH 0/6] net/mlx5: add support for switch flow rules

2018-06-28 Thread Nélio Laranjeiro
On Wed, Jun 27, 2018 at 08:08:08PM +0200, Adrien Mazarguil wrote: > This series adds support for switch flow rules, that is, rte_flow rules > applied to mlx5 devices at the switch level. > > It allows applications to offload traffic redirection between DPDK ports in > hardware, while optionally mo

Re: [dpdk-dev] [PATCH v2 6/7] net/mlx5: probe all port representors

2018-06-28 Thread Shahaf Shuler
Thursday, June 28, 2018 11:46 AM, Adrien Mazarguil: > Subject: Re: [dpdk-dev] [PATCH v2 6/7] net/mlx5: probe all port representors > > On Thu, Jun 28, 2018 at 06:01:54AM +, Shahaf Shuler wrote: > > Wednesday, June 27, 2018 4:32 PM, Adrien Mazarguil: > > > Subject: Re: [dpdk-dev] [PATCH v2 6/7]

Re: [dpdk-dev] [PATCH v6 03/19] ethdev: enable hotplug on multi-process

2018-06-28 Thread Burakov, Anatoly
On 28-Jun-18 2:52 AM, Qi Zhang wrote: We are going to introduce the solution to handle different hotplug cases in multi-process situation, it include below scenario: 1. Attach a share device from primary 2. Detach a share device from primary 3. Attach a share device from secondary 4. Detach a sh

Re: [dpdk-dev] [PATCH v2 6/7] net/mlx5: probe all port representors

2018-06-28 Thread Adrien Mazarguil
On Thu, Jun 28, 2018 at 05:57:03AM +, Shahaf Shuler wrote: > Wednesday, June 27, 2018 4:33 PM, Adrien Mazarguil: > > Subject: Re: [dpdk-dev] [PATCH v2 6/7] net/mlx5: probe all port representors > > > > On Sun, Jun 24, 2018 at 01:33:31PM +, Shahaf Shuler wrote: > > > One more input, > > > >

Re: [dpdk-dev] [PATCH v6 03/19] ethdev: enable hotplug on multi-process

2018-06-28 Thread Burakov, Anatoly
On 28-Jun-18 2:52 AM, Qi Zhang wrote: We are going to introduce the solution to handle different hotplug cases in multi-process situation, it include below scenario: 1. Attach a share device from primary 2. Detach a share device from primary 3. Attach a share device from secondary 4. Detach a sh

Re: [dpdk-dev] [PATCH v6 04/19] ethdev: introduce device lock

2018-06-28 Thread Burakov, Anatoly
On 28-Jun-18 2:52 AM, Qi Zhang wrote: Introduce API rte_eth_dev_lock and rte_eth_dev_unlock to let application lock or unlock on specific ethdev, a locked device can't be detached, this help applicaiton to prevent unexpected device detaching, especially in multi-process envrionment. Aslo introdu

Re: [dpdk-dev] [PATCH v6 03/19] ethdev: enable hotplug on multi-process

2018-06-28 Thread Zhang, Qi Z
> -Original Message- > From: Burakov, Anatoly > Sent: Thursday, June 28, 2018 5:20 PM > To: Zhang, Qi Z ; tho...@monjalon.net > Cc: Ananyev, Konstantin ; dev@dpdk.org; > Richardson, Bruce ; Yigit, Ferruh > ; Shelton, Benjamin H > ; Vangati, Narender > > Subject: Re: [PATCH v6 03/19] ethd

Re: [dpdk-dev] [PATCH v6 05/19] ethdev: support attach or detach share device from secondary

2018-06-28 Thread Burakov, Anatoly
On 28-Jun-18 2:52 AM, Qi Zhang wrote: This patch cover the multi-process hotplug case when a share device attach/detach request be issued from secondary process device attach on secondary: a) seconary send sync request to primary. b) primary receive the request and attach the new device if faile

Re: [dpdk-dev] [PATCH v6 06/19] ethdev: support attach private device as first

2018-06-28 Thread Burakov, Anatoly
On 28-Jun-18 2:52 AM, Qi Zhang wrote: When attach a private device from secondary as the first one, we need to make sure rte_eth_dev_shared_data is initialized, the patch add necessary IPC for secondary to inform primary to do initialization. Signed-off-by: Qi Zhang --- Does this mean hotplug

Re: [dpdk-dev] [PATCH v6 06/19] ethdev: support attach private device as first

2018-06-28 Thread Zhang, Qi Z
> -Original Message- > From: Burakov, Anatoly > Sent: Thursday, June 28, 2018 5:25 PM > To: Zhang, Qi Z ; tho...@monjalon.net > Cc: Ananyev, Konstantin ; dev@dpdk.org; > Richardson, Bruce ; Yigit, Ferruh > ; Shelton, Benjamin H > ; Vangati, Narender > > Subject: Re: [PATCH v6 06/19] ethd

Re: [dpdk-dev] [PATCH v6 19/19] doc: update release notes for multi process hotplug

2018-06-28 Thread Burakov, Anatoly
On 28-Jun-18 2:52 AM, Qi Zhang wrote: Update release notes for the new multi process hotplug feature. Signed-off-by: Qi Zhang --- +CC John Mc as our resident native English speaker :) doc/guides/rel_notes/release_18_08.rst | 21 + 1 file changed, 21 insertions(+) dif

Re: [dpdk-dev] [PATCH v6 06/19] ethdev: support attach private device as first

2018-06-28 Thread Burakov, Anatoly
On 28-Jun-18 10:29 AM, Zhang, Qi Z wrote: -Original Message- From: Burakov, Anatoly Sent: Thursday, June 28, 2018 5:25 PM To: Zhang, Qi Z ; tho...@monjalon.net Cc: Ananyev, Konstantin ; dev@dpdk.org; Richardson, Bruce ; Yigit, Ferruh ; Shelton, Benjamin H ; Vangati, Narender Subject:

Re: [dpdk-dev] [RFC] Add support for device dma mask

2018-06-28 Thread Alejandro Lucero
On Thu, Jun 28, 2018 at 9:54 AM, Burakov, Anatoly wrote: > On 27-Jun-18 5:52 PM, Alejandro Lucero wrote: > >> >> >> On Wed, Jun 27, 2018 at 2:24 PM, Burakov, Anatoly < >> anatoly.bura...@intel.com > wrote: >> >> On 27-Jun-18 11:13 AM, Alejandro Lucero wrote:

Re: [dpdk-dev] [PATCH 2/2] compressdev: add huffman encoding flags

2018-06-28 Thread Daly, Lee
Hi Pablo, > -Original Message- > From: De Lara Guarch, Pablo > Sent: Wednesday, June 27, 2018 6:51 AM > To: Trahe, Fiona ; > ashish.gu...@caviumnetworks.com; Daly, Lee > Cc: dev@dpdk.org; De Lara Guarch, Pablo > Subject: [PATCH 2/2] compressdev: add huffman encoding flags > > Added Huff

Re: [dpdk-dev] [PATCH v8 21/21] app/testpmd: add show device command

2018-06-28 Thread Iremonger, Bernard
Hi Gaetan, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Gaetan Rivet > Sent: Tuesday, June 26, 2018 5:56 PM > To: dev@dpdk.org > Cc: Gaetan Rivet > Subject: [dpdk-dev] [PATCH v8 21/21] app/testpmd: add show device > command > > A new interactive command is

Re: [dpdk-dev] [RFC] Add support for device dma mask

2018-06-28 Thread Burakov, Anatoly
On 28-Jun-18 10:56 AM, Alejandro Lucero wrote: On Thu, Jun 28, 2018 at 9:54 AM, Burakov, Anatoly mailto:anatoly.bura...@intel.com>> wrote: On 27-Jun-18 5:52 PM, Alejandro Lucero wrote: On Wed, Jun 27, 2018 at 2:24 PM, Burakov, Anatoly mailto:anatoly.bura...@intel.com>

Re: [dpdk-dev] [PATCH v8 21/21] app/testpmd: add show device command

2018-06-28 Thread Gaëtan Rivet
Hi Bernard, On Thu, Jun 28, 2018 at 10:03:30AM +, Iremonger, Bernard wrote: > Hi Gaetan, > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Gaetan Rivet > > Sent: Tuesday, June 26, 2018 5:56 PM > > To: dev@dpdk.org > > Cc: Gaetan Rivet > > Subject: [dpd

Re: [dpdk-dev] [PATCH v3 22/23] net/softnic: add firmware script

2018-06-28 Thread Pattan, Reshma
Hi Jasvinder, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jasvinder Singh > Sent: Wednesday, June 27, 2018 5:31 PM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; Iremonger, > Bernard > Subject: [dpdk-dev] [PATCH v3 22/23] net/softnic: add firmware script >

Re: [dpdk-dev] [PATCH v3 22/23] net/softnic: add firmware script

2018-06-28 Thread Singh, Jasvinder
> -Original Message- > From: Pattan, Reshma > Sent: Thursday, June 28, 2018 11:13 AM > To: Singh, Jasvinder ; dev@dpdk.org > Cc: Dumitrescu, Cristian ; Iremonger, Bernard > > Subject: RE: [dpdk-dev] [PATCH v3 22/23] net/softnic: add firmware script > > Hi Jasvinder, > > > -Original M

Re: [dpdk-dev] [PATCH v3 23/23] app/testpmd: rework softnic forward mode

2018-06-28 Thread Iremonger, Bernard
Hi Jasvinder, > -Original Message- > From: Singh, Jasvinder > Sent: Wednesday, June 27, 2018 5:31 PM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; Iremonger, > Bernard ; Pattan, Reshma > > Subject: [PATCH v3 23/23] app/testpmd: rework softnic forward mode > > Modied the testpmd softnic

Re: [dpdk-dev] [RFC] Add support for device dma mask

2018-06-28 Thread Alejandro Lucero
On Thu, Jun 28, 2018 at 11:03 AM, Burakov, Anatoly < anatoly.bura...@intel.com> wrote: > On 28-Jun-18 10:56 AM, Alejandro Lucero wrote: > >> >> >> On Thu, Jun 28, 2018 at 9:54 AM, Burakov, Anatoly < >> anatoly.bura...@intel.com > wrote: >> >> On 27-Jun-18 5:52

Re: [dpdk-dev] [PATCH v3 23/23] app/testpmd: rework softnic forward mode

2018-06-28 Thread Singh, Jasvinder
> -Original Message- > From: Iremonger, Bernard > Sent: Thursday, June 28, 2018 11:28 AM > To: Singh, Jasvinder ; dev@dpdk.org > Cc: Dumitrescu, Cristian ; Pattan, Reshma > > Subject: RE: [PATCH v3 23/23] app/testpmd: rework softnic forward mode > > Hi Jasvinder, > > > -Original M

[dpdk-dev] [PATCH] net/mlx4: support hardware TSO

2018-06-28 Thread Moti Haimovsky
Implement support for hardware TSO. Signed-off-by: Moti Haimovsky --- doc/guides/nics/features/mlx4.ini | 1 + doc/guides/nics/mlx4.rst | 3 + drivers/net/mlx4/mlx4.c | 16 ++ drivers/net/mlx4/mlx4.h | 5 + drivers/net/mlx4/mlx4_prm.h | 12 ++ drivers/n

Re: [dpdk-dev] [RFC] Add support for device dma mask

2018-06-28 Thread Burakov, Anatoly
On 28-Jun-18 11:27 AM, Alejandro Lucero wrote: On Thu, Jun 28, 2018 at 11:03 AM, Burakov, Anatoly mailto:anatoly.bura...@intel.com>> wrote: On 28-Jun-18 10:56 AM, Alejandro Lucero wrote: On Thu, Jun 28, 2018 at 9:54 AM, Burakov, Anatoly mailto:anatoly.bura...@intel.com

[dpdk-dev] DPDK Release Status Meeting 28/07/2018

2018-06-28 Thread Mcnamara, John
DPDK Release Status Meeting 28/07/2018 == Minutes from the weekly DPDK Release Status Meeting. The DPDK Release Status Meeting is intended for DPDK Committers to discuss the status of the master tree and sub-trees, and for project managers to track progress or

Re: [dpdk-dev] [PATCH 01/20] eventdev: add files for eventmode helper

2018-06-28 Thread Joseph, Anoob
Hi Sunil, On 27-06-2018 11:50, Sunil Kumar Kori wrote: External Email Regards Sunil Kumar -Original Message- From: Anoob Joseph [mailto:anoob.jos...@caviumnetworks.com] Sent: Friday, June 8, 2018 10:54 PM To: Bruce Richardson ; Jerin Jacob ; Pablo de Lara Cc: Anoob Joseph ; Hemant Ag

Re: [dpdk-dev] [PATCH 01/20] eventdev: add files for eventmode helper

2018-06-28 Thread Ananyev, Konstantin
Hi Anoob, > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Joseph, Anoob > Sent: Thursday, June 28, 2018 11:43 AM > To: Sunil Kumar Kori ; Richardson, Bruce > ; Jerin Jacob > ; De Lara Guarch, Pablo > > Cc: Hemant Agrawal ; Narayana Prasad > ; Rao, Nikhil > ;

Re: [dpdk-dev] [PATCH 01/20] eventdev: add files for eventmode helper

2018-06-28 Thread Joseph, Anoob
Hi Konstantin, On 28-06-2018 16:17, Ananyev, Konstantin wrote: Hi Anoob, -Original Message- From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Joseph, Anoob Sent: Thursday, June 28, 2018 11:43 AM To: Sunil Kumar Kori ; Richardson, Bruce ; Jerin Jacob ; De Lara Guarch, Pablo Cc: He

Re: [dpdk-dev] [PATCH v3 23/23] app/testpmd: rework softnic forward mode

2018-06-28 Thread Iremonger, Bernard
Hi Jasvinder > > > -Original Message- > > > From: Singh, Jasvinder > > > Sent: Wednesday, June 27, 2018 5:31 PM > > > To: dev@dpdk.org > > > Cc: Dumitrescu, Cristian ; Iremonger, > > > Bernard ; Pattan, Reshma > > > > > > Subject: [PATCH v3 23/23] app/testpmd: rework softnic forward mode

[dpdk-dev] [PATCH v1] net/mlx4: support hardware TSO

2018-06-28 Thread Moti Haimovsky
Implement support for hardware TSO. Signed-off-by: Moti Haimovsky --- v1: * Fixed coding style warnings. in reply to 1530181779-19716-1-git-send-email-mo...@mellanox.com --- doc/guides/nics/features/mlx4.ini | 1 + doc/guides/nics/mlx4.rst | 3 + drivers/net/mlx4/mlx4.c |

Re: [dpdk-dev] [PATCH v6 06/19] ethdev: support attach private device as first

2018-06-28 Thread Zhang, Qi Z
> -Original Message- > From: Burakov, Anatoly > Sent: Thursday, June 28, 2018 5:41 PM > To: Zhang, Qi Z ; tho...@monjalon.net > Cc: Ananyev, Konstantin ; dev@dpdk.org; > Richardson, Bruce ; Yigit, Ferruh > ; Shelton, Benjamin H > ; Vangati, Narender > > Subject: Re: [PATCH v6 06/19] ethd

Re: [dpdk-dev] [PATCH v8 21/21] app/testpmd: add show device command

2018-06-28 Thread Iremonger, Bernard
Hi Gaetan, > -Original Message- > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > Sent: Thursday, June 28, 2018 11:10 AM > To: Iremonger, Bernard > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v8 21/21] app/testpmd: add show device > command > > Hi Bernard, > > On Thu, Jun 2

Re: [dpdk-dev] [PATCH 1/2] cryptodev: add min headroom and tailroom requirement

2018-06-28 Thread De Lara Guarch, Pablo
Hi Anoob, > -Original Message- > From: Joseph, Anoob [mailto:anoob.jos...@caviumnetworks.com] > Sent: Thursday, June 28, 2018 3:56 AM > To: Doherty, Declan ; De Lara Guarch, Pablo > > Cc: Akhil Goyal ; Ankur Dwivedi > ; Jerin Jacob > ; Narayana Prasad > ; dev@dpdk.org > Subject: Re: [PATC

[dpdk-dev] [PATCH v2 2/3] eal/bsdapp: concatenate adjacent segments

2018-06-28 Thread Anatoly Burakov
Previously, memory allocator always left holes between mapped contigmem segments, even if they were IOVA-contiguous. Fix this by remembering last IOVA address and memseg index, and checking against those when mapping new contigmem segments. Signed-off-by: Anatoly Burakov --- Notes: v2: -

[dpdk-dev] [PATCH v2 3/3] eal: make memory segment preallocation OS-specific

2018-06-28 Thread Anatoly Burakov
In the perfect world, it wouldn't matter how much memory was preallocated because most of it was always going to be private anonymous zero-page mappings for the duration of the program. However, in practice, due to peculiarities of FreeBSD, we need to additionally limit memory allocation there. Thi

Re: [dpdk-dev] [PATCH 2/2] app/crypto-perf: honour cryptodev's min headroom/tailroom

2018-06-28 Thread De Lara Guarch, Pablo
> -Original Message- > From: Anoob Joseph [mailto:anoob.jos...@caviumnetworks.com] > Sent: Tuesday, June 19, 2018 7:26 AM > To: Doherty, Declan ; De Lara Guarch, Pablo > > Cc: Anoob Joseph ; Akhil Goyal > ; Ankur Dwivedi > ; Jerin Jacob > ; Narayana Prasad > ; dev@dpdk.org > Subject: [P

[dpdk-dev] [PATCH v2 1/3] eal/bsdapp: fix segment index display

2018-06-28 Thread Anatoly Burakov
Segment index was set to 0 at start but was never incremented. This has no consequences other than displayed number of segments allocated at initialization. Fix this by incrementing it after displaying. Fixes: 66cc45e293ed ("mem: replace memseg with memseg lists") Cc: sta...@dpdk.org Signed-off-b

Re: [dpdk-dev] [PATCH 01/20] eventdev: add files for eventmode helper

2018-06-28 Thread Ananyev, Konstantin
> -Original Message- > From: Joseph, Anoob [mailto:anoob.jos...@caviumnetworks.com] > Sent: Thursday, June 28, 2018 11:59 AM > To: Ananyev, Konstantin ; Sunil Kumar Kori > ; Richardson, Bruce > ; Jerin Jacob ; > De Lara Guarch, Pablo > > Cc: Hemant Agrawal ; Narayana Prasad > ; Rao, N

Re: [dpdk-dev] [PATCH v6 06/19] ethdev: support attach private device as first

2018-06-28 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Qi Z > Sent: Thursday, June 28, 2018 7:27 PM > To: Burakov, Anatoly ; tho...@monjalon.net > Cc: Ananyev, Konstantin ; dev@dpdk.org; > Richardson, Bruce ; Yigit, Ferruh > ; Shelton, Benjamin H > ; Vangati, Narender > > Subject: RE: [PATCH v6 06/19] ethd

Re: [dpdk-dev] [PATCH 01/20] eventdev: add files for eventmode helper

2018-06-28 Thread Joseph, Anoob
Hi Konstantin, On 28-06-2018 17:14, Ananyev, Konstantin wrote: -Original Message- From: Joseph, Anoob [mailto:anoob.jos...@caviumnetworks.com] Sent: Thursday, June 28, 2018 11:59 AM To: Ananyev, Konstantin ; Sunil Kumar Kori ; Richardson, Bruce ; Jerin Jacob ; De Lara Guarch, Pablo

Re: [dpdk-dev] [PATCH v8 21/21] app/testpmd: add show device command

2018-06-28 Thread Gaëtan Rivet
On Thu, Jun 28, 2018 at 11:28:53AM +, Iremonger, Bernard wrote: > > Hi Gaetan, > > > -Original Message- > > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > > Sent: Thursday, June 28, 2018 11:10 AM > > To: Iremonger, Bernard > > Cc: dev@dpdk.org > > Subject: Re: [dpdk-dev] [PATCH

[dpdk-dev] [PATCH v2] net/mlx4: support hardware TSO

2018-06-28 Thread Moti Haimovsky
Implement support for hardware TSO. Signed-off-by: Moti Haimovsky --- v2: * Fixed coding style warning. in reply to 1530184583-30166-1-git-send-email-mo...@mellanox.com v1: * Fixed coding style warnings. in reply to 1530181779-19716-1-git-send-email-mo...@mellanox.com --- doc/guides/nics/featu

Re: [dpdk-dev] [PATCH 1/2] cryptodev: add min headroom and tailroom requirement

2018-06-28 Thread Joseph, Anoob
Hi Pablo, On 28-06-2018 17:11, De Lara Guarch, Pablo wrote: External Email Hi Anoob, -Original Message- From: Joseph, Anoob [mailto:anoob.jos...@caviumnetworks.com] Sent: Thursday, June 28, 2018 3:56 AM To: Doherty, Declan ; De Lara Guarch, Pablo Cc: Akhil Goyal ; Ankur Dwivedi ; Jer

Re: [dpdk-dev] [PATCH v6 19/19] doc: update release notes for multi process hotplug

2018-06-28 Thread Zhang, Qi Z
Hi Anatoly: Your comments looks good to me. Thanks! Qi > -Original Message- > From: Burakov, Anatoly > Sent: Thursday, June 28, 2018 5:39 PM > To: Zhang, Qi Z ; tho...@monjalon.net > Cc: Ananyev, Konstantin ; dev@dpdk.org; > Richardson, Bruce ; Yigit, Ferruh > ; Shelton, Benjamin

Re: [dpdk-dev] [PATCH v4] ethdev: add flow API to expand RSS flows

2018-06-28 Thread Adrien Mazarguil
On Wed, Jun 27, 2018 at 04:55:25PM +0200, Nelio Laranjeiro wrote: > Introduce an helper for PMD to expand easily flows items list with RSS > action into multiple flow items lists with priority information. > > For instance a user items list being "eth / end" with rss action types > "ipv4-udp ipv6-

Re: [dpdk-dev] [PATCH v6 06/19] ethdev: support attach private device as first

2018-06-28 Thread Burakov, Anatoly
On 28-Jun-18 12:45 PM, Zhang, Qi Z wrote: -Original Message- From: Zhang, Qi Z Sent: Thursday, June 28, 2018 7:27 PM To: Burakov, Anatoly ; tho...@monjalon.net Cc: Ananyev, Konstantin ; dev@dpdk.org; Richardson, Bruce ; Yigit, Ferruh ; Shelton, Benjamin H ; Vangati, Narender Subject:

Re: [dpdk-dev] [PATCH] net/mlx4: refinements to Rx packet type report

2018-06-28 Thread Adrien Mazarguil
On Thu, Jun 28, 2018 at 09:30:28AM +0300, Moti Haimovsky wrote: > This commit refines the Rx Packet type flags reported by the PMD > for each packet being received in order to make the report more > accurate. > > Signed-off-by: Moti Haimovsky Patch looks good, thanks. Acked-by: Adrien Mazarguil

Re: [dpdk-dev] [PATCH v3 23/23] app/testpmd: rework softnic forward mode

2018-06-28 Thread Iremonger, Bernard
Hi Jasvinder, > > > > -Original Message- > > > > From: Singh, Jasvinder > > > > Sent: Wednesday, June 27, 2018 5:31 PM > > > > To: dev@dpdk.org > > > > Cc: Dumitrescu, Cristian ; > > > > Iremonger, Bernard ; Pattan, Reshma > > > > > > > > Subject: [PATCH v3 23/23] app/testpmd: rework so

[dpdk-dev] [PATCH v3] net/mlx4: support hardware TSO

2018-06-28 Thread Moti Haimovsky
Implement support for hardware TSO. Signed-off-by: Moti Haimovsky --- v3: * Fixed compilation errors in compilers without GNU C extensions caused by a declaration of zero-length array in the code. in reply to 1530187032-6489-1-git-send-email-mo...@mellanox.com v2: * Fixed coding style warning.

[dpdk-dev] [PATCH v7 02/19] eal: enable multi process init callback

2018-06-28 Thread Qi Zhang
Introduce new API rte_eal_register_mp_init that help to register a callback function which will be invoked right after multi-process channel be established (rte_mp_channel_init). Typically the API will be used by other module that want it's mp channel action callbacks can be registered during rte_e

[dpdk-dev] [PATCH v7 00/19] enable hotplug on multi-process

2018-06-28 Thread Qi Zhang
v7: - update rte_ethdev_version.map for new APIs. - improve code readability in __handle_secondary_request by use goto. - add comments to explain why need to call rte_eal_alarm_set. - add error log when process_mp_init_callbacks failed. - reword release notes base on Anatoly's suggestion. - add bac

[dpdk-dev] [PATCH v7 01/19] ethdev: add function to release port in local process

2018-06-28 Thread Qi Zhang
Add driver API rte_eth_release_port_private to support the requirement that an ethdev only be released on secondary process, so only local state be set to unused , share data will not be reset so primary process can still use it. Signed-off-by: Qi Zhang Acked-by: Remy Horton --- lib/librte_ethd

[dpdk-dev] [PATCH v7 03/19] ethdev: enable hotplug on multi-process

2018-06-28 Thread Qi Zhang
We are going to introduce the solution to handle different hotplug cases in multi-process situation, it include below scenario: 1. Attach a share device from primary 2. Detach a share device from primary 3. Attach a share device from secondary 4. Detach a share device from secondary 5. Attach a pr

[dpdk-dev] [PATCH v7 05/19] ethdev: support attach or detach share device from secondary

2018-06-28 Thread Qi Zhang
This patch cover the multi-process hotplug case when a share device attach/detach request be issued from secondary process device attach on secondary: a) seconary send sync request to primary. b) primary receive the request and attach the new device if failed goto i). c) primary forward attach

[dpdk-dev] [PATCH v7 04/19] ethdev: introduce device lock

2018-06-28 Thread Qi Zhang
Introduce API rte_eth_dev_lock and rte_eth_dev_unlock to let application lock or unlock on specific ethdev, a locked device can't be detached, this help applicaiton to prevent unexpected device detaching, especially in multi-process envrionment. Aslo introduce the new API rte_eth_dev_lock_with_cal

[dpdk-dev] [PATCH v7 06/19] ethdev: support attach private device as first

2018-06-28 Thread Qi Zhang
When attach a private device from secondary as the first one, we need to make sure rte_eth_dev_shared_data is initialized, the patch add necessary IPC for secondary to inform primary to do initialization. Signed-off-by: Qi Zhang --- lib/librte_ethdev/ethdev_mp.c | 2 ++ lib/librte_ethdev/e

[dpdk-dev] [PATCH v7 08/19] net/ixgbe: enable port detach on secondary process

2018-06-28 Thread Qi Zhang
Previously, detach port on secondary process will mess primary process and cause same device can't be attached again, by take advantage of rte_eth_release_port_private, we can support this with minor change. Signed-off-by: Qi Zhang --- drivers/net/ixgbe/ixgbe_ethdev.c | 3 +++ 1 file changed, 3

[dpdk-dev] [PATCH v7 07/19] net/i40e: enable port detach on secondary process

2018-06-28 Thread Qi Zhang
Previously, detach port on secondary process will mess primary process and cause same device can't be attached again, by take advantage of rte_eth_release_port_private, we can support this with minor change. Signed-off-by: Qi Zhang --- drivers/net/i40e/i40e_ethdev.c | 2 ++ 1 file changed, 2 ins

[dpdk-dev] [PATCH v7 10/19] net/bonding: enable port detach on secondary process

2018-06-28 Thread Qi Zhang
Previously, detach port on secondary process will mess primary process and cause same device can't be attached again, by take advantage of rte_eth_release_port_private, we can support this with minor change. Signed-off-by: Qi Zhang --- drivers/net/bonding/rte_eth_bond_pmd.c | 11 +++ 1 f

[dpdk-dev] [PATCH v7 11/19] net/kni: enable port detach on secondary process

2018-06-28 Thread Qi Zhang
Previously, detach port on secondary process will mess primary process and cause same device can't be attached again, by take advantage of rte_eth_release_port_private, we can support this with minor change. Signed-off-by: Qi Zhang --- drivers/net/kni/rte_eth_kni.c | 11 +++ 1 file chang

[dpdk-dev] [PATCH v7 12/19] net/null: enable port detach on secondary process

2018-06-28 Thread Qi Zhang
Previously, detach port on secondary process will mess primary process and cause same device can't be attached again, by take advantage of rte_eth_release_port_private, we can support this with minor change. Signed-off-by: Qi Zhang --- drivers/net/null/rte_eth_null.c | 16 +++- 1 fil

[dpdk-dev] [PATCH v7 09/19] net/af_packet: enable port detach on secondary process

2018-06-28 Thread Qi Zhang
Previously, detach port on secondary process will mess primary process and cause same device can't be attached again, by take advantage of rte_eth_release_port_private, we can support this with minor change. Signed-off-by: Qi Zhang --- drivers/net/af_packet/rte_eth_af_packet.c | 11 +++

[dpdk-dev] [PATCH v7 14/19] net/pcap: enable port detach on secondary process

2018-06-28 Thread Qi Zhang
Previously, detach port on secondary process will mess primary process and cause same device can't be attached again, by take advantage of rte_eth_release_port_private, we can support this with minor change. Signed-off-by: Qi Zhang --- drivers/net/pcap/rte_eth_pcap.c | 15 ++- 1 file

[dpdk-dev] [PATCH v7 13/19] net/octeontx: enable port detach on secondary process

2018-06-28 Thread Qi Zhang
Previously, detach port on secondary process will mess primary process and cause same device can't be attached again, by take advantage of rte_eth_release_port_private, we can support this with minor change. Signed-off-by: Qi Zhang --- drivers/net/octeontx/octeontx_ethdev.c | 16

[dpdk-dev] [PATCH v7 15/19] net/softnic: enable port detach on secondary process

2018-06-28 Thread Qi Zhang
Previously, detach port on secondary process will mess primary process and cause same device can't be attached again, by take advantage of rte_eth_release_port_private, we can support this with minor change. Signed-off-by: Qi Zhang --- drivers/net/softnic/rte_eth_softnic.c | 19 -

[dpdk-dev] [PATCH v7 17/19] net/vhost: enable port detach on secondary process

2018-06-28 Thread Qi Zhang
Previously, detach port on secondary process will mess primary process and cause same device can't be attached again, by take advantage of rte_eth_release_port_private, we can support this with minor change. Signed-off-by: Qi Zhang --- drivers/net/vhost/rte_eth_vhost.c | 11 +++ 1 file c

[dpdk-dev] [PATCH v7 16/19] net/tap: enable port detach on secondary process

2018-06-28 Thread Qi Zhang
Previously, detach port on secondary process will mess primary process and cause same device can't be attached again, by take advantage of rte_eth_release_port_private, we can support this with minor change. Signed-off-by: Qi Zhang Acked-by: Keith Wiles --- drivers/net/tap/rte_eth_tap.c | 17 ++

[dpdk-dev] [PATCH v7 18/19] examples/multi_process: add hotplug sample

2018-06-28 Thread Qi Zhang
The sample code demonstrate device (ethdev only) management at multi-process envrionment. User can attach/detach a device on primary process and see it is synced on secondary process automatically, also user can lock a device to prevent it be detached or unlock it to go back to default behaviour.

[dpdk-dev] [PATCH v7 19/19] doc: update release notes for multi process hotplug

2018-06-28 Thread Qi Zhang
Update release notes for the new multi process hotplug feature. Signed-off-by: Qi Zhang --- doc/guides/rel_notes/release_18_08.rst | 20 1 file changed, 20 insertions(+) diff --git a/doc/guides/rel_notes/release_18_08.rst b/doc/guides/rel_notes/release_18_08.rst index bc01

Re: [dpdk-dev] [PATCH 4/4] net/ena: enable WC

2018-06-28 Thread Rafał Kozik
Hello Thomas, I will fix type, rebase and provide new patch set. Best regards, Rafal Kozik 2018-06-27 18:11 GMT+02:00 Thomas Monjalon : > 11/04/2018 16:07, Rafal Kozik: >> Write combining (wc) increase NIC performenca by making better >> utilization of PCI bus. ENA support this feature. >> >> To

Re: [dpdk-dev] [PATCH 2/4] bus/pci: reference driver structure

2018-06-28 Thread Rafał Kozik
2018-06-27 18:36 GMT+02:00 Ferruh Yigit : > On 4/11/2018 3:07 PM, Rafal Kozik wrote: >> Reference driver structure before calling rte_pci_map_device. >> It allow to use driver flags for adjusting configuration. >> >> Signed-off-by: Rafal Kozik >> --- >> drivers/bus/pci/pci_common.c | 13 -

Re: [dpdk-dev] [PATCH 3/4] eal: enable WC during resources mapping

2018-06-28 Thread Rafał Kozik
2018-06-27 18:41 GMT+02:00 Ferruh Yigit : > On 4/11/2018 3:07 PM, Rafal Kozik wrote: >> Write combining (wc) increase NIC performenca by making better >> utilization of PCI bus, but cannot be used by all PMD. >> >> It will be enable only if RTE_PCI_DRV_WC_ACTIVATE will be set in >> drivers flags. F

Re: [dpdk-dev] [PATCH 1/4] igb_uio: add wc option

2018-06-28 Thread Rafał Kozik
2018-06-27 18:34 GMT+02:00 Ferruh Yigit : > On 4/11/2018 3:07 PM, Rafal Kozik wrote: >> Write combining (wc) increase NIC performance by making better >> utilization of PCI bus, but cannot be use by all PMD. >> >> Parameter wc_activate add possibility to enable it for >> those PMD that could suppor

Re: [dpdk-dev] [PATCH v7 02/19] eal: enable multi process init callback

2018-06-28 Thread Burakov, Anatoly
On 28-Jun-18 1:56 PM, Qi Zhang wrote: Introduce new API rte_eal_register_mp_init that help to register a callback function which will be invoked right after multi-process channel be established (rte_mp_channel_init). Typically the API will be used by other module that want it's mp channel action

[dpdk-dev] [PATCH v2 1/4] igb_uio: add wc option

2018-06-28 Thread Rafal Kozik
Write combining (WC) increases NIC performance by making better utilization of PCI bus, but cannot be use by all PMDs. To get internal_addr memory need to be mapped. But as memory could not be mapped twice: with and without WC, it should be skipped for WC. [1] To do not spoil other drivers that p

  1   2   3   >