[dpdk-dev] [Bug 94] librte_acl library: First field in the rule definition can not be other types

2018-09-29 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=94 JIMI (wavespi...@sina.com) changed: What|Removed |Added Status|CONFIRMED |RESOLVED Resolution|---

[dpdk-dev] [Bug 94] librte_acl library: First field in the rule definition can not be other types

2018-09-29 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=94 Bug ID: 94 Summary: librte_acl library: First field in the rule definition can not be other types Product: DPDK Version: 16.04 Hardware: x86 OS: Linux St

Re: [dpdk-dev] [PATCH v5] net/i40e: config fdir automatically

2018-09-29 Thread Zhang, Qi Z
> -Original Message- > From: Xing, Beilei > Sent: Sunday, September 30, 2018 10:41 AM > To: Li, Xiaoyun ; Yigit, Ferruh > ; > Zhang, Qi Z ; dev@dpdk.org > Subject: RE: [PATCH v5] net/i40e: config fdir automatically > > > > > -Original Message- > > From: Li, Xiaoyun > > Sent:

[dpdk-dev] [PATCH v3] doc: add known issue about legacy intr mode for ixgbe

2018-09-29 Thread Xiaoyun Li
When using uio_pci_generic module or using legacy interrupt mode of igb_uio or vfio, X550 cannot get interrupts. Because the Interrupt Status bit is not implemented, then the irq cannot be handled correctly and cannot report the event fd to DPDK apps. Add this hw limitation and details into ixgbe

[dpdk-dev] [PATCH v2] doc: add known issue about legacy intr mode for ixgbe

2018-09-29 Thread Xiaoyun Li
When using uio_pci_generic module or using legacy interrupt mode of igb_uio or vfio, X550 cannot get interrupts. Because the Interrupt Status bit is not implemented, then the irq cannot be handled correctly and cannot report the event fd to DPDK apps. Add this hw limitation and details into ixgbe

Re: [dpdk-dev] [PATCH] doc: add known issue about legacy intr mode for ixgbe

2018-09-29 Thread Li, Xiaoyun
Hi > -Original Message- > From: Zhang, Qi Z > Sent: Sunday, September 30, 2018 10:25 > To: Li, Xiaoyun ; Xing, Beilei ; > dev@dpdk.org; Lu, Wenzhuo ; Wu, Jingjing > > Subject: RE: [PATCH] doc: add known issue about legacy intr mode for ixgbe > > > > > -Original Message- > > Fro

Re: [dpdk-dev] [PATCH v5] net/i40e: config fdir automatically

2018-09-29 Thread Xing, Beilei
> -Original Message- > From: Li, Xiaoyun > Sent: Sunday, September 30, 2018 10:30 AM > To: Yigit, Ferruh ; Zhang, Qi Z > ; Xing, Beilei ; dev@dpdk.org > Cc: Li, Xiaoyun > Subject: [PATCH v5] net/i40e: config fdir automatically > > I40e driver needed users to config exact fdir mode to c

[dpdk-dev] [PATCH v5] net/i40e: config fdir automatically

2018-09-29 Thread Xiaoyun Li
I40e driver needed users to config exact fdir mode to create rte_flow rules but it shouldn't. This patch allows users to create rte_flow rules without configuring fdir mode and let the driver config fdir automatically. And remove the workaround in flow filtering example. Signed-off-by: Xiaoyun Li

Re: [dpdk-dev] [PATCH] doc: add known issue about legacy intr mode for ixgbe

2018-09-29 Thread Zhang, Qi Z
> -Original Message- > From: Li, Xiaoyun > Sent: Thursday, September 27, 2018 5:17 PM > To: Xing, Beilei ; Zhang, Qi Z ; > dev@dpdk.org; Lu, Wenzhuo ; Wu, Jingjing > > Cc: Li, Xiaoyun > Subject: [PATCH] doc: add known issue about legacy intr mode for ixgbe > > When using uio_pci_gener

[dpdk-dev] [PATCH v4] net/i40e: config fdir automatically

