Re: [dpdk-dev] [RFC v2 00/23] Dynamic memory allocation for DPDK

2018-02-14 Thread Thomas Monjalon
Hi Anatoly, 19/12/2017 12:14, Anatoly Burakov: > * Memory tagging. This is related to previous item. Right now, we can only > ask >malloc to allocate memory by page size, but one could potentially have >different memory regions backed by pages of similar sizes (for example, >locked 1

Re: [dpdk-dev] [PATCH v2] net/tap: fix promiscuous rules double insersions

2018-02-14 Thread Pascal Mazon
Hi Ophir, Typo in title: s/insersions/insertions/ I'm ok on principle, I have just a few comments inline. Regards, Pascal On 13/02/2018 19:35, Ophir Munk wrote: > Running testpmd command "port stop all" followed by command "port start > all" may result in a TAP error: > PMD: Kernel refused TC f

Re: [dpdk-dev] [RFC v2 00/23] Dynamic memory allocation for DPDK

2018-02-14 Thread Burakov, Anatoly
On 14-Feb-18 2:01 AM, Yongseok Koh wrote: On Feb 5, 2018, at 2:03 AM, Burakov, Anatoly wrote: Thanks for your feedback, good to hear we're on the right track. I already have a prototype implementation of this working, due for v1 submission :) Anatoly, One more suggestion. Currently, when

Re: [dpdk-dev] [PATCH] usertools/dpdk-devbind.py: add support for wind river avp device

2018-02-14 Thread Burakov, Anatoly
On 14-Feb-18 12:48 AM, Zhang, Xiaohua wrote: Hi Yigit and Anantoly, I checked the nics-17.11.pdf, the following is description: "The Accelerated Virtual Port (AVP) device is a shared memory based device only available on virtualization platforms from Wind River Systems. The Wind River Systems v

Re: [dpdk-dev] [RFC v2 00/23] Dynamic memory allocation for DPDK

2018-02-14 Thread Burakov, Anatoly
On 14-Feb-18 8:04 AM, Thomas Monjalon wrote: Hi Anatoly, 19/12/2017 12:14, Anatoly Burakov: * Memory tagging. This is related to previous item. Right now, we can only ask malloc to allocate memory by page size, but one could potentially have different memory regions backed by pages of

[dpdk-dev] XL710: [Q] traffic steering under DPDK.

2018-02-14 Thread Anton Grichina
Hello, I am working with Arkady on VLAN steering. I have few questions regarding it on top of what was asked before. 7.4.8.4 "VEB/VEPA Switching Algorithm" states that filtering happens by MAC+VLAN. It is impossible to perform filtering by VLAN only, as I understand it is HW limitation. XL710 h

Re: [dpdk-dev] [PATCH] doc: add kernel version deprecation notice

2018-02-14 Thread Olivier Matz
On Wed, Feb 14, 2018 at 12:58:34AM +0100, Thomas Monjalon wrote: > 31/01/2018 16:27, Stephen Hemminger: > > Notify users of upcoming change in kernel requirement. > > Encourage users to use current LTS kernel version. > > > > Signed-off-by: Stephen Hemminger > > --- > > +* linux: Linux kernel ver

Re: [dpdk-dev] [PATCH] doc: add kernel version deprecation notice

2018-02-14 Thread Luca Boccassi
On Wed, 2018-02-14 at 00:58 +0100, Thomas Monjalon wrote: > 31/01/2018 16:27, Stephen Hemminger: > > Notify users of upcoming change in kernel requirement. > > Encourage users to use current LTS kernel version. > > > > Signed-off-by: Stephen Hemminger > > --- > > +* linux: Linux kernel version 3.

Re: [dpdk-dev] [PATCH] usertools/dpdk-devbind.py: add support for wind river avp device

2018-02-14 Thread Bruce Richardson
On Wed, Feb 14, 2018 at 09:57:25AM +, Burakov, Anatoly wrote: > On 14-Feb-18 12:48 AM, Zhang, Xiaohua wrote: > > Hi Yigit and Anantoly, > > I checked the nics-17.11.pdf, the following is description: > > "The Accelerated Virtual Port (AVP) device is a shared memory based device > > only availa

Re: [dpdk-dev] [PATCH] doc: add kernel version deprecation notice

2018-02-14 Thread Maxime Coquelin
On 01/31/2018 04:27 PM, Stephen Hemminger wrote: Notify users of upcoming change in kernel requirement. Encourage users to use current LTS kernel version. Signed-off-by: Stephen Hemminger --- doc/guides/rel_notes/deprecation.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc

[dpdk-dev] Mac-learning pipeline

2018-02-14 Thread sharanya k
Hi all, I want to create an ip pipeline application where the upstream should learn the source mac address along with the port and the downstream has to forward packets based on that mac learned table.Can I just use any existing pipeline application as such for this mac learning?If not what should

Re: [dpdk-dev] [PATCH] doc: add kernel version deprecation notice

2018-02-14 Thread Thomas Monjalon
14/02/2018 11:31, Luca Boccassi: > On Wed, 2018-02-14 at 00:58 +0100, Thomas Monjalon wrote: > > 31/01/2018 16:27, Stephen Hemminger: > > > Notify users of upcoming change in kernel requirement. > > > Encourage users to use current LTS kernel version. > > > > > > Signed-off-by: Stephen Hemminger

Re: [dpdk-dev] [PATCH] doc: add kernel version deprecation notice

2018-02-14 Thread Maxime Coquelin
On 02/14/2018 11:31 AM, Luca Boccassi wrote: On Wed, 2018-02-14 at 00:58 +0100, Thomas Monjalon wrote: 31/01/2018 16:27, Stephen Hemminger: Notify users of upcoming change in kernel requirement. Encourage users to use current LTS kernel version. Signed-off-by: Stephen Hemminger --- +* linux

Re: [dpdk-dev] Multi-driver support for Fortville

2018-02-14 Thread Nitin Katiyar
Hi Beilei, Thanks for clarifying the queries. We have been referring to following patches. https://dpdk.org/dev/patchwork/patch/34945/ https://dpdk.org/dev/patchwork/patch/34946/ https://dpdk.org/dev/patchwork/patch/34947/ https://dpdk.org/dev/patchwork/patch/34948/ Are these final versions and m

Re: [dpdk-dev] [PATCH] doc: add kernel version deprecation notice

2018-02-14 Thread Luca Boccassi
On Wed, 2018-02-14 at 11:38 +0100, Maxime Coquelin wrote: > > On 02/14/2018 11:31 AM, Luca Boccassi wrote: > > On Wed, 2018-02-14 at 00:58 +0100, Thomas Monjalon wrote: > > > 31/01/2018 16:27, Stephen Hemminger: > > > > Notify users of upcoming change in kernel requirement. > > > > Encourage users

Re: [dpdk-dev] [PATCH v1] doc: update deprecation notice of rte_devargs

2018-02-14 Thread Thomas Monjalon
14/02/2018 00:51, Thomas Monjalon: > 13/02/2018 12:26, Ferruh Yigit: > > On 2/7/2018 12:41 PM, Shreyansh Jain wrote: > > > On Wednesday 07 February 2018 02:56 PM, Gaetan Rivet wrote: > > >> The declaration and identification of devices will change in v18.05. > > >> > > >> Remove the precedent depre

Re: [dpdk-dev] [PATCH 1/1] doc: announce API change to lcore role function

2018-02-14 Thread Thomas Monjalon
14/02/2018 01:09, Thomas Monjalon: > 12/01/2018 21:45, Erik Gabriel Carrillo: > > This an API/ABI change notice for DPDK 18.05 announcing a change in > > the meaning of the return values of the rte_lcore_has_role() function. > > > > Signed-off-by: Erik Gabriel Carrillo > > --- > > +* eal: The sem

Re: [dpdk-dev] [PATCH v2] net/tap: fix promiscuous rules double insersions

2018-02-14 Thread Ophir Munk
Please see inline. I will send updated v3 > -Original Message- > From: Pascal Mazon [mailto:pascal.ma...@6wind.com] > Sent: Wednesday, February 14, 2018 10:51 AM > To: Ophir Munk ; dev@dpdk.org > Cc: Thomas Monjalon ; Olga Shern > ; sta...@dpdk.org > Subject: Re: [PATCH v2] net/tap: fix pr

[dpdk-dev] [PATCH v3] net/tap: fix promiscuous rules double insertions

2018-02-14 Thread Ophir Munk
Running testpmd command "port stop all" followed by command "port start all" may result in a TAP error: PMD: Kernel refused TC filter rule creation (17): File exists Root cause analysis: during the execution of "port start all" command testpmd calls rte_eth_promiscuous_enable() while during the ex

Re: [dpdk-dev] [PATCH] doc: add kernel version deprecation notice

2018-02-14 Thread Bruce Richardson
On Wed, Feb 14, 2018 at 10:54:44AM +, Luca Boccassi wrote: > On Wed, 2018-02-14 at 11:38 +0100, Maxime Coquelin wrote: > > > > On 02/14/2018 11:31 AM, Luca Boccassi wrote: > > > On Wed, 2018-02-14 at 00:58 +0100, Thomas Monjalon wrote: > > > > 31/01/2018 16:27, Stephen Hemminger: > > > > > Not

Re: [dpdk-dev] Accessing 2nd cacheline in rte_pktmbuf_prefree_seg()

2018-02-14 Thread Ananyev, Konstantin
Hi Yongseok, > > On Feb 13, 2018, at 2:45 PM, Yongseok Koh wrote: > > > > Hi Olivier > > > > I'm wondering why rte_pktmbuf_prefree_seg() checks m->next instead of > > m->nb_segs? As 'next' is in the 2nd cacheline, checking nb_segs seems > > beneficial > > to the cases where almost mbufs have sin

[dpdk-dev] [PATCH v2] net/i40e: fix link_state update for i40e_ethdev_vf drv

2018-02-14 Thread Tushar Mulkar
The check for bool was accounting unwanted bits in the calulation of truth value. In dpdk unsingned int is typedefed to bool but all it cares about is Least Significant Bit. But in calculation of condition expression the bits other than LSB was used which doesn't make sense. Some time these bits

Re: [dpdk-dev] Accessing 2nd cacheline in rte_pktmbuf_prefree_seg()

2018-02-14 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, Konstantin > Sent: Wednesday, February 14, 2018 11:48 AM > To: Yongseok Koh ; Olivier Matz > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] Accessing 2nd cacheline in rte_pktmbuf_prefree_seg() > > Hi Yongse

