Re: [dpdk-dev] Announcement of SSE requirement change in dpdk

2017-08-11 Thread Jay Rolette
On Fri, Aug 11, 2017 at 3:29 PM, Bruce Richardson < bruce.richard...@intel.com> wrote: > On Wed, Aug 09, 2017 at 04:21:32PM -0400, Neil Horman wrote: > > Can anyone point out to me when and where the change to require SSE4.2 > was > > dicussed? The first I saw of it was when the commit to the rel

Re: [dpdk-dev] Announcement of SSE requirement change in dpdk

2017-08-11 Thread Bruce Richardson
On Wed, Aug 09, 2017 at 04:21:32PM -0400, Neil Horman wrote: > Can anyone point out to me when and where the change to require SSE4.2 was > dicussed? The first I saw of it was when the commit to the release notes went > in on August 3, and I can find no prior mention of it, save for the patches >

[dpdk-dev] [PATCH] kni: fix SLE version detection

2017-08-11 Thread Nirmoy Das
detect SLE version reverse chronologically as ">=" is being used. Signed-off-by: Nirmoy Das --- lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h | 24 +++ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h b/lib

Re: [dpdk-dev] [PATCH 0/2] net/softnic: sw fall-back for traffic management

2017-08-11 Thread Dumitrescu, Cristian
> -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Friday, August 11, 2017 4:28 PM > To: Singh, Jasvinder > Cc: dev@dpdk.org; Dumitrescu, Cristian ; > Yigit, Ferruh ; hemant.agra...@nxp.com; > jerin.jacobkollanukka...@cavium.com; Lu, Wenzhuo > > S

Re: [dpdk-dev] [PATCH 0/2] net/softnic: sw fall-back for traffic management

2017-08-11 Thread Stephen Hemminger
On Fri, 26 May 2017 19:11:47 +0100 Jasvinder Singh wrote: > The SoftNIC PMD provides SW fall-back option for the NICs not supporting > the Traffic Management (TM) features. > > SoftNIC PMD overview: > - The SW fall-back is based on the existing librte_sched DPDK library. > - The TM-agnostic por

[dpdk-dev] [PATCH] nfp: fix rx interrupt when multiqueue

2017-08-11 Thread Alejandro Lucero
intr_vec was not properly configured. This is not a problem when just one queue is supported but it fails with multiqueue. Some minor refactoring also done for hardware interrupt configuration. Fixes: ea121b28316d ("net/nfp: add Rx interrupts") Signed-off-by: Alejandro Lucero --- drivers/net/n

[dpdk-dev] [PATCH] nfp: support new medatada api

2017-08-11 Thread Alejandro Lucero
We need to support how metadata was handled and the new api, which will allow to work with different metadata types and data dynamically. Although this patch just supports one type handled by the PMD. Future uses regarding firmware apps will extend this support. Signed-off-by: Alejandro Lucero -

[dpdk-dev] [PATCH] nfp: fix rss

2017-08-11 Thread Alejandro Lucero
Redirection table was not being updated properly. There is also a problem when configuring RSS. Fixes: 934e4c60fbff ("nfp: add RSS") Signed-off-by: Alejandro Lucero --- drivers/net/nfp/nfp_net.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/net/nfp/nfp_net

Re: [dpdk-dev] [PATCH v4 0/6] Reproducible build

2017-08-11 Thread Luca Boccassi
On Wed, 2017-06-28 at 17:04 +0100, Bruce Richardson wrote: > On Wed, Jun 28, 2017 at 08:57:33AM -0700, Stephen Hemminger wrote: > > On Wed, 28 Jun 2017 14:56:56 +0100 > > wrote: > > > > > From: Luca Boccassi > > > > > > In the past couple of years a concerted effort among almost all > > > Linux

[dpdk-dev] [PATCH v3 4/4] net/softnic: add TM hierarchy related ops

2017-08-11 Thread Jasvinder Singh
Implement ethdev TM hierarchy related APIs in SoftNIC PMD. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- v3 changes: - add dynamnic update ops, tm stats ops - add wred congestion mangement ops - imporve hierarchy commit ops implementation - add more checks to all the ops