2018-09-29 Thread Xiaoyun Li
I40e driver needed users to config exact fdir mode to create rte_flow rules but it shouldn't. This patch allows users to create rte_flow rules without configuring fdir mode and let the driver config fdir automatically. And remove the workaround in flow filtering example. Signed-off-by: Xiaoyun Li

Re: [dpdk-dev] [PATCH] ixgbe: wait longer for link after fiber MAC setup

2018-09-29 Thread Zhang, Qi Z
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] > Sent: Tuesday, July 17, 2018 12:36 AM > To: Lu, Wenzhuo ; Ananyev, Konstantin > > Cc: dev@dpdk.org; sta...@dpdk.org; Matthew Smith > Subject: [dpdk-dev] [PATCH] ixgbe: wait longer for link after fiber MAC setup > > After

Re: [dpdk-dev] [PATCH] drivers/net/i40e/:remove i40e_nvmupd_command redundant code

2018-09-29 Thread Zhang, Qi Z
Hi Han: > -Original Message- > From: Li Han [mailto:han@zte.com.cn] > Sent: Thursday, September 27, 2018 3:27 PM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Li Han > Subject: [PATCH] [dpdk-dev] drivers/net/i40e/:remove > i40e_nvmupd_command redundant code > > in function i40e_nvmupd_valid

Re: [dpdk-dev] [PATCH v5 07/10] examples/power: add json string handling

2018-09-29 Thread Yao, Lei A
> +#ifdef USE_JANSSON > +static int > +parse_json_to_pkt(json_t *element, struct channel_packet *pkt) > +{ > + const char *key; > + json_t *value; > + int ret; > + > + memset(pkt, 0, sizeof(struct channel_packet)); > + > + pkt->nb_mac_to_monitor = 0; > + pkt->t_boost_status.

Re: [dpdk-dev] [PATCH v2 5/7] hash: add extendable bucket feature

2018-09-29 Thread Honnappa Nagarahalli
> > > > > > > +/* Allocate same number of extendable buckets */ > > > > IMO, we are allocating too much memory to support this feature. > > > > Especially, > > > when we claim that keys ending up in the extendable table is a rare > > > occurrence. By doubling the memory we are effectively saying

[dpdk-dev] [PATCH 3/3] app/testpmd: add decap l3 command

2018-09-29 Thread Ori Kam
This commit introduce the decapsulation of L3 tunnels. L3 tunnels are tunnels that the inner packet is missing the L3 layer. This command uses the generic L3 decap command and decapsulate any tunnel by replacing the outer layers with the supplied L2. Signed-off-by: Ori Kam --- app/test-pmd/cmdli

[dpdk-dev] [PATCH 2/3] app/testpmd: add MPLSoGRE encapsulation

2018-09-29 Thread Ori Kam
Due to the complex encapsulation of MPLSoGRE flow action and based on the fact testpmd does not allocate memory, this patch adds a new command in testpmd to initialise a global structure containing the necessary information to make the outer layer of the packet. This same global structure will the

[dpdk-dev] [PATCH 0/3] app/testpmd: add l3 encap/decap cmd

2018-09-29 Thread Ori Kam
Currently testpmd have support only for encapsulation and decapsulation for L2 tunnels. This series adds commands for L3 tunnels types, L3 tunnel is a tunnel that the inner packet is missing the L2 part. The encapsulation uses the encap_l3 command in-order to remove the inner l2. For decapsulation

[dpdk-dev] [PATCH 1/3] app/testpmd: add MPLSoUDP encapsulation

2018-09-29 Thread Ori Kam
MPLSoUDP is an example for L3 tunnel encapsulation. Due to the complex encapsulation of MPLSoUDP flow action and based on the fact testpmd does not allocate memory, this patch adds a new command in testpmd to initialise a global structure containing the necessary information to make the outer laye

Re: [dpdk-dev] [PATCH] kni: implement header_ops parse method

