Re: [dpdk-dev] [PATCH v5] net/ixgbe: add flow parser ntuple support

2018-01-07 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Lu, Wenzhuo > Sent: Friday, January 5, 2018 3:58 PM > To: Zhao1, Wei; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5] net/ixgbe: add flow parser ntuple support > > Hi, > > > -Original Message- > > From

Re: [dpdk-dev] [PATCH 9/9] tools: use SPDX tag for Cavium copyright files

2018-01-07 Thread Hemant Agrawal
On 1/6/2018 5:50 PM, Jerin Jacob wrote: Signed-off-by: Jerin Jacob --- devtools/build-tags.sh | 30 ++ 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/devtools/build-tags.sh b/devtools/build-tags.sh index 942da2bae..d775b17e9 100755 --- a/devtools/buil

[dpdk-dev] [Bug 7] mlx4 PMD does not receive broadcast packets in promiscuous mode.

2018-01-07 Thread bugzilla
https://dpdk.org/tracker/show_bug.cgi?id=7 Bug ID: 7 Summary: mlx4 PMD does not receive broadcast packets in promiscuous mode. Product: DPDK Version: 17.11 Hardware: All OS: Linux Status: CONFIRM

Re: [dpdk-dev] [PATCH v2 01/20] crypto/ccp: add AMD ccp crypto pmd support

2018-01-07 Thread Hemant Agrawal
Hi Ravi, On 1/5/2018 3:09 PM, Ravi Kumar wrote: diff --git a/drivers/crypto/ccp/Makefile b/drivers/crypto/ccp/Makefile new file mode 100644 index 000..51c5e5b --- /dev/null +++ b/drivers/crypto/ccp/Makefile @@ -0,0 +1,55 @@ +# +# Copyright(c) 2018 Advanced Micro Devices, Inc. +# All righ

Re: [dpdk-dev] [PATCH v3 0/2] support PPPoE and L2TP packet types

2018-01-07 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Beilei Xing > Sent: Thursday, January 4, 2018 6:46 PM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Wu, Jingjing; Chilikin, Andrey > Subject: [dpdk-dev] [PATCH v3 0/2] support PPPoE and L2TP packet types > > v3 changes:

Re: [dpdk-dev] [PATCH v2] net/i40e: enable VF Tx offload

2018-01-07 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Zhang, Qi Z > Sent: Wednesday, December 27, 2017 4:29 PM > To: Xing, Beilei > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: enable VF Tx offload > > > > > -Original Message- > > From:

[dpdk-dev] [PATCH v2 0/6] ethdev: port ownership

2018-01-07 Thread Matan Azrad
Add ownership mechanism to DPDK Ethernet devices to avoid multiple management of a device by different DPDK entities. V2: Synchronize ethdev port creation. Synchronize port ownership mechanism. Rename owner remove API to rte_eth_dev_owner_unset. Remove "ethdev: free a port by a dedicated API" p

[dpdk-dev] [PATCH v2 1/6] ethdev: fix port data reset timing

2018-01-07 Thread Matan Azrad
rte_eth_dev_data structure is allocated per ethdev port and can be used to get a data of the port internally. rte_eth_dev_attach_secondary tries to find the port identifier using rte_eth_dev_data name field comparison and may get an identifier of invalid port in case of this port was released by t

[dpdk-dev] [PATCH v2 2/6] ethdev: add port ownership

2018-01-07 Thread Matan Azrad
The ownership of a port is implicit in DPDK. Making it explicit is better from the next reasons: 1. It will define well who is in charge of the port usage synchronization. 2. A library could work on top of a port. 3. A port can work on top of another port. Also in the fail-safe case, an issue has

[dpdk-dev] [PATCH v2 3/6] ethdev: synchronize port allocation

2018-01-07 Thread Matan Azrad
Ethernet port allocation was not thread safe, means 2 threads which tried to allocate a new port at the same time might get an identical port identifier and caused to memory overwrite. Actually, all the port configurations were not thread safe from ethdev point of view. The port ownership mechanis

[dpdk-dev] [PATCH v2 4/6] net/failsafe: free an eth port by a dedicated API

2018-01-07 Thread Matan Azrad
Call dedicated ethdev API to free port in remove time as was done in other fail-safe places. Signed-off-by: Matan Azrad --- drivers/net/failsafe/failsafe_ether.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/failsafe/failsafe_ether.c b/drivers/net/failsafe/fail

[dpdk-dev] [PATCH v2 6/6] app/testpmd: adjust ethdev port ownership

2018-01-07 Thread Matan Azrad
Testpmd should not use ethdev ports which are managed by other DPDK entities. Set Testpmd ownership to each port which is not used by other entity and prevent any usage of ethdev ports which are not owned by Testpmd. Signed-off-by: Matan Azrad --- app/test-pmd/cmdline.c | 88 ++

[dpdk-dev] [PATCH v2 5/6] net/failsafe: use ownership mechanism to own ports