Re: [dpdk-dev] Accessing 2nd cacheline in rte_pktmbuf_prefree_seg()

2018-02-14 Thread Bruce Richardson
On Wed, Feb 14, 2018 at 12:03:55PM +, Ananyev, Konstantin wrote: > > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, Konstantin > > Sent: Wednesday, February 14, 2018 11:48 AM > > To: Yongseok Koh ; Olivier Matz > > Cc: dev@dpdk.org > > Subjec

[dpdk-dev] [PATCH v1] doc: update release notes for 18.02

2018-02-14 Thread John McNamara
Fix grammar, spelling and formatting of DPDK 18.02 release notes. Signed-off-by: John McNamara --- doc/guides/rel_notes/release_18_02.rst | 194 +++-- 1 file changed, 64 insertions(+), 130 deletions(-) diff --git a/doc/guides/rel_notes/release_18_02.rst b/doc/guides

[dpdk-dev] [PATCH] doc: announce ABI change to support VF representors

2018-02-14 Thread Shahaf Shuler
This is following the RFC being discussed and targets 18.05 http://dpdk.org/ml/archives/dev/2018-January/085716.html Cc: declan.dohe...@intel.com Cc: mohammad.abdul.a...@intel.com Cc: ferruh.yi...@intel.com Cc: remy.hor...@intel.com Signed-off-by: Shahaf Shuler --- doc/guides/rel_notes/depreca