2018-09-29 Thread Igor Ryzhov
It's just exact copy of eth_header_parse function from Linux kernel. No problem, can do that with ether_addr_copy. On Sat, Sep 29, 2018 at 10:22 AM Stephen Hemminger < step...@networkplumber.org> wrote: > On Thu, 27 Sep 2018 03:02:24 +0300 > Igor Ryzhov wrote: > > > +/* > > + * Extract hardwar

[dpdk-dev] [PATCH 4/4] drivers/crypto: enable meson support for the zuc

2018-09-29 Thread Hari Kumar Vemula
Added new meson.build file for ZUC Exported dependency library path through meson_options.txt file Signed-off-by: Hari Kumar Vemula --- drivers/crypto/meson.build | 2 +- drivers/crypto/zuc/meson.build | 18 ++ meson_options.txt | 2 ++ 3 files changed, 21 inse

[dpdk-dev] [PATCH 1/4] driver/crypto: enable meson support for the aesni gcm

2018-09-29 Thread Hari Kumar Vemula
Added new meson.build files for aesni_gcm Exported dependency library path through meson_options.txt file Signed-off-by: Hari Kumar Vemula --- drivers/crypto/aesni_gcm/meson.build | 17 + drivers/crypto/meson.build | 2 +- meson_options.txt| 2 ++

[dpdk-dev] [PATCH 2/4] drivers/crypto: enable meson support for the aesni mb

2018-09-29 Thread Hari Kumar Vemula
Added new meson.build file for aesni_mb Exported dependency library path through meson_options.txt file Signed-off-by: Hari Kumar Vemula --- drivers/crypto/aesni_mb/meson.build | 16 drivers/crypto/meson.build | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) c

[dpdk-dev] [PATCH 3/4] drivers/crypto: enable meson support for the kasumi

2018-09-29 Thread Hari Kumar Vemula
Added new meson.build file for KASUMI Exported dependency library path through meson_options.txt file Signed-off-by: Hari Kumar Vemula --- drivers/crypto/kasumi/meson.build | 18 ++ drivers/crypto/meson.build| 2 +- meson_options.txt | 2 ++ 3 files chan

[dpdk-dev] [PATCH 0/4] enable meson support for aesni_gcm, aesni_mb, kasumi and zuc

2018-09-29 Thread Hari Kumar Vemula
1/4: enablement of aesni_gcm pmd in meson 2/4: enablement of aesni_mb pmd in meson 3/4: enablement of kasumi pmd enable in meson 4/4: enablement of zuc pmd enable in meson Hari Kumar Vemula (4): driver/crypto: enable meson support for the aesni gcm drivers/crypto: enable meson support for the

Re: [dpdk-dev] [PATCH v3 2/2] test/event: fix Rx adapter intr autotest for skeleton PMD

2018-09-29 Thread Jerin Jacob
-Original Message- > Date: Tue, 25 Sep 2018 12:49:05 +0530 > From: Nikhil Rao > To: jerin.ja...@caviumnetworks.com > CC: dev@dpdk.org, Nikhil Rao > Subject: [PATCH v3 2/2] test/event: fix Rx adapter intr autotest for > skeleton PMD > X-Mailer: git-send-email 1.8.3.1 > > External Email >

Re: [dpdk-dev] [PATCH v3 1/2] test/event: fix eth Rx adapter autotest for skeleton PMD

2018-09-29 Thread Jerin Jacob
-Original Message- > Date: Tue, 25 Sep 2018 12:49:04 +0530 > From: Nikhil Rao > To: jerin.ja...@caviumnetworks.com > CC: dev@dpdk.org, Nikhil Rao , > vipin.vargh...@intel.com, sta...@dpdk.org > Subject: [PATCH v3 1/2] test/event: fix eth Rx adapter autotest for > skeleton PMD > X-Mailer:

Re: [dpdk-dev] [PATCH v3 3/3] ring: move the atomic load of head above the loop