2018-01-07 Thread Matan Azrad
Fail-safe PMD sub devices management is based on ethdev port mechanism. So, the sub-devices management structures are exposed to other DPDK entities which may use them in parallel to fail-safe PMD. Use the new port ownership mechanism to avoid multiple managments of fail-safe PMD sub-devices. Sig

Re: [dpdk-dev] [PATCH v3 1/6] ethdev: add devop to check removal status

2018-01-07 Thread Thomas Monjalon
19/12/2017 18:10, Matan Azrad: > There is time between the physical removal of the device until PMDs get > a RMV interrupt. At this time DPDK PMDs and applications still don't > know about the removal. > > Current removal detection is achieved only by registration to device RMV > event and the not

Re: [dpdk-dev] [PATCH v3 4/6] ethdev: adjust APIs removal error report

2018-01-07 Thread Thomas Monjalon
19/12/2017 18:10, Matan Azrad: > rte_eth_dev_is_removed API was added to detect a device removal > synchronously. > > When a device removal occurs during control command execution, many > different errors can be reported to the user. > > Adjust all ethdev APIs error reports to return -EIO in case

Re: [dpdk-dev] [PATCH v2 3/6] ethdev: synchronize port allocation

2018-01-07 Thread Matan Azrad
Self-review. > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Matan Azrad > Sent: Sunday, January 7, 2018 11:46 AM > To: Thomas Monjalon ; Gaetan Rivet > ; Jingjing Wu > Cc: dev@dpdk.org; Neil Horman ; Bruce > Richardson ; Konstantin Ananyev > > Subject: [dpdk-

Re: [dpdk-dev] [PATCH v3 5/6] ethdev: adjust flow APIs removal error report

2018-01-07 Thread Thomas Monjalon
19/12/2017 18:10, Matan Azrad: > rte_eth_dev_is_removed API was added to detect a device removal > synchronously. > > When a device removal occurs during flow command execution, many > different errors can be reported to the user. > > Adjust all flow APIs error reports to return -EIO in case of d

Re: [dpdk-dev] [PATCH v5] net/i40e: support mac loopback

2018-01-07 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Xing, Beilei > Sent: Tuesday, January 2, 2018 10:47 AM > To: Wu, Yanglong; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v5] net/i40e: support mac loopback > > > > -Original Message- > > From: Wu, Yanglo

[dpdk-dev] [PATCH] net/mlx4: fix no broadcasts reception in promisc

2018-01-07 Thread Moti Haimovsky
This patch fixes the issue of mlx4 not receiving broadcast packets when configured to work promiscuous mode. 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 1 file ch

Re: [dpdk-dev] [PATCH] net/mlx5: fix HW checksum offload for outer IP

2018-01-07 Thread Shahaf Shuler
Wednesday, January 3, 2018 10:30 AM, Nelio Laranjeiro: > Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix HW checksum offload for > outer IP > > On Wed, Jan 03, 2018 at 12:06:22AM -0800, Yongseok Koh wrote: > > Checking HW checksum offload flag for outer IP is missing. If flag is > > set for only out

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/mlx5: fix un-supported RSS hash fields use

2018-01-07 Thread Shahaf Shuler
Wednesday, January 3, 2018 11:14 AM, Nelio Laranjeiro > Subject: [dpdk-stable] [PATCH] net/mlx5: fix un-supported RSS hash fields > use > > MLX5 NIC does not support all hash fields, this patch limit by refusing > impossible RSS combination to avoid errors. > > Fixes: 2f97422e7759 ("mlx5: suppor

Re: [dpdk-dev] [PATCH 1/3] app/testpmd: metering and policing CLI clean up

2018-01-07 Thread Wu, Jingjing
> -Original Message- > From: Singh, Jasvinder > Sent: Tuesday, November 21, 2017 12:39 AM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; Wu, Jingjing > ; Mcnamara, John > Subject: [PATCH 1/3] app/testpmd: metering and policing CLI clean up > > This patch updates the metering and polici

Re: [dpdk-dev] [PATCH 2/3] app/testpmd: add CLI for metering and policing API

2018-01-07 Thread Wu, Jingjing
> -Original Message- > From: Singh, Jasvinder > Sent: Tuesday, November 21, 2017 12:39 AM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; Wu, Jingjing > ; Mcnamara, John > Subject: [PATCH 2/3] app/testpmd: add CLI for metering and policing API > > Add following CLIs to testpmd applicati

Re: [dpdk-dev] [PATCH v4 15/15] doc: update doc for avf driver

2018-01-07 Thread Zhang, Helin
Is there any public spec? If yes, I'd suggest to add the link to a doc for reference. /Helin > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Friday, January 5, 2018 4:22 PM > To: dev@dpdk.org > Cc: Wu, Jingjing > Subject: [dpdk-dev] [PATCH v

Re: [dpdk-dev] [PATCH v2 04/10] app/testpmd: convert to new Ethdev Tx offloads API

2018-01-07 Thread Shahaf Shuler
Friday, January 5, 2018 8:11 PM, Maciej Czekaj: >If the intention is to keep defaults from PMD, let's fix this... >If not, please apply FAST_FREE flag as in example patch v3, e.g: > >+rte_eth_dev_info_get(portid, &dev_info); >+if (dev_info.tx_offload_capa & DEV_TX_OFFLOAD_MBUF_FAS

Re: [dpdk-dev] [PATCH] net/ixgbe: removed ipsec keys from private data

2018-01-07 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Declan Doherty > Sent: Wednesday, December 13, 2017 5:44 PM > To: Nicolau, Radu; dev@dpdk.org > Cc: Ananyev, Konstantin; Lu, Wenzhuo > Subject: Re: [dpdk-dev] [PATCH] net/ixgbe: removed ipsec keys from private > d

Re: [dpdk-dev] [PATCH v4] net/ixgbe: fix l3fwd start failed on PF

2018-01-07 Thread Zhang, Helin
Hi Yanglong Please follow the comments, and get all of them well addressed. My comments is you need to use in-reply-to when you send any updated versions of a patch. Regards, Helin > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ananyev, > Konstantin > Sent: M

Re: [dpdk-dev] [PATCH] net/i40e: move RSS to flow API

2018-01-07 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Zhang, Qi Z > Sent: Friday, December 22, 2017 12:36 PM > To: Zhao1, Wei; dev@dpdk.org > Cc: Zhao1, Wei > Subject: Re: [dpdk-dev] [PATCH] net/i40e: move RSS to flow API > > Hi Wei: > > Please check my comme

Re: [dpdk-dev] [PATCH v2] doc: add queue region feature info to release notes

2018-01-07 Thread Zhang, Helin
Hi John Could you help to review with ACK or comments? :) Hi Wei 'Git am' failure is as below. Please fix it on dpdk-next-net-intel sub tree. Thanks! Description: [dpdk-dev,v2] doc: add queue region feature info to release notes Applying: doc: add queue region feature info to release notes err