Re: [dpdk-dev] Accessing 2nd cacheline in rte_pktmbuf_prefree_seg()

2018-02-14 Thread Ananyev, Konstantin
> -Original Message- > From: Richardson, Bruce > Sent: Wednesday, February 14, 2018 12:12 PM > To: Ananyev, Konstantin > Cc: Yongseok Koh ; Olivier Matz ; > dev@dpdk.org > Subject: Re: [dpdk-dev] Accessing 2nd cacheline in rte_pktmbuf_prefree_seg() > > On Wed, Feb 14, 2018 at 12:03:55P

Re: [dpdk-dev] [PATCH v3] net/tap: fix promiscuous rules double insertions

2018-02-14 Thread Pascal Mazon
Good job. Looks ok to me. Acked-by: Pascal Mazon On 14/02/2018 12:32, Ophir Munk wrote: > Running testpmd command "port stop all" followed by command "port start > all" may result in a TAP error: > PMD: Kernel refused TC filter rule creation (17): File exists > > Root cause analysis: during the

Re: [dpdk-dev] [PATCH] doc: announce ABI change to support VF representors

2018-02-14 Thread Thomas Monjalon
14/02/2018 13:32, Shahaf Shuler: > This is following the RFC being discussed and targets 18.05 > > http://dpdk.org/ml/archives/dev/2018-January/085716.html > > Cc: declan.dohe...@intel.com > Cc: mohammad.abdul.a...@intel.com > Cc: ferruh.yi...@intel.com > Cc: remy.hor...@intel.com > > Signed-off

[dpdk-dev] [PATCH v2] doc: update release notes for 18.02

2018-02-14 Thread John McNamara
Fix grammar, spelling and formatting of DPDK 18.02 release notes. Signed-off-by: John McNamara --- doc/guides/rel_notes/release_18_02.rst | 199 - 1 file changed, 69 insertions(+), 130 deletions(-) diff --git a/doc/guides/rel_notes/release_18_02.rst b/doc/guides

Re: [dpdk-dev] [PATCH] net/failsafe: fix Rx interrupt reinstallation

2018-02-14 Thread Gaëtan Rivet
Hi Matan, On Tue, Feb 13, 2018 at 10:59:32PM +, Matan Azrad wrote: > Fail-safe dev_start() operation can be called by both the application > and the hot-plug alarm mechanism. > > The installation of Rx interrupt are triggered from dev_start() in any > time it is called while actually the Rx i

Re: [dpdk-dev] [PATCH] doc: announce ABI change to support VF representors

2018-02-14 Thread Doherty, Declan
On 14/02/2018 12:32 PM, Shahaf Shuler wrote: This is following the RFC being discussed and targets 18.05 http://dpdk.org/ml/archives/dev/2018-January/085716.html Cc: declan.dohe...@intel.com Cc: mohammad.abdul.a...@intel.com Cc: ferruh.yi...@intel.com Cc: remy.hor...@intel.com Signed-off-by: S

Re: [dpdk-dev] [PATCH] net/failsafe: fix Rx interrupt reinstallation

2018-02-14 Thread Matan Azrad
Hi Gaetan Agree, will send V2. > -Original Message- > From: Gaëtan Rivet [mailto:gaetan.ri...@6wind.com] > Sent: Wednesday, February 14, 2018 3:52 PM > To: Matan Azrad > Cc: dev@dpdk.org > Subject: Re: [PATCH] net/failsafe: fix Rx interrupt reinstallation > > Hi Matan, > > On Tue, Feb

Re: [dpdk-dev] Accessing 2nd cacheline in rte_pktmbuf_prefree_seg()

2018-02-14 Thread Ananyev, Konstantin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, Konstantin > Sent: Wednesday, February 14, 2018 12:35 PM > To: Richardson, Bruce > Cc: Yongseok Koh ; Olivier Matz ; > dev@dpdk.org > Subject: Re: [dpdk-dev] Accessing 2nd cacheline in rte_pktmbuf_prefr

Re: [dpdk-dev] [PATCH v2] net/tap: fix promiscuous rules double insersions

