[dpdk-dev] [PATCH v3 09/11] net/bnxt: refactor flow id allocation

2020-10-22 Thread Ajit Khaparde
From: Venkat Duvvuru Currently, the flow id is allocated inside ulp_mapper_flow_create. However with vxlan decap feature if F2 flow comes before F1 flow then F2 is cached and not really installed in the hardware which means the code will return without calling ulp_mapper_flow_create. But, ULP has

Re: [dpdk-dev] [PATCH 2/3] ethdev: remove L2 tunnel offload control API

2020-10-22 Thread Wang, Haiyue
> -Original Message- > From: Andrew Rybchenko > Sent: Thursday, October 22, 2020 18:06 > To: Lu, Wenzhuo ; Xing, Beilei ; > Iremonger, Bernard > ; Ray Kinsella ; Neil Horman > ; Guo, > Jia ; Wang, Haiyue ; Thomas > Monjalon ; > Yigit, Ferruh ; Andrew Rybchenko > > Cc: dev@dpdk.org > S

Re: [dpdk-dev] [PATCH 4/5] drivers: remove config prefix used with make

2020-10-22 Thread Ajit Khaparde
On Thu, Oct 22, 2020 at 3:05 PM Thomas Monjalon wrote: > > The config options CONFIG_RTE_* are simple RTE_* defines with meson. > Now that make support is dropped, update the names in log and comments. > > Signed-off-by: Thomas Monjalon For bnxt PMD, Acked-by: Ajit Khaparde > --- > drivers/net

Re: [dpdk-dev] [PATCH 3/3] ethdev: move L2 tunnel config structure to ixgbe driver

2020-10-22 Thread Wang, Haiyue
> -Original Message- > From: Andrew Rybchenko > Sent: Thursday, October 22, 2020 18:06 > To: Guo, Jia ; Wang, Haiyue ; > Thomas Monjalon > ; Yigit, Ferruh ; Andrew > Rybchenko > > Cc: dev@dpdk.org > Subject: [PATCH 3/3] ethdev: move L2 tunnel config structure to ixgbe driver > > net/ix

[dpdk-dev] [PATCH] net/ice: fix Rx offload flags in SSE path

2020-10-22 Thread Zhang,Alvin
From: Alvin Zhang Update reading offload flags of last two of four packets. Fixes: ece1f8a8f1c8 ("net/ice: switch to flexible descriptor in SSE path") Cc: sta...@dpdk.org Signed-off-by: Alvin Zhang --- drivers/net/ice/ice_rxtx_vec_sse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

Re: [dpdk-dev] [PATCH 1/3] ethdev: remove API to config L2 tunnel EtherType

2020-10-22 Thread Guo, Jia
> -Original Message- > From: Wang, Haiyue > Sent: Friday, October 23, 2020 10:10 AM > To: Andrew Rybchenko ; Lu, Wenzhuo > ; Xing, Beilei ; Iremonger, > Bernard ; Ray Kinsella ; > Neil Horman ; Guo, Jia ; > Thomas Monjalon ; Yigit, Ferruh > ; Andrew Rybchenko > > Cc: dev@dpdk.org > Subj

Re: [dpdk-dev] [PATCH 2/3] ethdev: remove L2 tunnel offload control API

2020-10-22 Thread Guo, Jia
> -Original Message- > From: Wang, Haiyue > Sent: Friday, October 23, 2020 10:12 AM > To: Andrew Rybchenko ; Lu, Wenzhuo > ; Xing, Beilei ; Iremonger, > Bernard ; Ray Kinsella ; > Neil Horman ; Guo, Jia ; > Thomas Monjalon ; Yigit, Ferruh > ; Andrew Rybchenko > > Cc: dev@dpdk.org > Subj

Re: [dpdk-dev] [PATCH 3/3] ethdev: move L2 tunnel config structure to ixgbe driver

2020-10-22 Thread Guo, Jia
> -Original Message- > From: Wang, Haiyue > Sent: Friday, October 23, 2020 10:13 AM > To: Andrew Rybchenko ; Guo, Jia > ; Thomas Monjalon ; Yigit, > Ferruh ; Andrew Rybchenko > > Cc: dev@dpdk.org > Subject: RE: [PATCH 3/3] ethdev: move L2 tunnel config structure to ixgbe > driver > > >

Re: [dpdk-dev] [PATCH v2 12/14] ethdev: remove legacy FDIR filter type support