Re: [dpdk-dev] [DPDK] lib/librte_ether: add comments RSS flags

2018-01-07 Thread Thomas Monjalon
07/01/2018 07:32, Shahaf Shuler: > Saturday, January 6, 2018 12:22 PM, Andrew Rybchenko: > > [..] > > > > #define ETH_RSS_PORT (1ULL << RTE_ETH_FLOW_PORT) > > > +/** Enable RSS offload on VXLAN packets */ > > > #define ETH_RSS_VXLAN (1ULL << RTE_ETH_FLOW_VXLAN) > >

Re: [dpdk-dev] [PATCH] maintainers: claim the maintainership of a sub tree

2018-01-07 Thread Thomas Monjalon
07/01/2018 03:26, Helin Zhang: > +Intel Networking Drivers > +M: Helin Zhang > +T: git://dpdk.org/next/dpdk-next-net-intel I think you should just add the T: line in every section instead of creating a new overlapping section. Thanks > +F: drivers/net/e1000 > +F: drivers/net/ixgbe > +F: drivers/

[dpdk-dev] [PATCH v3] eal/x86: get hypervisor name

2018-01-07 Thread Thomas Monjalon
The CPUID instruction is caught by hypervisor which can return a flag indicating one is running, and its name. Suggested-by: Stephen Hemminger Signed-off-by: Thomas Monjalon Acked-by: Jerin Jacob --- v3 changes: - better CPUID flag description v2 changes: - remove C99 style decl

Re: [dpdk-dev] [PATCH v4 01/15] net/avf/base: add base code for avf PMD

2018-01-07 Thread Lu, Wenzhuo
Hi Stephen, > -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Saturday, January 6, 2018 4:26 AM > To: Lu, Wenzhuo > Cc: dev@dpdk.org; Wu, Jingjing > Subject: Re: [dpdk-dev] [PATCH v4 01/15] net/avf/base: add base code for avf > PMD > > O > > diff

Re: [dpdk-dev] [PATCH v4 1/2] gro: code cleanup

2018-01-07 Thread Yao, Lei A
> -Original Message- > From: Hu, Jiayu > Sent: Friday, January 5, 2018 2:13 PM > To: dev@dpdk.org > Cc: Richardson, Bruce ; Chen, Junjie J > ; Tan, Jianfeng ; > step...@networkplumber.org; Yigit, Ferruh ; > Ananyev, Konstantin ; Yao, Lei A > ; Hu, Jiayu > Subject: [PATCH v4 1/2] gro: cod

Re: [dpdk-dev] [PATCH] maintainers: claim the maintainership of a sub tree

2018-01-07 Thread Zhang, Helin
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Monday, January 8, 2018 4:50 AM > To: Zhang, Helin > Cc: dev@dpdk.org; Yigit, Ferruh > Subject: Re: [PATCH] maintainers: claim the maintainership of a sub tree > > 07/01/2018 03:26, Helin Zhang: > > +Intel

Re: [dpdk-dev] [PATCH v2] net/i40e: exclude LLDP packet count