2018-02-14 Thread Ophir Munk
Hi, Regarding your question: > Are we sure the previous rule is still in the registered implicit flows? It is confirmed. After running several "port stop/start" commands in testpmd I am executing testpmd> flow isolate 1 and notice that promiscuous rule is removed from remote device. Regards,

Re: [dpdk-dev] [PATCH] doc: add ABI change notice for numa_node_count in eal

2018-02-14 Thread Thomas Monjalon
14/02/2018 01:04, Thomas Monjalon: > > > > > There will be a new function added in v18.05 that will return number > > > > > of > > > > > detected sockets, which will change the ABI. > > > > > > > > > > Signed-off-by: Anatoly Burakov > > > > > --- > > > > > +* eal: new ``numa_node_count`` member

Re: [dpdk-dev] [PATCH v3] net/tap: fix promiscuous rules double insertions

2018-02-14 Thread Thomas Monjalon
14/02/2018 14:13, Pascal Mazon: > On 14/02/2018 12:32, Ophir Munk wrote: > > Running testpmd command "port stop all" followed by command "port start > > all" may result in a TAP error: > > PMD: Kernel refused TC filter rule creation (17): File exists > > > > Root cause analysis: during the executio

[dpdk-dev] [PATCH] doc: add tested platforms with Mellanox NICs

2018-02-14 Thread Raslan Darawsheh
Signed-off-by: Raslan Darawsheh --- doc/guides/rel_notes/release_18_02.rst | 146 + 1 file changed, 146 insertions(+) diff --git a/doc/guides/rel_notes/release_18_02.rst b/doc/guides/rel_notes/release_18_02.rst index 04202ba..8f681f0 100644 --- a/doc/guides/rel_n

[dpdk-dev] [PATCH v2] net/failsafe: fix Rx interrupt reinstallation

2018-02-14 Thread Matan Azrad
Fail-safe dev_start() operation can be called by both the application and the hot-plug alarm mechanism. The installation of Rx interrupt are triggered from dev_start() in any time it is called while actually the Rx interrupt should be installed only by the application calls. So, each plug-in even

Re: [dpdk-dev] [PATCH v2] doc: add deprecation notice for memory hotplug changes

2018-02-14 Thread Thomas Monjalon
07/02/2018 11:11, Jerin Jacob: > -Original Message- > > Date: Mon, 5 Feb 2018 11:47:42 + > > From: Bruce Richardson > > To: Anatoly Burakov > > CC: dev@dpdk.org, Neil Horman , John McNamara > > , Marko Kovacevic > > Subject: Re: [dpdk-dev] [PATCH v2] doc: add deprecation notice for

Re: [dpdk-dev] [PATCH] doc: announce ABI change to support VF representors

2018-02-14 Thread Remy Horton
On 14/02/2018 12:32, Shahaf Shuler wrote: [..] Signed-off-by: Shahaf Shuler --- doc/guides/rel_notes/deprecation.rst | 6 ++ 1 file changed, 6 insertions(+) Acked-by: Remy Horton

[dpdk-dev] [PATCH 0/4] add to support for virtio-user server mode

2018-02-14 Thread Zhiyong Yang
When vhost user/ovs-dpdk restart, virtio user is expected to keep alive so that vhost user can reconnect it successfully and continue to exchange packets. The series support the feature and target for 18.05 release. Virtio user with server mode creates socket file and then starts to wait for firs

[dpdk-dev] [PATCH 1/4] vhost: move fdset functions from fd_man.c to fd_man.h

2018-02-14 Thread Zhiyong Yang
The patch moves fdset related funcitons from fd_man.c to fd_man.h in order to reuse these funcitons from the perspective of PMDs. Signed-off-by: Zhiyong Yang --- lib/librte_vhost/Makefile | 3 +- lib/librte_vhost/fd_man.c | 274 -- lib/librte_vhost/f

[dpdk-dev] [PATCH 2/4] net/virtio-user: add data members to support server mode

2018-02-14 Thread Zhiyong Yang
Add data members so as to support server mode. Signed-off-by: Zhiyong Yang --- drivers/net/virtio/virtio_user/virtio_user_dev.h | 8 1 file changed, 8 insertions(+) diff --git a/drivers/net/virtio/virtio_user/virtio_user_dev.h b/drivers/net/virtio/virtio_user/virtio_user_dev.h index 6

[dpdk-dev] [PATCH 3/4] net/virtio-user: support server mode

2018-02-14 Thread Zhiyong Yang
virtio user adds to support for server mode. Virtio user with server mode creates socket file and then starts to wait for first connection from vhost user with client mode in blocking mode. Server mode virtio user supports many times' vhost reconnections with same configurations. Support only on

[dpdk-dev] [PATCH 4/4] net/vhost: add memory checking to support client mode

2018-02-14 Thread Zhiyong Yang
When vhost user PMD works in client mode to connect/reconnect virtio user in server mode, new thread sometimes may run to new_device before queue_setup has been done, So have to wait until memory allocation is done. Signed-off-by: Zhiyong Yang --- drivers/net/vhost/rte_eth_vhost.c | 9 +

Re: [dpdk-dev] [PATCH v2] doc: remove eal API for default mempool ops name