2020-10-22 Thread Hyong Youb Kim (hyonkim)
> -Original Message- > From: Andrew Rybchenko > Sent: Thursday, October 22, 2020 6:43 PM > To: Wenzhuo Lu ; Beilei Xing > ; Bernard Iremonger > ; Jeff Guo ; Ray Kinsella > ; Neil Horman ; Ajit Khaparde > ; Somnath Kotur > ; John Daley (johndale) > ; Hyong Youb Kim (hyonkim) ; > Haiyue Wang

[dpdk-dev] [PATCH v4 0/3] AVX512 vPMD on ice

2020-10-22 Thread Leyi Rong
This patchset aims to support AVX512 vPMD on ice. --- v4: - Replace buf_physaddr by buf_iova in the 1st patch to eliminate build error. v3: - Code rebased. v2: - No internal judgement when RTE_MACHINE_CPUFLAG_AVX512F is set in meson.build. - Add RSS hash parsing as default RXDID is set to #2

[dpdk-dev] [PATCH v4 2/3] net/ice: add RSS hash parsing in AVX512 path

2020-10-22 Thread Leyi Rong
Support RSS hash parsing in AVX512 data path as the default RXDID is set to #22, that means the RSS hash field locates in the 2nd 16B of each Flex Rx descriptor. Signed-off-by: Leyi Rong --- drivers/net/ice/ice_rxtx_vec_avx512.c | 105 -- 1 file changed, 98 insertions(+),

[dpdk-dev] [PATCH v4 3/3] net/ice: optimize Tx path on AVX512 vPMD

2020-10-22 Thread Leyi Rong
Optimize Tx path by using AVX512 instructions and vectorize the tx free bufs process. Signed-off-by: Leyi Rong Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_rxtx.h| 4 + drivers/net/ice/ice_rxtx_vec_avx512.c | 147 ++ drivers/net/ice/ice_rxtx_vec_

[dpdk-dev] [PATCH v4 1/3] net/ice: add AVX512 vector path

2020-10-22 Thread Leyi Rong
Add AVX512 support for ice PMD. This patch adds ice_rxtx_vec_avx512.c to support ice AVX512 vPMD. This patch aims to enable AVX512 on ice vPMD. Main changes are focus on Rx path compared with AVX2 vPMD. Signed-off-by: Leyi Rong Signed-off-by: Bruce Richardson --- drivers/net/ice/ice_rxtx.c

[dpdk-dev] [PATCH v3 0/5] lib/ring: add zero copy APIs

2020-10-22 Thread Honnappa Nagarahalli
It is pretty common for the DPDK applications to be deployed in semi-pipeline model. In these models, a small number of cores (typically 1) are designated as I/O cores. The I/O cores work on receiving and transmitting packets from the NIC and several packet processing cores. The IO core and the pac

[dpdk-dev] [PATCH v3 1/5] test/ring: fix the memory dump size