[dpdk-dev] [PATCH v3 0/4] net/softnic: sw fall-back pmd for traffic mgmt and others

2017-08-11 Thread Jasvinder Singh
The SoftNIC PMD is intended to provide SW fall-back options for specific ethdev APIs in a generic way to the NICs not supporting those features. Currently, the only implemented ethdev API is Traffic Management (TM), but other ethdev APIs such as rte_flow, traffic metering & policing, etc can be ea

[dpdk-dev] [PATCH v3 2/4] net/softnic: add traffic management support

2017-08-11 Thread Jasvinder Singh
Add ethdev Traffic Management API support to SoftNIC PMD. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- v3 changes: - add more confguration parameters (tm rate, tm queue sizes) drivers/net/softnic/Makefile| 1 + drivers/net/softnic/rte_eth_softnic.

[dpdk-dev] [PATCH v3 1/4] net/softnic: add softnic PMD

2017-08-11 Thread Jasvinder Singh
Add SoftNIC PMD to provide SW fall-back for ethdev APIs. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- v3 changes: - rebase to dpdk17.08 release v2 changes: - fix build errors - rebased to TM APIs v6 plus dpdk master MAINTAINERS |

[dpdk-dev] [PATCH v3 3/4] net/softnic: add TM capabilities ops

2017-08-11 Thread Jasvinder Singh
Implement ethdev TM capability APIs in SoftNIC PMD. Signed-off-by: Cristian Dumitrescu Signed-off-by: Jasvinder Singh --- drivers/net/softnic/rte_eth_softnic.c | 12 +- drivers/net/softnic/rte_eth_softnic_internals.h | 32 ++ drivers/net/softnic/rte_eth_softnic_tm.c| 500 +++

Re: [dpdk-dev] [PATCH] atm: Remove machine definition

2017-08-11 Thread Neil Horman
On Thu, Aug 10, 2017 at 04:40:37PM +0100, Bruce Richardson wrote: > On Thu, Aug 10, 2017 at 11:15:27AM -0400, Neil Horman wrote: > > On Thu, Aug 10, 2017 at 02:04:00PM +, Richardson, Bruce wrote: > > > > > > > > > > -Original Message- > > > > From: Neil Horman [mailto:nhor...@tuxdrive

[dpdk-dev] [PATCH] nfp: write mac address to configuration bar

2017-08-11 Thread Alejandro Lucero
If not a valid mac present in configuration bar, PMD creates a random one. It needs to be passed to the NIC. Signed-off-by: Alejandro Lucero --- drivers/net/nfp/nfp_net.c | 18 +- drivers/net/nfp/nfp_net_pmd.h | 5 + 2 files changed, 22 insertions(+), 1 deletion(-) diff

[dpdk-dev] [PATCH] nfp: handle packets with length 0 as usual ones

2017-08-11 Thread Alejandro Lucero
A DPDK app could, whatever the reason, send packets with size 0. The PMD is not sending those packets, which does make sense, but the problem is the mbuf is not released either. That leads to mbufs not being available, because the app trusts the PMD will do it. Although this is a problem related t

Re: [dpdk-dev] [PATCH 1/2] eventdev: add event adapter for ethernet Rx queues

2017-08-11 Thread Jerin Jacob
-Original Message- > Date: Fri, 11 Aug 2017 10:55:38 +0530 > From: "Rao, Nikhil" > To: Jerin Jacob > CC: gage.e...@intel.com, dev@dpdk.org, tho...@monjalon.net, > bruce.richard...@intel.com, harry.van.haa...@intel.com, > hemant.agra...@nxp.com, nipun.gu...@nxp.com, narender.vang...@inte

[dpdk-dev] [PATCH] eal: add counter size for efd clean

2017-08-11 Thread Jingjing Wu
For virtual device, the rte_intr_handle struct is initialized by the virtual device driver, including the event fd assignment. If the event fd need to be read for clean, an argument is required for the reading. This patch adds efd_counter_size in rte_intr_handle struct to tell the rx interrupt pro