Re: [dpdk-dev] [PATCH v8 2/3] eal: add u64 bit variant for reciprocal

2018-01-28 Thread Pavan Nikhilesh
Hi Hemant, On Mon, Jan 29, 2018 at 12:12:55PM +0530, Hemant Agrawal wrote: > Hi Pavan, > I am bit late in checking it. (series is already applied) > > Just few legal queries. > > > --- a/lib/librte_eal/common/rte_reciprocal.c > +++ > b/lib/librte_eal/common/rte_reciprocal.c > > @@ -1,3 +1,6 @@

Re: [dpdk-dev] [RFC 0/3] set protocol specific metadata using set_pkt_metadata API

2018-01-28 Thread Akhil Goyal
On 1/26/2018 8:38 PM, Nicolau, Radu wrote: -Original Message- From: Anoob Joseph [mailto:anoob.jos...@caviumnetworks.com] Sent: Friday, January 26, 2018 2:38 PM To: Nicolau, Radu ; Akhil Goyal Cc: anoob.jos...@caviumnetworks.com; Doherty, Declan ; Gonzalez Monroy, Sergio ; Jerin Jacob

Re: [dpdk-dev] [PATCH v8 2/3] eal: add u64 bit variant for reciprocal

2018-01-28 Thread Hemant Agrawal
Hi Pavan, I am bit late in checking it. (series is already applied) Just few legal queries. > --- a/lib/librte_eal/common/rte_reciprocal.c > +++ b/lib/librte_eal/common/rte_reciprocal.c > @@ -1,3 +1,6 @@ > +/* SPDX-License-Identifier: BSD-3-Clause > + * Copyright(c) 2017 Cavium, Inc you h

Re: [dpdk-dev] [PATCH v6 1/2] eal: add channel for multi-process communication

2018-01-28 Thread Tan, Jianfeng
Hi Anatoly, > -Original Message- > From: Burakov, Anatoly > Sent: Friday, January 26, 2018 6:26 PM > To: Tan, Jianfeng; dev@dpdk.org > Cc: Richardson, Bruce; Ananyev, Konstantin; tho...@monjalon.net > Subject: Re: [PATCH v6 1/2] eal: add channel for multi-process > communication > > On 26

[dpdk-dev] [PATCH] test/memzone: fix incorrect result judging criteria

2018-01-28 Thread Phil Yang
While running DTS with ixgbe NIC, dpdk EAL will reserve some memzones for the PCI device. So it is incorrect to judging the result by only checking whether it has memzone remained. Fixed by insert an unique name prefix into each memzone used in this case. And verify whether it has used memzone rem

[dpdk-dev] [PATCH] fix memzone unit test defect in verify process.

2018-01-28 Thread Phil Yang
Runtime Log: memzone_autotest test basic memzone API Zone 0: name:, IO:0x10bffc5980, len:0x34900, virt:0x7ffc5980, socket_id:0, flags:0 Zone 1: name:, IO:0x10bff77180, len:0x40180, virt:0x7ff77180, socket_id:0, flags:0 Zone 2: name:, IO:0x10bfc76600, len:0x580, virt:0x7fc76600, socket_

[dpdk-dev] [PATCH] app/testpmd: add missing args to TM show cap cmd

2018-01-28 Thread Tomasz Duszynski
Command used for querying node or level capabilities requires argument which specifies which set of capabilities to show. Thus trying to show node/level capabilities using current documentation will not work. Fix that by adding missing arguments to command documentation. Fixes: 5b590fbe09b6 ("app

Re: [dpdk-dev] [dpdk-stable] [PATCH v2] net/mlx4: fix port start fail after device removal

2018-01-28 Thread Shahaf Shuler
Hi Moti, Friday, January 19, 2018 12:17 PM, Moti Haimovsky > In failsafe device start can be called for ports/devices that had been plugged > out. > This patch fixes mlx4 port start failure when called by the failsafe PMD for > removed devices. I think the commit log not fully describes the issu

[dpdk-dev] [PATCH] net/mlx5: fix MTU update Changing the MTU is not related to changing the number of segments, activating or not the multi-segment support should be handled by the application.

2018-01-28 Thread Erez Ferber
This is a backport based on commit a0edafe4099b1ef139242abb7baa2c2a48b83fd2 Signed-off-by: Erez Ferber --- drivers/net/mlx5/mlx5_ethdev.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/mlx5/mlx5_ethdev.c b/drivers/net/mlx5/mlx5_ethdev.c index c0f73e9..f73d26e 1

[dpdk-dev] [PATCH] app/testpmd: add meter to the actions table

2018-01-28 Thread Tomasz Duszynski
Since METER action is supported by the testpmd application suitable entry should exist in flow actions information table. Without that testpmd will return error on adding a new flow to the list of flows attached to a given port. Signed-off-by: Tomasz Duszynski Acked-by: Jasvinder Singh --- app

Re: [dpdk-dev] [PATCH v2 2/4] net/mlx4: spawn rdma-core dependency plug-in

2018-01-28 Thread Shahaf Shuler
Sunday, January 28, 2018 1:18 PM, Marcelo Ricardo Leitner: > Hi Shahaf, > > On Sun, Jan 28, 2018 at 09:04:36AM +, Shahaf Shuler wrote: > > Hi Marcelo, > > > > Saturday, January 27, 2018 5:03 PM, Marcelo Ricardo Leitner: > > > On Fri, Jan 26, 2018 at 03:19:00PM +0100, Adrien Mazarguil wrote: >

Re: [dpdk-dev] [PATCH v2 2/4] net/mlx4: spawn rdma-core dependency plug-in

2018-01-28 Thread Marcelo Ricardo Leitner
Hi Shahaf, On Sun, Jan 28, 2018 at 09:04:36AM +, Shahaf Shuler wrote: > Hi Marcelo, > > Saturday, January 27, 2018 5:03 PM, Marcelo Ricardo Leitner: > > On Fri, Jan 26, 2018 at 03:19:00PM +0100, Adrien Mazarguil wrote: > > ... > > > +static int > > > +mlx4_glue_init(void) > > > +{ > > > + ch

[dpdk-dev] [PATCH v4] net/tap: add Rx interrupts

2018-01-28 Thread Moti Haimovsky
This patch adds support for registering and waiting for Rx interrupts. This allows applications to wait for Rx events from the PMD using the DPDK rte_epoll subsystem. Signed-off-by: Moti Haimovsky --- V4: Modified license in tap_intr.c to SPDX-License. V3: Fixed coding style warnings. V2: Modif

Re: [dpdk-dev] [PATCH v2] net/mlx4: fix no bcast rcv in promisc and allmulti

2018-01-28 Thread Shahaf Shuler
Sunday, January 28, 2018 11:44 AM, Mordechay Haimovsky: > This patch fixes the issue of mlx4 not receiving broadcast packets when > configured to work promiscuous or allmulticast modes. > > Fixes: eacaac7bae36 ("net/mlx4: restore promisc and allmulti support") > Cc: sta...@dpdk.org > > Signed-off

[dpdk-dev] [PATCH v2] net/mlx4: fix no bcast rcv in promisc and allmulti

2018-01-28 Thread Moti Haimovsky
This patch fixes the issue of mlx4 not receiving broadcast packets when configured to work promiscuous or allmulticast modes. Fixes: eacaac7bae36 ("net/mlx4: restore promisc and allmulti support") Cc: sta...@dpdk.org Signed-off-by: Moti Haimovsky --- drivers/net/mlx4/mlx4_flow.c | 16 --

Re: [dpdk-dev] [PATCH v2 2/4] net/mlx4: spawn rdma-core dependency plug-in

2018-01-28 Thread Shahaf Shuler
Hi Marcelo, Saturday, January 27, 2018 5:03 PM, Marcelo Ricardo Leitner: > On Fri, Jan 26, 2018 at 03:19:00PM +0100, Adrien Mazarguil wrote: > ... > > +static int > > +mlx4_glue_init(void) > > +{ > > + char file[] = "/tmp/" MLX4_DRIVER_NAME "_XX"; > > + int fd = mkstemp(file); > ... > > +