2018-09-29 Thread Jerin Jacob
-Original Message- > Date: Mon, 17 Sep 2018 16:17:24 +0800 > From: Gavin Hu > To: dev@dpdk.org > CC: gavin...@arm.com, honnappa.nagaraha...@arm.com, steve.cap...@arm.com, > ola.liljed...@arm.com, jerin.ja...@caviumnetworks.com, n...@arm.com, > sta...@dpdk.org > Subject: [PATCH v3 3/3] ri

Re: [dpdk-dev] [PATCH v3 2/3] ring: synchronize the load and store of the tail

2018-09-29 Thread Jerin Jacob
-Original Message- > Date: Mon, 17 Sep 2018 16:17:23 +0800 > From: Gavin Hu > To: dev@dpdk.org > CC: gavin...@arm.com, honnappa.nagaraha...@arm.com, steve.cap...@arm.com, > ola.liljed...@arm.com, jerin.ja...@caviumnetworks.com, n...@arm.com, > sta...@dpdk.org > Subject: [PATCH v3 2/3] ri

Re: [dpdk-dev] [PATCH v3 1/3] ring: read tail using atomic load

2018-09-29 Thread Jerin Jacob
-Original Message- > Date: Mon, 17 Sep 2018 16:17:22 +0800 > From: Gavin Hu > To: dev@dpdk.org > CC: gavin...@arm.com, honnappa.nagaraha...@arm.com, steve.cap...@arm.com, > ola.liljed...@arm.com, jerin.ja...@caviumnetworks.com, n...@arm.com, > sta...@dpdk.org > Subject: [PATCH v3 1/3] ri

[dpdk-dev] [PATCH v3 20/22] net/atlantic: LED control DPDK and private APIs

2018-09-29 Thread Igor Russkikh
Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/Makefile | 4 +++ drivers/net/atlantic/atl_ethdev.c | 53 + drivers/net/atlantic/atl_ethdev.h | 3 ++ drivers/net/atlantic/meson.build| 3 ++ drivers

[dpdk-dev] [PATCH v3 22/22] net/atlantic: documentation and rel notes

2018-09-29 Thread Igor Russkikh
Signed-off-by: Igor Russkikh --- doc/guides/nics/atlantic.rst | 53 ++ doc/guides/nics/features/atlantic.ini | 37 doc/guides/nics/index.rst | 1 + doc/guides/rel_notes/release_18_11.rst | 5 4 files changed,

[dpdk-dev] [PATCH v3 21/22] net/atlantic: support for read MAC registers for debug purposes

2018-09-29 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers/net/atlantic/atl_ethdev.c index 90ab8d9c0b1d..c69b

[dpdk-dev] [PATCH v3 16/22] net/atlantic: flow control configuration

2018-09-29 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 54 +++ 1 file changed, 54 insertions(+) diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers/net/atlantic/atl_ethdev.c index 51e933a355

[dpdk-dev] [PATCH v3 19/22] net/atlantic: eeprom and register manipulation routines

2018-09-29 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 47 +++ 1 file changed, 47 insertions(+) diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers/net/atlantic/atl_ethdev.c index 792dd7be12

[dpdk-dev] [PATCH v3 18/22] net/atlantic: VLAN filters and offloads

2018-09-29 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 161 ++ drivers/net/atlantic/atl_types.h | 2 + 2 files changed, 163 insertions(+) diff --git a/drivers/net/atlantic/atl_ethdev.c b/drive

[dpdk-dev] [PATCH v3 15/22] net/atlantic: RSS and RETA manipulation API

2018-09-29 Thread Igor Russkikh
Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 107 ++ drivers/net/atlantic/atl_ethdev.h | 14 + drivers/net/atlantic/atl_rxtx.c | 5 ++ 3 files changed, 126 insertions(+) diff --git a/drivers/net/atl

[dpdk-dev] [PATCH v3 17/22] net/atlantic: MAC address manipulations

2018-09-29 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 126 ++ 1 file changed, 126 insertions(+) diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers/net/atlantic/atl_ethdev.c index 243020dc0

[dpdk-dev] [PATCH v3 12/22] net/atlantic: device statistics, xstats