2018-02-14 Thread Thomas Monjalon
13/02/2018 12:28, Ferruh Yigit: > On 2/2/2018 2:01 PM, Olivier Matz wrote: > > On Fri, Feb 02, 2018 at 02:01:42PM +0530, Hemant Agrawal wrote: > >> Signed-off-by: Hemant Agrawal > >> --- > >> +* eal: a new set of mbuf mempool ops name APIs for user, platform and best > >> + mempool names have bee

Re: [dpdk-dev] [PATCH v2] net/failsafe: fix Rx interrupt reinstallation

2018-02-14 Thread Gaëtan Rivet
On Wed, Feb 14, 2018 at 02:47:26PM +, Matan Azrad wrote: > Fail-safe dev_start() operation can be called by both the application > and the hot-plug alarm mechanism. > > The installation of Rx interrupt are triggered from dev_start() in any > time it is called while actually the Rx interrupt sh

Re: [dpdk-dev] [PATCH v2] net/failsafe: fix Rx interrupt reinstallation

2018-02-14 Thread Gaëtan Rivet
On Wed, Feb 14, 2018 at 04:00:13PM +0100, Gaëtan Rivet wrote: > On Wed, Feb 14, 2018 at 02:47:26PM +, Matan Azrad wrote: > > Fail-safe dev_start() operation can be called by both the application > > and the hot-plug alarm mechanism. > > > > The installation of Rx interrupt are triggered from d

[dpdk-dev] [PATCH] net/mlx5: fix flow creation with a single target queue

2018-02-14 Thread Nelio Laranjeiro
Adding a pattern targeting a single queues wrongly behaves as it is an RSS request, ending by creating several Verbs flows rules to match the RSS configuration. Fixes: 8086cf08b2f0 ("net/mlx5: handle RSS hash configuration in RSS flow") Cc: sta...@dpdk.org Signed-off-by: Nelio Laranjeiro --- dr

Re: [dpdk-dev] [PATCH v2] net/failsafe: fix Rx interrupt reinstallation

2018-02-14 Thread Matan Azrad
Hi Gaetan From: Gaëtan Rivet, Sent: Wednesday, February 14, 2018 5:01 PM > On Wed, Feb 14, 2018 at 04:00:13PM +0100, Gaëtan Rivet wrote: > > On Wed, Feb 14, 2018 at 02:47:26PM +, Matan Azrad wrote: > > > Fail-safe dev_start() operation can be called by both the > > > application and the hot-pl

Re: [dpdk-dev] [PATCH v2] net/failsafe: fix Rx interrupt reinstallation

2018-02-14 Thread Gaëtan Rivet
On Wed, Feb 14, 2018 at 04:01:29PM +0100, Gaëtan Rivet wrote: > On Wed, Feb 14, 2018 at 04:00:13PM +0100, Gaëtan Rivet wrote: > > On Wed, Feb 14, 2018 at 02:47:26PM +, Matan Azrad wrote: > > > Fail-safe dev_start() operation can be called by both the application > > > and the hot-plug alarm mec

Re: [dpdk-dev] [PATCH] doc: announce API/ABI changes for mempool

2018-02-14 Thread Thomas Monjalon
> >>> An API/ABI changes are planned for 18.05 [1]: > >>> > >>> * Allow to customize how mempool objects are stored in memory. > >>> * Deprecate mempool XMEM API. > >>> * Add mempool driver ops to get information from mempool driver and > >>> dequeue contiguous blocks of objects if driver

Re: [dpdk-dev] [PATCH v2] net/failsafe: fix Rx interrupt reinstallation

2018-02-14 Thread Thomas Monjalon
14/02/2018 16:00, Gaëtan Rivet: > On Wed, Feb 14, 2018 at 02:47:26PM +, Matan Azrad wrote: > > Fail-safe dev_start() operation can be called by both the application > > and the hot-plug alarm mechanism. > > > > The installation of Rx interrupt are triggered from dev_start() in any > > time it

Re: [dpdk-dev] [PATCH] doc: announce ABI change to support VF representors

2018-02-14 Thread Boccassi, Luca
On Wed, 2018-02-14 at 14:32 +0200, Shahaf Shuler wrote: > This is following the RFC being discussed and targets 18.05 > > http://dpdk.org/ml/archives/dev/2018-January/085716.html > > Cc: declan.dohe...@intel.com > Cc: mohammad.abdul.a...@intel.com > Cc: ferruh.yi...@intel.com > Cc: remy.hor...@in

[dpdk-dev] [PATCH v1 0/4] doc: announce API changes for flow rules

2018-02-14 Thread Adrien Mazarguil
Series of API/ABI change announcements for rte_flow to enable proper encap/decap support and address various design issues that can't be addressed without ABI impact. Adrien Mazarguil (4): doc: announce API change for flow actions doc: announce API change for flow RSS action doc: announce AP

[dpdk-dev] [PATCH v1 1/4] doc: announce API change for flow actions

2018-02-14 Thread Adrien Mazarguil
This announce is related to the discussion regarding TEP and the need for encap/decap support in rte_flow [1]. It's now clear that PMD support for chaining multiple non-terminating flow rules of varying priority levels is prohibitively difficult to implement compared to simply allowing multiple id

[dpdk-dev] [PATCH v1 2/4] doc: announce API change for flow RSS action

2018-02-14 Thread Adrien Mazarguil
Since its inception, the rte_flow RSS action has been relying in part on struct rte_eth_rss_conf for compatibility with the legacy RSS API. This structure lacks parameters such as the hash function to use, and more recently, a method to tell which layer RSS should be performed on [1]. Given struct