2018-01-07 Thread Xing, Beilei
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, December 12, 2017 2:10 AM > To: Xing, Beilei > Cc: dev@dpdk.org; Zhang, Qi Z > Subject: [PATCH v2] net/i40e: exclude LLDP packet count > > When use port stats register to calculate the packet count, LLDP packets are > counted in

Re: [dpdk-dev] [PATCH] net/i40e: move RSS to flow API

2018-01-07 Thread Zhao1, Wei
Yes, I will commit a new version today. > -Original Message- > From: Zhang, Helin > Sent: Sunday, January 7, 2018 11:43 PM > To: Zhang, Qi Z ; Zhao1, Wei ; > dev@dpdk.org > Cc: Zhao1, Wei > Subject: RE: [dpdk-dev] [PATCH] net/i40e: move RSS to flow API > > > > > -Original Message--

Re: [dpdk-dev] [PATCH v2] doc: add queue region feature info to release notes

2018-01-07 Thread Zhao1, Wei
Hi, helin > -Original Message- > From: Zhang, Helin > Sent: Sunday, January 7, 2018 11:52 PM > To: Zhao1, Wei ; Mcnamara, John > > Cc: Zhao1, Wei ; dev@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v2] doc: add queue region feature info to > release notes > > Hi John > > Could you help to r

Re: [dpdk-dev] [PATCH v4 02/15] net/avf: initialization of avf PMD

2018-01-07 Thread Lu, Wenzhuo
Hi Stephen, > -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Saturday, January 6, 2018 4:30 AM > To: Lu, Wenzhuo > Cc: dev@dpdk.org; Wu, Jingjing > Subject: Re: [dpdk-dev] [PATCH v4 02/15] net/avf: initialization of avf PMD > > On Fri, 5 Jan 20

Re: [dpdk-dev] [PATCH 1/2] eal/arm64: modify I/O device memory barriers

2018-01-07 Thread Jianbo Liu
The 12/26/2017 20:28, Yongseok Koh wrote: > Instead of using system-wide 'dsb' instruction for IO barriers, 'dmb' is > sufficient and could bring better performance. Using 'dmb' with Outer > Shareable Domain option is also consistent with linux kernel. But in kernel dsb is used for io barriers. ht

Re: [dpdk-dev] [PATCH v4 15/15] doc: update doc for avf driver

2018-01-07 Thread Lu, Wenzhuo
Hi Helin, > -Original Message- > From: Zhang, Helin > Sent: Sunday, January 7, 2018 11:09 PM > To: Lu, Wenzhuo ; dev@dpdk.org > Cc: Wu, Jingjing > Subject: RE: [dpdk-dev] [PATCH v4 15/15] doc: update doc for avf driver > > Is there any public spec? If yes, I'd suggest to add the link to

[dpdk-dev] [PATCH v5] net/ixgbe: fix l3fwd start failed on