2018-09-29 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 154 ++ drivers/net/atlantic/atl_ethdev.h | 1 + drivers/net/atlantic/atl_rxtx.c | 11 ++- drivers/net/atlantic/atl_types.h | 41 ++

[dpdk-dev] [PATCH v3 10/22] net/atlantic: TX side structures and implementation

2018-09-29 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 28 ++ drivers/net/atlantic/atl_ethdev.h | 7 + drivers/net/atlantic/atl_rxtx.c | 530 +- 3 files changed, 556 insertions(+), 9 deletions

[dpdk-dev] [PATCH v3 14/22] net/atlantic: promisc and allmulti configuration

2018-09-29 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 44 +++ 1 file changed, 44 insertions(+) diff --git a/drivers/net/atlantic/atl_ethdev.c b/drivers/net/atlantic/atl_ethdev.c index bc0cb3da1f

[dpdk-dev] [PATCH v3 13/22] net/atlantic: support for RX/TX descriptors information

2018-09-29 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 8 +++ drivers/net/atlantic/atl_ethdev.h | 12 drivers/net/atlantic/atl_rxtx.c | 125 ++ 3 files changed, 145 insertions(+) diff --

[dpdk-dev] [PATCH v3 11/22] net/atlantic: link status and interrupt management

2018-09-29 Thread Igor Russkikh
From: Pavel Belous Implement link interrupt, link info, link polling. Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 461 +- drivers/net/atlantic/atl_ethdev.h | 16 ++ drivers/net/atlantic/atl_rxtx.c | 3

[dpdk-dev] [PATCH v3 08/22] net/atlantic: TX/RX function prototypes

2018-09-29 Thread Igor Russkikh
From: Pavel Belous Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/Makefile | 1 + drivers/net/atlantic/atl_ethdev.c | 20 ++- drivers/net/atlantic/atl_ethdev.h | 15 ++ drivers/net/atlantic/atl_rxtx.c | 42 ++

[dpdk-dev] [PATCH v3 09/22] net/atlantic: RX side structures and implementation

2018-09-29 Thread Igor Russkikh
Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/Makefile | 2 +- drivers/net/atlantic/atl_ethdev.c | 71 + drivers/net/atlantic/atl_ethdev.h | 19 ++ drivers/net/atlantic/atl_rxtx.c | 616 +- 4 files changed, 702

[dpdk-dev] [PATCH v3 06/22] net/atlantic: b0 hardware layer main logic

2018-09-29 Thread Igor Russkikh
This is hw_atl logic layer derived from linux atlantic driver. It contains RX/TX hardware initialization sequences, various hw configuration. Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/Makefile| 1 + drivers/net/atlantic/atl_types.h

[dpdk-dev] [PATCH v3 07/22] net/atlantic: rte device start, stop, initial configuration

2018-09-29 Thread Igor Russkikh
From: Pavel Belous Start, stop and reset are all done via hw_atl layer. Link interrupt configuration is also done here. Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_ethdev.c | 196 -- drivers/net/atlantic/atl_ethdev.

[dpdk-dev] [PATCH v3 05/22] net/atlantic: firmware operations layer

2018-09-29 Thread Igor Russkikh
AQC NICs comes in fields with two major FW generations: 1x and 3x. This is part of linux atlantic driver shared code, responsible for internal NIC firmware interactions, including link management ops, FW initialization, various lifecycle features. Signed-off-by: Igor Russkikh Signed-off-by: Pave

[dpdk-dev] [PATCH v3 02/22] net/atlantic: logging macroes and some typedefs

2018-09-29 Thread Igor Russkikh
Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/atl_logs.h | 31 +++ drivers/net/atlantic/atl_types.h | 31 +++ 2 files changed, 62 insertions(+) create mode 100644 drivers/net/atlantic/atl_logs.h create

[dpdk-dev] [PATCH v3 01/22] net/atlantic: atlantic PMD driver skeleton