[dpdk-dev] [PATCH v1 3/4] doc: announce API change for flow RSS/RAW actions

2018-02-14 Thread Adrien Mazarguil
C99-style flexible arrays were a bad idea for this API. This announces a minor API/ABI change to remove them. Signed-off-by: Adrien Mazarguil --- doc/guides/rel_notes/deprecation.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_n

[dpdk-dev] [PATCH v1 4/4] doc: announce API change for flow VLAN pattern item

2018-02-14 Thread Adrien Mazarguil
This will finally bring consistency to the VLAN pattern item definition, particularly when attempting to match QinQ traffic. Applications relying on TCI and no QinQ shouldn't notice a difference. On the other hand, applications relying on EtherType matching will have to adapt their patterns so the

Re: [dpdk-dev] [PATCH] net/mlx5: fix flow creation with a single target queue

2018-02-14 Thread Adrien Mazarguil
On Wed, Feb 14, 2018 at 04:04:45PM +0100, Nelio Laranjeiro wrote: > Adding a pattern targeting a single queues wrongly behaves as it is an RSS > request, ending by creating several Verbs flows rules to match the RSS > configuration. > > Fixes: 8086cf08b2f0 ("net/mlx5: handle RSS hash configuration

Re: [dpdk-dev] [PATCH] doc: announce control mbuf removal

2018-02-14 Thread Thomas Monjalon
14/02/2018 01:02, Thomas Monjalon: > 29/01/2018 10:30, Olivier Matz: > > Link: http://dpdk.org/ml/archives/dev/2017-July/069813.html > > Link: http://dpdk.org/dev/patchwork/patch/32041/ > > > > Signed-off-by: Olivier Matz > > --- > > +* mbuf: The control mbuf API will be removed in v18.05. The im

Re: [dpdk-dev] [PATCH] doc: announce ABI change to support VF representors

2018-02-14 Thread Jerin Jacob
-Original Message- > Date: Wed, 14 Feb 2018 15:27:50 + > From: "Boccassi, Luca" > To: "shah...@mellanox.com" , "tho...@monjalon.net" > , "nhor...@tuxdriver.com" > CC: "remy.hor...@intel.com" , > "mohammad.abdul.a...@intel.com" , > "declan.dohe...@intel.com" , > "ferruh.yi...@intel

Re: [dpdk-dev] [PATCH v1 0/4] doc: announce API changes for flow rules

2018-02-14 Thread Nélio Laranjeiro
On Wed, Feb 14, 2018 at 04:37:26PM +0100, Adrien Mazarguil wrote: > Series of API/ABI change announcements for rte_flow to enable proper > encap/decap support and address various design issues that can't be > addressed without ABI impact. > > Adrien Mazarguil (4): > doc: announce API change for

Re: [dpdk-dev] [PATCH] doc: add change notice for mbuf sched field

2018-02-14 Thread Thomas Monjalon
> > > > Signed-off-by: Cristian Dumitrescu > > > > Acked-by: Jasvinder Singh > > > > Acked-by: Roy Fan Zhang > > > > Acked-by: Kevin Laatz > > > > > > Acked-by: Jerin Jacob > > > > Acked-by: Hemant Agrawal > > Acked-by: Olivier Matz Applied

Re: [dpdk-dev] [PATCH v1 0/4] doc: announce API changes for flow rules

2018-02-14 Thread Andrew Rybchenko
On 02/14/2018 06:55 PM, Nélio Laranjeiro wrote: On Wed, Feb 14, 2018 at 04:37:26PM +0100, Adrien Mazarguil wrote: Series of API/ABI change announcements for rte_flow to enable proper encap/decap support and address various design issues that can't be addressed without ABI impact. Adrien Mazargu

[dpdk-dev] [PATCH] doc/gsg: remove reference to old distros

2018-02-14 Thread Harry van Haaren
Remove reference to Fedora 18 which is EOL-ed, reword surrounding sentences to read correctly. Signed-off-by: Harry van Haaren --- @Thomas, perhaps consider for 18.02 - to get outdated references cleaned up? --- doc/guides/linux_gsg/sys_reqs.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 de

Re: [dpdk-dev] [PATCH v2] doc: announce ABI change for RSS configuration structure

2018-02-14 Thread Thomas Monjalon
> > >> Update deprecation notice for the new rss_level field of > > >> rte_eth_rss_conf. > > >> > > >> Link: http://www.dpdk.org/dev/patchwork/patch/31891 > > >> > > >> Signed-off-by: Xueming Li > > >> --- > > >> +* ethdev: A new rss level field planned in 18.05. > > >> + The new API add rss_lev

Re: [dpdk-dev] [PATCH v3] doc: add preferred burst size support

2018-02-14 Thread Thomas Monjalon
> > > rte_eth_rx_burst(..,nb_pkts) function has semantic that if return value is > > > smaller than requested, application can consider it end of packet stream. > > > Some hardware can only support smaller burst sizes which need to be > > > advertised. Similar is the case for Tx burst. > > > > > >

Re: [dpdk-dev] [PATCH] doc: announce ABI change to support VF representors

2018-02-14 Thread Thomas Monjalon
> > > This is following the RFC being discussed and targets 18.05 > > > > > > http://dpdk.org/ml/archives/dev/2018-January/085716.html > > > > > > Cc: declan.dohe...@intel.com > > > Cc: mohammad.abdul.a...@intel.com > > > Cc: ferruh.yi...@intel.com > > > Cc: remy.hor...@intel.com > > > > > > Sig

Re: [dpdk-dev] [RFC v2] doc compression API for DPDK

2018-02-14 Thread Ahmed Mansour
On 2/14/2018 12:41 AM, Verma, Shally wrote: > Hi Ahmed > >> -Original Message- >> From: Ahmed Mansour [mailto:ahmed.mans...@nxp.com] >> Sent: 02 February 2018 02:20 >> To: Trahe, Fiona ; Verma, Shally >> ; dev@dpdk.org >> Cc: Athreya, Narayana Prasad ; Gupta, >> Ashish ; Sahu, Sunila >> ;

Re: [dpdk-dev] [PATCH] doc: announce PMD API change for set default MAC

2018-02-14 Thread Thomas Monjalon
14/02/2018 01:00, Thomas Monjalon: > > > >> +* ethdev: The prototype and the behavior of > > > >> + ``dev_ops->eth_mac_addr_set()`` will change in v18.05. A return > > > >> +code > > > >> + will be added to notify the caller if an error occurred in the > > > >> +PMD. In > > > >> + ``rte_eth_dev_

Re: [dpdk-dev] [PATCH v2] doc: update ethdev APIs to return named opaque type

2018-02-14 Thread Thomas Monjalon
> >>> Ethdev APIs to add callback return the callback object as "void *", > >>> update return type to actual object type > >>> "struct rte_eth_rxtx_callback *" > >>> > >>> Signed-off-by: Ferruh Yigit > >>> --- > >>> +* ethdev: functions add rx/tx callback will return named opaque type > >>> + rte

[dpdk-dev] [PATCH] doc: fix outdated link

2018-02-14 Thread Pablo de Lara
Fixes: 924e84f87306 ("aesni_mb: add driver for multi buffer based crypto") Cc: sta...@dpdk.org Signed-off-by: Pablo de Lara --- doc/guides/cryptodevs/aesni_mb.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/cryptodevs/aesni_mb.rst b/doc/guides/cryptodevs/aesni

Re: [dpdk-dev] [PATCH v3] doc: ethdev ABI change deprecation notice

2018-02-14 Thread Thomas Monjalon
14/02/2018 01:14, Thomas Monjalon: > > > >> Signed-off-by: Kirill Rybalchenko > > > >> > > > >> Acked-by: Marko Kovacevic > > > >> --- > > > >> +* ethdev: announce ABI change > > > >> + The size of variables flow_types_mask in rte_eth_fdir_info > > > >> structure, > > > >> + sym_hash_enable_ma

Re: [dpdk-dev] [PATCH] doc/gsg: remove reference to old distros

2018-02-14 Thread Mcnamara, John
> -Original Message- > From: Van Haaren, Harry > Sent: Wednesday, February 14, 2018 4:16 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Mcnamara, John ; Van > Haaren, Harry > Subject: [PATCH] doc/gsg: remove reference to old distros > > Remove reference to Fedora 18 which is EOL-ed, r

Re: [dpdk-dev] [PATCH] doc: fix ethdev API port_id parameter size

2018-02-14 Thread Thomas Monjalon
> > > > Fix rte_eth_dev_get_sec_ctx() parameter port_id storage size, form > > > > uint8_t to uint16_t > > > > > > > > Signed-off-by: Ferruh Yigit > > > > --- > > > Acked-by: Radu Nicolau > > > > Acked-by: Hemant Agrawal > > Acked-by: Jerin Jacob Applied

Re: [dpdk-dev] [PATCH] doc/gsg: remove reference to old distros

2018-02-14 Thread Thomas Monjalon
> > Remove reference to Fedora 18 which is EOL-ed, reword surrounding > > sentences to read correctly. > > > > Signed-off-by: Harry van Haaren > > Acked-by: John McNamara Applied, thanks

Re: [dpdk-dev] [PATCH] doc: fix outdated link

2018-02-14 Thread Thomas Monjalon
14/02/2018 18:14, Pablo de Lara: > Fixes: 924e84f87306 ("aesni_mb: add driver for multi buffer based crypto") > Cc: sta...@dpdk.org > > Signed-off-by: Pablo de Lara Applied, thanks

Re: [dpdk-dev] [PATCH] doc: add tested platforms with Mellanox NICs

2018-02-14 Thread Thomas Monjalon
14/02/2018 15:30, Raslan Darawsheh: > Signed-off-by: Raslan Darawsheh Applied with few rst fixes, thanks

Re: [dpdk-dev] [PATCH] doc: add virtio GUEST ANNOUNCE to release notes

2018-02-14 Thread Thomas Monjalon
14/02/2018 00:31, Thomas Monjalon: > 09/02/2018 10:56, Mcnamara, John: > > From: Wang, Xiao W > > > +* **Added VIRTIO_NET_F_GUEST_ANNOUNCE feature support in virtio pmd.** > > > + > > > + In scenario where the vhost backend doesn't have the ability to > > > + generate RARP packet, the VM running

Re: [dpdk-dev] [PATCH v2] doc: update release notes for 18.02

2018-02-14 Thread Thomas Monjalon
14/02/2018 14:50, John McNamara: > Fix grammar, spelling and formatting of DPDK 18.02 release notes. > > Signed-off-by: John McNamara Applied, thanks

Re: [dpdk-dev] [PATCH] doc: add kernel version deprecation notice

2018-02-14 Thread Stephen Hemminger
On Wed, 14 Feb 2018 11:44:15 + Bruce Richardson wrote: > On Wed, Feb 14, 2018 at 10:54:44AM +, Luca Boccassi wrote: > > On Wed, 2018-02-14 at 11:38 +0100, Maxime Coquelin wrote: > > > > > > On 02/14/2018 11:31 AM, Luca Boccassi wrote: > > > > On Wed, 2018-02-14 at 00:58 +0100, Thomas

Re: [dpdk-dev] [RFC v2 00/23] Dynamic memory allocation for DPDK

2018-02-14 Thread Yongseok Koh
> On Feb 14, 2018, at 1:32 AM, Burakov, Anatoly > wrote: > > On 14-Feb-18 2:01 AM, Yongseok Koh wrote: >>> On Feb 5, 2018, at 2:03 AM, Burakov, Anatoly >>> wrote: >>> >>> Thanks for your feedback, good to hear we're on the right track. I already >>> have a prototype implementation of this

[dpdk-dev] [PATCH] net/i40evf: regression fix - reenable interrupts in handler

2018-02-14 Thread Konrad Jankowski
Commit 66b8304f removed the rte_intr_enable() call from i40evf_dev_interrupt_handler() as a "bonus". On one of my systems this causes the AdminQ messages to stop beeing delivered to the VF. This results in unability to initialize and use the port. With this patch it works again. System in question

[dpdk-dev] [dpdk-announce] DPDK 18.02 released

2018-02-14 Thread Thomas Monjalon
A new major release is available: http://fast.dpdk.org/rel/dpdk-18.02.tar.xz Special attention was paid to not break the ABI in this release. It means 18.02 could replace 17.11 without rebuilding the applications. However it is advised to keep using 17.11 LTS for long term deployments. So

[dpdk-dev] [PATCH v6] checkpatches.sh: Add checks for ABI symbol addition

2018-02-14 Thread Neil Horman
Recently, some additional patches were added to allow for programmatic marking of C symbols as experimental. The addition of these markers is dependent on the manual addition of exported symbols to the EXPERIMENTAL section of the corresponding libraries version map file. The consensus on review i

Re: [dpdk-dev] IXGBE, IOMMU DMAR DRHD handling fault issue

2018-02-14 Thread Ravi Kerur
On Tue, Feb 13, 2018 at 6:31 AM, Burakov, Anatoly wrote: > On 12-Feb-18 10:00 PM, Ravi Kerur wrote: > >> >> Let me just give you what has been tested and working/nonworking >> scenarios. Some of your questions might get answered as well. >> Test bed is very simple with 2 V

Re: [dpdk-dev] [PATCH] usertools/dpdk-devbind.py: add support for wind river avp device

2018-02-14 Thread Zhang, Xiaohua
That's no problem for me to move it to the "network" catalog. Should I generate a new patch? BR. Xiaohua Zhang -Original Message- From: Bruce Richardson [mailto:bruce.richard...@intel.com] Sent: Wednesday, February 14, 2018 6:32 PM To: BURAKOV, ANATOLY Cc: Zhang, Xiaohua; YIGIT, FERRUH;

[dpdk-dev] [dpdk-announce] DPDK Bangalore Summit 2016, Agenda announced

2018-02-14 Thread Tibrewala, Sujata
Agenda [1] for DPDK Summit Bangalore 2018 March 9th | Leela Palace, Bangalore, India is announced The agenda covers many interesting topics such as Hardware assist with DPDK, VM optimizations, Memzone Monitor, Data Plane Corruption, Service Function Chaining, OVN, OVS hardware offload, SPDK,

[dpdk-dev] [dpdk-announce] DPDK hands on lab Bangalore March 10th

2018-02-14 Thread Tibrewala, Sujata
Hi, Agenda for the DPDK hands on lab Bangalore has been published. Please apply to attend at [1]. If you want to stay in touch with our local Bangalore DPDK events do not forget to join our meet up group at [2]. DPDK hands on Lab What are latest new features DPDK brings into 2018? We will pro

Re: [dpdk-dev] [RFC v1 1/1] lib/cryptodev: add support of asymmetric crypto

2018-02-14 Thread Verma, Shally
HI Fiona Thanks for your feedback. Response below. >-Original Message- >From: Trahe, Fiona [mailto:fiona.tr...@intel.com] >Sent: 09 February 2018 23:43 >To: dev@dpdk.org; Athreya, Narayana Prasad >; Murthy, Nidadavolu >; Sahu, Sunila ; Gupta, >Ashish ; Verma, >Shally ; Doherty, Declan ;

Re: [dpdk-dev] [RFC v2] doc compression API for DPDK

2018-02-14 Thread Verma, Shally
>-Original Message- >From: Ahmed Mansour [mailto:ahmed.mans...@nxp.com] >Sent: 14 February 2018 22:25 >To: Verma, Shally ; Trahe, Fiona >; dev@dpdk.org >Cc: Athreya, Narayana Prasad ; Gupta, >Ashish ; Sahu, Sunila >; De Lara Guarch, Pablo >; Challa, Mahipal >; Jain, Deepak K ; Hemant