2020-10-22 Thread Honnappa Nagarahalli
Pass the correct number of bytes to dump the memory. Fixes: bf28df24e915 ("test/ring: add contention stress test" Cc: konstantin.anan...@intel.com Cc: sta...@dpdk.org Signed-off-by: Honnappa Nagarahalli Reviewed-by: Dharmik Thakkar --- app/test/test_ring_stress_impl.h | 2 +- 1 file changed, 1

[dpdk-dev] [PATCH v3 2/5] lib/ring: add zero copy APIs

2020-10-22 Thread Honnappa Nagarahalli
Add zero-copy APIs. These APIs provide the capability to copy the data to/from the ring memory directly, without having a temporary copy (for ex: an array of mbufs on the stack). Use cases that involve copying large amount of data to/from the ring can benefit from these APIs. Signed-off-by: Honnap

[dpdk-dev] [PATCH v3 3/5] test/ring: move common function to header file

2020-10-22 Thread Honnappa Nagarahalli
Move test_ring_inc_ptr to header file so that it can be used by functions in other files. Signed-off-by: Honnappa Nagarahalli Reviewed-by: Dharmik Thakkar --- app/test/test_ring.c | 11 --- app/test/test_ring.h | 11 +++ 2 files changed, 11 insertions(+), 11 deletions(-) diff -

[dpdk-dev] [PATCH v3 4/5] test/ring: add functional tests for zero copy APIs

2020-10-22 Thread Honnappa Nagarahalli
Add functional tests for zero copy APIs. Test enqueue/dequeue functions are created using the zero copy APIs to fit into the existing testing method. Signed-off-by: Honnappa Nagarahalli Reviewed-by: Dharmik Thakkar --- app/test/test_ring.c | 196 +++ app/

[dpdk-dev] [PATCH v3 5/5] test/ring: add stress tests for zero copy APIs

2020-10-22 Thread Honnappa Nagarahalli
Add stress tests for zero copy API. Signed-off-by: Honnappa Nagarahalli Reviewed-by: Dharmik Thakkar --- app/test/meson.build | 2 + app/test/test_ring_mt_peek_stress_zc.c | 56 ++ app/test/test_ring_st_peek_stress_zc.c | 65 ++ app

Re: [dpdk-dev] [PATCH v5 5/5] net/iavf: fix vector rx burst for iavf

2020-10-22 Thread Ling, WeiX
Tested-by: Ling, Wei Regards, Ling Wei > -Original Message- > From: dev On Behalf Of Jeff Guo > Sent: Friday, October 16, 2020 05:45 PM > To: Wu, Jingjing ; Zhang, Qi Z > ; Xing, Beilei ; Wang, Haiyue > ; Yang, Qiming > Cc: dev@dpdk.org; Yigit, Ferruh ; > m...@smartsharesystems.com; st

Re: [dpdk-dev] [PATCH v2 3/3] virtio-user: set status on virtio-user reconnect

2020-10-22 Thread Jiang, YuX
Tested-by: JiangYuX Best Regards Jiang yu > -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Maxime Coquelin > Sent: Thursday, October 22, 2020 4:32 PM > To: Adrian Moreno ; Xia, Chenbo > ; Wang, Yinan ; > dev@dpdk.org > Cc: Fu, Patrick ; sta...@dpdk.org

[dpdk-dev] [Bug 564] [dpdk-20.11]flow_classify_softnic: dpdk do not transport packet.

2020-10-22 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=564 Bug ID: 564 Summary: [dpdk-20.11]flow_classify_softnic: dpdk do not transport packet. Product: DPDK Version: 20.11 Hardware: All OS: Linux Status: UNCONF

Re: [dpdk-dev] [PATCH v2 2/2] lpm: hide internal data

2020-10-22 Thread Ruifeng Wang
> -Original Message- > From: David Marchand > Sent: Thursday, October 22, 2020 11:14 PM > To: Ruifeng Wang > Cc: Bruce Richardson ; Vladimir Medvedkin > ; dev ; Honnappa > Nagarahalli ; nd ; Kevin > Traynor ; tho...@monjalon.net > Subject: Re: [PATCH v2 2/2] lpm: hide internal data > >

Re: [dpdk-dev] [PATCH 3/5] lib: remove config prefix used with make

2020-10-22 Thread Ruifeng Wang
> -Original Message- > From: Thomas Monjalon > Sent: Friday, October 23, 2020 6:05 AM > To: dev@dpdk.org > Cc: ferruh.yi...@intel.com; david.march...@redhat.com; > bruce.richard...@intel.com; anatoly.bura...@intel.com; > olivier.m...@6wind.com; ciara.po...@intel.com; akhil.go...@nxp.com;

Re: [dpdk-dev] [PATCH v2 12/14] ethdev: remove legacy FDIR filter type support

2020-10-22 Thread Andrew Rybchenko
On 10/23/20 6:32 AM, Hyong Youb Kim (hyonkim) wrote: >> -Original Message- >> From: Andrew Rybchenko >> Sent: Thursday, October 22, 2020 6:43 PM >> To: Wenzhuo Lu ; Beilei Xing >> ; Bernard Iremonger >> ; Jeff Guo ; Ray Kinsella >> ; Neil Horman ; Ajit Khaparde >> ; Somnath Kotur >> ; John

Re: [dpdk-dev] [PATCH 4/5] drivers: remove config prefix used with make

2020-10-22 Thread Andrew Rybchenko
On 10/23/20 1:05 AM, Thomas Monjalon wrote: > The config options CONFIG_RTE_* are simple RTE_* defines with meson. > Now that make support is dropped, update the names in log and comments. > > Signed-off-by: Thomas Monjalon Acked-by: Andrew Rybchenko

[dpdk-dev] [RFC] net/i40e: refactor of hash flow

2020-10-22 Thread Zhang,Alvin
From: Alvin Zhang 1. Delete original code. 2. Add 2 tables(pattern RSS type matched PCTYPE, RSS type to input set). 3. Parse RSS pattern and RSS type to get PCTYPE. 4. Parse RSS action to get queues, RSS function and hash field. 5. Create and destroy RSS filters. 6. Create new files for hash flow

<    1   2   3