2018-09-29 Thread Igor Russkikh
From: Pavel Belous Makefile/meson build infrastructure, atl_ethdev minimal skeleton, header with aquantia aQtion NIC device and vendor IDs. Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- config/common_base| 5 + drivers/net/Makefile

[dpdk-dev] [PATCH v3 03/22] net/atlantic: hardware register access routines

2018-09-29 Thread Igor Russkikh
Signed-off-by: Igor Russkikh Signed-off-by: Pavel Belous --- drivers/net/atlantic/Makefile | 1 + drivers/net/atlantic/atl_hw_regs.c | 52 + drivers/net/atlantic/atl_hw_regs.h | 53 ++ drivers/net/atlantic/atl_types.h

[dpdk-dev] [PATCH v3 00/22] net/atlantic: Aquantia aQtion 10G NIC Family DPDK PMD driver

2018-09-29 Thread Igor Russkikh
Hello DPDK community! Aquantia would like to contribute PMD for aQtion AQC10X NIC family: https://www.aquantia.com/products/aqtion/chips/ These are 10G ethernet NICs with various features. We do base this work on parts of the existing native linux kernel driver source (atlantic). Shared code is h

Re: [dpdk-dev] [PATCH] net/mlx5: allow flow rule with attribute egress

2018-09-29 Thread Yongseok Koh
On Thu, Sep 27, 2018 at 05:25:30PM +0300, Dekel Peled wrote: > This patch complements [1], adding to MLX5 PMD the option to set > flow rule for egress traffic. > > [1] "net/mlx5: support metadata as flow rule criteria" > http://mails.dpdk.org/archives/dev/2018-September/113275.html > >

Re: [dpdk-dev] [PATCH v2] net/mlx5: support metadata as flow rule criteria

2018-09-29 Thread Yongseok Koh
On Thu, Sep 27, 2018 at 05:18:55PM +0300, Dekel Peled wrote: > As described in series starting at [1], it adds option to set > metadata value as match pattern when creating a new flow rule. > > This patch adds metadata support in mlx5 driver, in two parts: > - Add the setting of metadata value in

[dpdk-dev] [PATCH v3] net/i40e: select fdir config automatically

2018-09-29 Thread Xiaoyun Li
I40e driver needed users to config exact fdir mode to create rte_flow rules but it shouldn't. This patch allows users to create rte_flow rules without configuring fdir mode and let the driver select the config automatically. And remove the workaround in flow_filtering example. Signed-off-by: Xiaoy

Re: [dpdk-dev] [PATCH v2] net/i40e: select fdir config automatically

2018-09-29 Thread Li, Xiaoyun
> -Original Message- > From: Xing, Beilei > Sent: Saturday, September 29, 2018 16:37 > To: Li, Xiaoyun ; Zhang, Qi Z ; > Yigit, Ferruh > Cc: dev@dpdk.org > Subject: RE: [PATCH v2] net/i40e: select fdir config automatically > > > > > -Original Message- > > From: Li, Xiaoyun >

Re: [dpdk-dev] [PATCH v2] net/i40e: select fdir config automatically

2018-09-29 Thread Xing, Beilei
> -Original Message- > From: Li, Xiaoyun > Sent: Friday, September 28, 2018 7:03 PM > To: Xing, Beilei ; Zhang, Qi Z ; > Yigit, Ferruh > Cc: dev@dpdk.org; Li, Xiaoyun > Subject: [PATCH v2] net/i40e: select fdir config automatically > > I40e driver needed users to config exact fdir mod

[dpdk-dev] [PATCH 01/18] net/qede/base: upgrade to FW 8.37.7.0

2018-09-29 Thread Mody, Rasesh
This patch adds changes to base driver for upgrading to 8.37.3.0 FW. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/bcm_osal.h |1 + drivers/net/qede/base/common_hsi.h| 15 +- drivers/net/qede/base/ecore.h |5 +- drivers/net/qede/base/ecor

[dpdk-dev] [PATCH 16/18] net/qede/base: add APIs for dscp priority map configuration