2018-01-07 Thread Yanglong Wu
L3fwd start failed on PF, for tx_q check failed. That occurred when the SRIOV is active and tx_q > rx_q. The tx_q is equal to nb_q_per_pool. The number of nb_q_per_pool should equeal to max number of queues supported by HW not nb_rx_q. Fixes: 27b609cbd1c6 (ethdev: move the multi-queue mode check t

[dpdk-dev] [PATCH v8 1/2] net/i40e: support input set configuration

2018-01-07 Thread Beilei Xing
This patch supports getting/setting input set info for RSS/FDIR/FDIR flexible payload. Also add some helper functions for input set configuration. Signed-off-by: Beilei Xing Acked-by: Qi Zhang --- drivers/net/i40e/rte_pmd_i40e.c | 141 ++ drivers/net/i40e/r

[dpdk-dev] [PATCH v8 0/2] support input set configuration

2018-01-07 Thread Beilei Xing
The patchset adds support RSS/FDIR/FDIR flexible payload input set configuration for some pctype. v8 changes: - Add info if NIC doesn't support the function. v7 changes: - Add info if NIC doesn't support the function. - Add doc in testpmd_funcs.rst for the new CLIs. v6 changes: - Fix DPDK v

[dpdk-dev] [PATCH v8 2/2] app/testpmd: add configuration for input set

2018-01-07 Thread Beilei Xing
This patch adds command to configure input set for RSS/flow director/flow director flexible payload. Signed-off-by: Beilei Xing --- app/test-pmd/cmdline.c | 242 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 16 ++ 2 files changed, 258 insertion

Re: [dpdk-dev] [PATCH v8 2/2] app/testpmd: add configuration for input set

2018-01-07 Thread Lu, Wenzhuo
Hi, > -Original Message- > From: Xing, Beilei > Sent: Monday, January 8, 2018 11:09 AM > To: Wu, Jingjing ; Lu, Wenzhuo > ; Zhang, Qi Z > Cc: dev@dpdk.org; Chilikin, Andrey > Subject: [PATCH v8 2/2] app/testpmd: add configuration for input set > > This patch adds command to configure i

[dpdk-dev] [PATCH v2] net/ixgbe: fix tunnel filter fail problem

2018-01-07 Thread Wei Zhao
Add a mode type check for tunnel mode, if fdir is in this mode, it do not need to do Sanity check for x550. Fixes: a2ba854ec616b ("net/ixgbe: fix MAC VLAN filter fail problem") Signed-off-by: Wei Zhao --- v2: -change fix code version hash code. --- drivers/net/ixgbe/ixgbe_fdir.c | 3 ++- 1 fi

[dpdk-dev] [PATCH v3] doc: add queue region feature info to release notes

2018-01-07 Thread Wei Zhao
This patch add inforation about i40e queue region realted to release notes, it has been missed before in v17.11 release notes. This feature has been implemented in v17.11. Signed-off-by: Wei Zhao --- v2: -change this information to v18.02 release notes. v3: -rework it on dpdk-next-net-intel su

Re: [dpdk-dev] [PATCH] mempool/octeontx: use smp instead of io barrier

2018-01-07 Thread santosh
On Thursday 04 January 2018 05:09 PM, Pavan Nikhilesh wrote: > Use smp barrier instead of IO barrier when sending mbox request as the > write has to be reflected between cores not IO devices. > > Signed-off-by: Pavan Nikhilesh > --- Acked-by: Santosh Shukla

[dpdk-dev] [PATCH v2] mempool/octeontx: fix improper memory barrier

2018-01-07 Thread Pavan Nikhilesh
Use smp barrier instead of IO barrier when sending mbox request as the write has to be reflected between cores not IO devices. Fixes: 6da9d24574db ("event/octeontx: add mailbox support") Cc: sta...@dpdk.org Signed-off-by: Pavan Nikhilesh Acked-by: Santosh Shukla --- drivers/mempool/octeontx/oc

Re: [dpdk-dev] [PATCH v2] net/ixgbe: fix tunnel filter fail problem

2018-01-07 Thread Lu, Wenzhuo
Hi, > -Original Message- > From: Zhao1, Wei > Sent: Monday, January 8, 2018 11:36 AM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; Zhao1, Wei > > Subject: [PATCH v2] net/ixgbe: fix tunnel filter fail problem > > Add a mode type check for tunnel mode, if fdir is in this mode, it do not > need to

[dpdk-dev] [PATCH v5 02/14] net/avf: initialization of avf PMD

2018-01-07 Thread Wenzhuo Lu
From: Jingjing Wu Signed-off-by: Jingjing Wu --- config/common_base | 5 + drivers/net/Makefile| 1 + drivers/net/avf/Makefile| 31 +++ drivers/net/avf/avf.h | 187 ++ drivers/net/avf/avf_ethdev.c

[dpdk-dev] [PATCH v5 00/14] add new AVF PMD

2018-01-07 Thread Wenzhuo Lu
Adaptive Virtual Function (AVF) Driver is VF driver which supports for all future Intel devices without requiring a VM update. It promises the basic high speed connectivity. And since this happens to be an adaptive VF driver, every new drop of the VF driver would add more and more advanced featu

[dpdk-dev] [PATCH v5 03/14] net/avf: enable queue and device

2018-01-07 Thread Wenzhuo Lu
From: Jingjing Wu enable device and queue setup ops like: - dev_configure - dev_start - dev_stop - dev_close - dev_infos_get - rx_queue_start - rx_queue_stop - tx_queue_start - tx_queue_stop - rx_queue_setup - rx_queue_release - tx_queue_setup - tx_queue_release Signed-off-by: Jing

[dpdk-dev] [PATCH v5 05/14] net/avf: enable link status update

2018-01-07 Thread Wenzhuo Lu
From: Jingjing Wu Signed-off-by: Jingjing Wu --- doc/guides/nics/features/avf.ini | 3 +++ drivers/net/avf/avf.h| 2 ++ drivers/net/avf/avf_ethdev.c | 51 +++- drivers/net/avf/avf_vchnl.c | 38 +- 4 files cha

[dpdk-dev] [PATCH v5 04/14] net/avf: enable basic Rx Tx func

2018-01-07 Thread Wenzhuo Lu
Signed-off-by: Wenzhuo Lu --- MAINTAINERS | 1 + config/common_base | 4 + doc/guides/nics/features/avf.ini | 22 ++ drivers/net/avf/Makefile | 3 + drivers/net/avf/avf_ethdev.c | 36 +- drivers/net/avf/avf_log.h| 21 ++ drivers/net/

[dpdk-dev] [PATCH v5 08/14] net/avf: enable ops for RSS setting

2018-01-07 Thread Wenzhuo Lu
From: Jingjing Wu Signed-off-by: Jingjing Wu --- doc/guides/nics/features/avf.ini | 2 + drivers/net/avf/avf_ethdev.c | 142 +++ 2 files changed, 144 insertions(+) diff --git a/doc/guides/nics/features/avf.ini b/doc/guides/nics/features/avf.ini index 1

[dpdk-dev] [PATCH v5 06/14] net/avf: support stats

2018-01-07 Thread Wenzhuo Lu
From: Jingjing Wu Signed-off-by: Jingjing Wu --- doc/guides/nics/features/avf.ini | 1 + drivers/net/avf/avf.h| 2 ++ drivers/net/avf/avf_ethdev.c | 27 +++ drivers/net/avf/avf_vchnl.c | 27 +++ 4 files changed, 57 insertion

[dpdk-dev] [PATCH v5 07/14] net/avf: enable ops for MAC VLAN offload

2018-01-07 Thread Wenzhuo Lu
From: Jingjing Wu - promiscuous_enable - promiscuous_disable - allmulticast_enable - allmulticast_disable - mac_addr_add - mac_addr_remove - mac_addr_set - vlan_filter_set - vlan_offload_set Signed-off-by: Jingjing Wu --- doc/guides/nics/features/avf.ini | 5 + drivers/net/avf/avf.h

[dpdk-dev] [PATCH v5 09/14] net/avf: enable ops for MTU setting

2018-01-07 Thread Wenzhuo Lu
From: Jingjing Wu Signed-off-by: Jingjing Wu --- doc/guides/nics/features/avf.ini | 1 + drivers/net/avf/avf_ethdev.c | 30 ++ 2 files changed, 31 insertions(+) diff --git a/doc/guides/nics/features/avf.ini b/doc/guides/nics/features/avf.ini index 61527d7..cf1b

[dpdk-dev] [PATCH v5 10/14] net/avf: enable ops to check queue info and status

2018-01-07 Thread Wenzhuo Lu
From: Jingjing Wu - rxq_info_get - txq_info_get - rx_queue_count - rx_descriptor_status - tx_descriptor_status Signed-off-by: Jingjing Wu --- doc/guides/nics/features/avf.ini | 2 + drivers/net/avf/avf_ethdev.c | 5 ++ drivers/net/avf/avf_rxtx.c | 120 +++

[dpdk-dev] [PATCH v5 12/14] net/avf: enable sse vector Rx Tx func

2018-01-07 Thread Wenzhuo Lu
From: Jingjing Wu Signed-off-by: Jingjing Wu --- config/common_base| 1 + doc/guides/nics/features/avf_vec.ini | 36 ++ drivers/net/avf/Makefile | 1 + drivers/net/avf/avf.h | 4 + drivers/net/avf/avf_ethdev.c | 11 + drivers/ne

[dpdk-dev] [PATCH v5 11/14] net/i40e: support AVF basic interface

2018-01-07 Thread Wenzhuo Lu
From: Jingjing Wu Enable Virtchnl offload Caps negotiation and RSS_PF offload to support AVF basic interface. Signed-off-by: Jingjing Wu --- drivers/net/i40e/i40e_ethdev.c | 69 drivers/net/i40e/i40e_ethdev.h | 5 ++ drivers/net/i40e/i40e_pf.c | 140

[dpdk-dev] [PATCH v5 13/14] net/avf: enable bulk allocate Rx func

2018-01-07 Thread Wenzhuo Lu
Signed-off-by: Wenzhuo Lu --- drivers/net/avf/avf.h| 1 + drivers/net/avf/avf_ethdev.c | 1 + drivers/net/avf/avf_rxtx.c | 300 +++ drivers/net/avf/avf_rxtx.h | 6 + 4 files changed, 308 insertions(+) diff --git a/drivers/net/avf/avf.h b/

[dpdk-dev] [PATCH v5 14/14] net/avf: enable Rx interrupt support

2018-01-07 Thread Wenzhuo Lu
From: Jingjing Wu Update the doc for the AVF features either. Signed-off-by: Jingjing Wu --- doc/guides/nics/features/avf.ini | 1 + doc/guides/nics/features/avf_vec.ini | 1 + doc/guides/nics/intel_vf.rst | 20 +++- doc/guides/rel_notes/release_18_02.rst | 16 +++ driv

[dpdk-dev] [PATCH] doc: add i40e update

2018-01-07 Thread Beilei Xing
Update release note to declare MPLSoUDP/MPLSoGRE/ GTP-U/GTP-C/PPPoE/PPPoL2TP steering support in i40e driver. Update i40e.rst to declare DDP support. Signed-off-by: Beilei Xing --- doc/guides/nics/i40e.rst | 1 + doc/guides/rel_notes/release_18_02.rst | 31

Re: [dpdk-dev] [PATCH 9/9] tools: use SPDX tag for Cavium copyright files

2018-01-07 Thread Jerin Jacob
-Original Message- > Date: Sun, 7 Jan 2018 14:24:11 +0530 > From: Hemant Agrawal > To: Jerin Jacob , dev@dpdk.org > CC: tho...@monjalon.net > Subject: Re: [PATCH 9/9] tools: use SPDX tag for Cavium copyright files > User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 >

[dpdk-dev] [PATCH v2 1/9] test: use SPDX tag for Cavium copyright files

2018-01-07 Thread Jerin Jacob
Signed-off-by: Jerin Jacob --- test/test/test_bitmap.c| 32 ++-- test/test/test_eventdev.c | 32 ++-- test/test/test_eventdev_octeontx.c | 32 ++-- test/test/test_xmmt_ops.h | 33 ++--

[dpdk-dev] [PATCH v2 2/9] mk: use SPDX tag for Cavium copyright files

2018-01-07 Thread Jerin Jacob
Signed-off-by: Jerin Jacob --- mk/arch/arm64/rte.vars.mk | 30 ++ mk/machine/armv8a/rte.vars.mk | 31 ++- mk/machine/thunderx/rte.vars.mk | 31 ++- mk/machine/xgene1/rte.vars.mk | 31 ++--

[dpdk-dev] [PATCH v2 3/9] lib: use SPDX tag for Cavium copyright files

2018-01-07 Thread Jerin Jacob
Signed-off-by: Jerin Jacob --- lib/librte_acl/acl_run_neon.c | 34 ++ lib/librte_acl/acl_run_neon.h | 34 ++ lib/librte_eal/common/arch/arm/rte_cycles.c| 32 ++-- .../common/include/arch/arm/

[dpdk-dev] [PATCH v2 4/9] examples: use SPDX tag for Cavium copyright files

2018-01-07 Thread Jerin Jacob
Signed-off-by: Jerin Jacob --- .../performance-thread/common/arch/arm64/ctx.c | 32 ++ .../performance-thread/common/arch/arm64/ctx.h | 32 ++ .../performance-thread/common/arch/arm64/stack.h | 32 ++ 3 files changed, 6 inserti

Re: [dpdk-dev] [PATCH v7 1/2] eal: add uevent monitor for hot plug

2018-01-07 Thread Guo, Jia
thanks , matan On 1/3/2018 1:02 AM, Matan Azrad wrote: Hi Jeff Maybe I'm touching in previous discussions but please see some comments\questions. From: Jeff Guo: This patch aim to add a general uevent mechanism in eal device layer, to enable all linux kernel object hot plug monitoring, so u

[dpdk-dev] [PATCH v2 6/9] app: use SPDX tag for Cavium copyright files

2018-01-07 Thread Jerin Jacob
Signed-off-by: Jerin Jacob --- app/test-eventdev/Makefile| 30 ++ app/test-eventdev/evt_common.h| 32 ++-- app/test-eventdev/evt_main.c | 32 ++-- app/test-eventdev/evt_options.c

[dpdk-dev] [PATCH v2 5/9] drivers: use SPDX tag for Cavium copyright files

2018-01-07 Thread Jerin Jacob
Signed-off-by: Jerin Jacob --- drivers/crypto/armv8/Makefile | 32 ++- drivers/crypto/armv8/rte_armv8_pmd.c| 32 ++- drivers/crypto/armv8/rte_armv8_pmd_ops.c| 32 ++- drivers/crypto/armv8/rte_armv8_p

[dpdk-dev] [PATCH v2 7/9] doc: use SPDX tag for Cavium copyright files

2018-01-07 Thread Jerin Jacob
Signed-off-by: Jerin Jacob --- doc/guides/cryptodevs/armv8.rst| 31 ++-- doc/guides/eventdevs/octeontx.rst | 31 ++-- doc/guides/mempool/index.rst | 30 ++- doc/guides/mempool/octeontx.rst

[dpdk-dev] [PATCH v2 9/9] tools: use SPDX tag for Cavium copyright files

2018-01-07 Thread Jerin Jacob
Signed-off-by: Jerin Jacob --- devtools/build-tags.sh | 34 +- 1 file changed, 5 insertions(+), 29 deletions(-) diff --git a/devtools/build-tags.sh b/devtools/build-tags.sh index 942da2bae..78001f048 100755 --- a/devtools/build-tags.sh +++ b/devtools/build-tags.sh

[dpdk-dev] [PATCH v2 8/9] config: use SPDX tag for Cavium copyright files

2018-01-07 Thread Jerin Jacob
Signed-off-by: Jerin Jacob --- config/common_armv8a_linuxapp| 31 ++-- config/defconfig_arm64-armv8a-linuxapp-clang | 31 ++-- config/defconfig_arm64-armv8a-linuxapp-gcc | 31 ++-- config/defconfig_arm64-thu

Re: [dpdk-dev] [PATCH] doc: add i40e update

2018-01-07 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Beilei Xing > Sent: Monday, January 8, 2018 1:13 PM > To: Mcnamara, John > Cc: dev@dpdk.org > Subject: [dpdk-dev] [PATCH] doc: add i40e update > > Update release note to declare MPLSoUDP/MPLSoGRE/ GTP-U/GTP- > C/

Re: [dpdk-dev] [PATCH v2 11/16] doc: add documents for AMD axgbe Ethernet PMD

2018-01-07 Thread Kumar, Ravi1
>On Fri, 5 Jan 2018 04:52:13 -0500 >Ravi Kumar wrote: > >> Signed-off-by: Ravi Kumar >> --- >> doc/guides/nics/axgbe.rst | 211 >> + >> doc/guides/nics/features/axgbe.ini | 14 +++ >> doc/guides/nics/index.rst | 1 + >> 3 files changed,

Re: [dpdk-dev] [PATCH v2] net/i40e: do not turn on flexible payload on driver init

2018-01-07 Thread Xing, Beilei
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Kirill Rybalchenko > Sent: Friday, January 5, 2018 1:45 AM > To: dev@dpdk.org > Cc: Rybalchenko, Kirill ; Chilikin, Andrey > ; Xing, Beilei ; Wu, > Jingjing > Subject: [dpdk-dev] [PATCH v2] net/i40e: do not turn

[dpdk-dev] Thread safety in rte_acl

2018-01-07 Thread ????????
Hi, I have two questions : 1. Is it safe that multiple threads will run "rte_acl_classify" in parallel (on the same ctx )? 2. Is it safe that one thread will run "rte_acl_classify" when another thread tries to add new rules to same ctx? thanks,

Re: [dpdk-dev] [PATCH v9] net/i40e: determine number of queues per VF during run time

2018-01-07 Thread Zhang, Helin
> -Original Message- > From: Dai, Wei > Sent: Tuesday, December 26, 2017 11:25 PM > To: Wu, Jingjing; Xing, Beilei; Zhang, Helin > Cc: dev@dpdk.org; Dai, Wei > Subject: [PATCH v9] net/i40e: determine number of queues per VF during run > time > > Without this patch, the number of queues p

Re: [dpdk-dev] [PATCH v7 1/2] eal: add uevent monitor for hot plug

2018-01-07 Thread Guo, Jia
add one more comment. On 1/3/2018 1:02 AM, Matan Azrad wrote: Hi Jeff Maybe I'm touching in previous discussions but please see some comments\questions. From: Jeff Guo: This patch aim to add a general uevent mechanism in eal device layer, to enable all linux kernel object hot plug monitorin

Re: [dpdk-dev] [PATCH v2] net/ixgbe: fix tunnel filter fail problem

2018-01-07 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Lu, Wenzhuo > Sent: Monday, January 8, 2018 1:09 PM > To: Zhao1, Wei; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] net/ixgbe: fix tunnel filter fail problem > > Hi, > > > -Original Message- > > From