2018-09-29 Thread Mody, Rasesh
Add APIs for dscp priority map configuration. APIs added are ecore_dcbx_get_dscp_priority(), ecore_dcbx_set_dscp_priority(). These base driver APIs can be used for dscp-map query/config. Configure the doorbell queue (DORQ) to use vlan-id/priority. Signed-off-by: Rasesh Mody --- drivers/net/qede

[dpdk-dev] [PATCH 17/18] net/qede/base: semantic changes

2018-09-29 Thread Mody, Rasesh
This patch consists of semantic/formatting changes. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_dcbx.c |3 ++- drivers/net/qede/base/ecore_init_ops.c | 12 - drivers/net/qede/base/ecore_int.c |3 ++- drivers/net/qede/base/ecore_int_api.h |3 ++- dri

[dpdk-dev] [PATCH 15/18] net/qede/base: add RL update params

2018-09-29 Thread Mody, Rasesh
Add 'rl_bc_stage_th','rl_timer_stage_th' and 'dcqcn_reset_alpha_on_idle' to RL update param as well as logs. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_sp_commands.c |8 +++- drivers/net/qede/base/ecore_sp_commands.h |3 +++ 2 files changed, 10 insertions(+), 1 deleti

[dpdk-dev] [PATCH 07/18] net/qede/base: add error handling for mutex allocation

2018-09-29 Thread Mody, Rasesh
Add error handling for mutex allocation failure Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_cxt.c | 11 +++ drivers/net/qede/base/ecore_vf.c | 19 ++- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/drivers/net/qede/base/ecore_cxt.c b/

[dpdk-dev] [PATCH 18/18] net/qede: bump PMD version to 2.10.0.1

2018-09-29 Thread Mody, Rasesh
Signed-off-by: Rasesh Mody --- drivers/net/qede/qede_ethdev.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/qede/qede_ethdev.h b/drivers/net/qede/qede_ethdev.h index 8a9df98..622bd01 100644 --- a/drivers/net/qede/qede_ethdev.h +++ b/drivers/net/qede/qede_ethde

[dpdk-dev] [PATCH 14/18] net/qede/base: changes for 100G

2018-09-29 Thread Mody, Rasesh
Change details: - Get engine affinity from the management FW and configure accordingly - Add an LLH filter with the primary MAC address in QPAR/NPAR - Move some of the LLH APIs around - Add PPFID APIs - Update all allocated ppfids with the same value for the following PORT_PF registers:

[dpdk-dev] [PATCH 13/18] net/qede/base: enable control frame filtering

2018-09-29 Thread Mody, Rasesh
Enable control frame filtering for non-trusted VFs. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_l2.c |5 + drivers/net/qede/base/ecore_l2_api.h |5 - drivers/net/qede/base/ecore_sriov.c |4 +++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git

[dpdk-dev] [PATCH 06/18] net/qede/base: add mf-bit/API for FIP special mode

2018-09-29 Thread Mody, Rasesh
Add mf-bit/API for FIP special mode. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore.h |3 +++ drivers/net/qede/base/ecore_dev.c |8 +++- drivers/net/qede/base/ecore_dev_api.h |9 + 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/driv

[dpdk-dev] [PATCH 05/18] net/qede/base: add API to update FW RSS indirection table

2018-09-29 Thread Mody, Rasesh
Added ecore_update_eth_rss_ind_table_entry() api to update FW RSS indirection table entry according to new interface of FW 8.37.x.x. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_l2.c | 52 ++ drivers/net/qede/base/ecore_l2_api.h | 24

[dpdk-dev] [PATCH 12/18] net/qede/base: get pre-negotiated OEM values

2018-09-29 Thread Mody, Rasesh
Request management FW for OEM values, which are negotiated prior to the driver load by sending the GET_OEM_UPDATES command after both engines are initialized. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_dev.c | 14 ++ drivers/net/qede/base/mcp_public.h |8 ++

[dpdk-dev] [PATCH 11/18] net/qede/base: add periodic Doorbell Recovery support

2018-09-29 Thread Mody, Rasesh
Add support for periodic Doorbell Recovery. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/bcm_osal.h |1 + drivers/net/qede/base/ecore_int.c | 37 + drivers/net/qede/base/ecore_int_api.h | 11 ++ 3 files changed, 31 insertions(+), 1

[dpdk-dev] [PATCH 04/18] net/qede/base: workaround to indicate SHMEM data ready

2018-09-29 Thread Mody, Rasesh
The driver can notify that there was an MCP reset and read the SHMEM values before the management FW has completed initializing them. As a temporary solution, the "sup_msgs" field is used as a SHMEM data ready indication. This should be replaced with an actual indication when it is provided by the

[dpdk-dev] [PATCH 10/18] net/qede/base: add support for SRIOV VF min rate

2018-09-29 Thread Mody, Rasesh
Add support for SRIOV vf min rate configuration. Fix return code for ecore_iov_get_vf_min_rate(). Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_iov_api.h | 10 ++ drivers/net/qede/base/ecore_sriov.c | 28 +++- 2 files changed, 37 insertions(+),

[dpdk-dev] [PATCH 03/18] net/qede/base: add DPC sync after PF stop

2018-09-29 Thread Mody, Rasesh
Add DPC sync after stopping the physical funciton to allow clean up of asyncronous events. Post this the driver don't expect the FW to send async events. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_dev.c |6 ++ drivers/net/qede/base/ecore_spq.c | 12 ++-- 2 files

[dpdk-dev] [PATCH 09/18] net/qede/base: add pretend function for port/PF

2018-09-29 Thread Mody, Rasesh
Add a pretend function for port/PF, pretend to another port and another function when accessing the ptt window Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_hw.c | 24 drivers/net/qede/base/ecore_hw.h | 12 2 files changed, 36 insertions(+)

[dpdk-dev] [PATCH 02/18] net/qede/base: check for EDPM enabled in DB recovery

2018-09-29 Thread Mody, Rasesh
Add a check for EDPM enabled before flushing doorbell recovery queue. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore.h |2 ++ drivers/net/qede/base/ecore_dev.c | 10 +- drivers/net/qede/base/ecore_int.c | 20 +--- 3 files changed, 28 insertions(+),

[dpdk-dev] [PATCH 08/18] net/qede/base: adjust queue manager idx greater than max

2018-09-29 Thread Mody, Rasesh
Modified queue manager getter APIs to cycle through their range if index is higher than max. This prevents accessing index out of bounds. Signed-off-by: Rasesh Mody --- drivers/net/qede/base/ecore_dev.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/drivers

[dpdk-dev] [PATCH 00/18] net/qede: base driver update

2018-09-29 Thread Mody, Rasesh
This patch set updates the base driver to use FW 8.37.7.0 and adds support for other base driver functionalities. It also updates the PMD version to 2.10.0.1. Rasesh Mody (18): net/qede/base: upgrade to FW 8.37.7.0 net/qede/base: check for EDPM enabled in DB recovery net/qede/base: add DPC s

Re: [dpdk-dev] [PATCH] kni: implement header_ops parse method

2018-09-29 Thread Stephen Hemminger
On Thu, 27 Sep 2018 03:02:24 +0300 Igor Ryzhov wrote: > +/* > + * Extract hardware address from packet > + */ > +static int > +kni_net_header_parse(const struct sk_buff *skb, unsigned char *haddr) > +{ > + const struct ethhdr *eth = eth_hdr(skb); > + > + memcpy(haddr, eth->h_source, ETH_

Re: [dpdk-dev] [PATCH v3 3/3] ring: move the atomic load of head above the loop

2018-09-29 Thread Stephen Hemminger
On Wed, 26 Sep 2018 10:06:36 + Justin He wrote: > Reviewed-by: Jia He > > Cheers, > Justin (Jia He) > IMPORTANT NOTICE: The contents of this email and any attachments are > confidential and may also be privileged. If you are not the intended > recipient, please notify the sender immediate