Re: [dpdk-dev] [PATCH v2] net/i40e: add fdir nvgre parameters check

2018-01-07 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Zhang, Qi Z > Sent: Friday, December 22, 2017 2:06 PM > To: Zhao1, Wei; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: add fdir nvgre parameters check > > > > > -Original Message- > > From:

Re: [dpdk-dev] [PATCH v2] examples/flow_filtering: add Tx queues setup process

2018-01-07 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Ori Kam > Sent: Wednesday, December 27, 2017 7:53 PM > To: Zhao1, Wei; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] examples/flow_filtering: add Tx queues > setup process > > > > > -Original Message---

Re: [dpdk-dev] [PATCH v4 4/8] lib/librte_eventdev: extend the eventdev capability flags

2018-01-07 Thread Jerin Jacob
-Original Message- > Date: Fri, 22 Dec 2017 11:23:46 + > From: Liang Ma > To: jerin.ja...@caviumnetworks.com > CC: dev@dpdk.org, harry.van.haa...@intel.com, bruce.richard...@intel.com, > deepak.k.j...@intel.com, john.ge...@intel.com, peter.mccar...@intel.com, > sea...@gmail.com > Sub

Re: [dpdk-dev] [PATCH] net/i40e: fix VSI MAC filter on primary address change

2018-01-07 Thread Zhang, Helin
Hi Developers and maintainers Could you help to address the comments from Igor? Regards, Helin > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Igor Ryzhov > Sent: Friday, January 5, 2018 8:35 PM > To: Olivier Matz > Cc: dev@dpdk.org; Wu, Jingjing; Xing, Beilei

Re: [dpdk-dev] [PATCH v2] net/i40e: fix setting of MAC address on i40evf

2018-01-07 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Xing, Beilei > Sent: Thursday, January 4, 2018 3:40 PM > To: Olivier Matz; dev@dpdk.org; Wu, Jingjing > Cc: sta...@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: fix setting of MAC address on > i40evf >

Re: [dpdk-dev] [PATCH v4 1/8] event/opdl: add the opdl ring infrastructure library

2018-01-07 Thread Jerin Jacob
-Original Message- > Date: Fri, 22 Dec 2017 16:02:42 + > From: Sean Harte > To: Liang Ma > Cc: jerin.ja...@caviumnetworks.com, dev@dpdk.org, > harry.van.haa...@intel.com, Bruce Richardson , > deepak.k.j...@intel.com, john.ge...@intel.com, "Mccarthy, Peter" > > Subject: Re: [PATCH

[dpdk-dev] [PATCH v2] doc: add i40e update

2018-01-07 Thread Beilei Xing
Update release note to declare MPLSoUDP/MPLSoGRE/ GTP-U/GTP-C/PPPoE/PPPoL2TP steering support in i40e driver. Update i40e.rst to declare DDP support and input set configuration. Signed-off-by: Beilei Xing --- v2 changes: - Add DDP support and input set configuration in i40e.rst. doc/guides/ni