[dpdk-dev] [PATCH v4 1/3] test/ring: ring perf test case enhancement

2019-01-01 Thread Gavin Hu
From: Joyce Kong Run ring perf test on all available cores to really verify MPMC operations. The old way of running on a pair of cores is not enough for MPMC rings. We used this test case for ring optimization and it was really helpful for measuring the ring performance in multi-core environment.

[dpdk-dev] [PATCH v4 2/3] ring: add reset api to flush the ring when not in use

2019-01-01 Thread Gavin Hu
Currently, the flush is done by dequeuing the ring in a while loop. It is much simpler to flush the queue by resetting the head and tail indices. Signed-off-by: Gavin Hu Reviewed-by: Ruifeng Wang Reviewed-by: Honnappa Nagarahalli --- lib/librte_ring/rte_ring.h | 20 ++

[dpdk-dev] [PATCH v4 3/3] hash: flush the rings instead of dequeuing one by one

2019-01-01 Thread Gavin Hu
Within rte_hash_reset, calling a while loop to dequeue one by one from the ring, while not using them at all, is wasting cycles, The patch just flush the ring by resetting the indices can save cpu cycles. Fixes: b26473ff8f4a ("hash: add reset function") Fixes: 75706568a7eb ("hash: add extendable b

[dpdk-dev] [PATCH v4 0/3] add rte ring reset api and use it to flush a ring by hash

2019-01-01 Thread Gavin Hu
V4: Include the ring perf test case enhancement patch in the series. V3: Allow experimental API for meson build V2: Fix the coding style issue(commit message line too long) V1: To flush a ring not in use, dequeue one by one is wasting cpu cycles. The patch is to just resetting the head and tail

Re: [dpdk-dev] [PATCH v2 1/2] net/ixgbe: enable x550 flexible byte filter

2019-01-01 Thread Zhang, Qi Z
HI Wei: > -Original Message- > From: Zhao1, Wei > Sent: Tuesday, December 25, 2018 1:45 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Lu, Wenzhuo ; Zhang, Qi Z > ; Peng, Yuan ; Zhao1, Wei > > Subject: [PATCH v2 1/2] net/ixgbe: enable x550 flexible byte filter > > There is need for users t

Re: [dpdk-dev] [PATCH v2 1/2] net/ixgbe: enable x550 flexible byte filter

2019-01-01 Thread Zhao1, Wei
Hi, qi > -Original Message- > From: Zhang, Qi Z > Sent: Wednesday, January 2, 2019 9:19 AM > To: Zhao1, Wei ; dev@dpdk.org > Cc: sta...@dpdk.org; Lu, Wenzhuo ; Peng, Yuan > > Subject: RE: [PATCH v2 1/2] net/ixgbe: enable x550 flexible byte filter > > HI Wei: > > > -Original Messag

Re: [dpdk-dev] [PATCH] libs/power: fix the resource leaking issue

2019-01-01 Thread Yao, Lei A
> -Original Message- > From: Ma, Liang J > Sent: Friday, December 28, 2018 7:33 PM > To: Hunt, David > Cc: dev@dpdk.org; Burakov, Anatoly ; Yao, Lei > A ; Ma, Liang J > Subject: [PATCH] libs/power: fix the resource leaking issue > > Fixes: e6c6dc0f96c8 ("power: add p-state driver comp

Re: [dpdk-dev] [PATCH v2 1/2] net/ixgbe: enable x550 flexible byte filter

2019-01-01 Thread Zhang, Qi Z
> -Original Message- > From: Zhao1, Wei > Sent: Wednesday, January 2, 2019 9:54 AM > To: Zhang, Qi Z ; dev@dpdk.org > Cc: sta...@dpdk.org; Lu, Wenzhuo ; Peng, Yuan > > Subject: RE: [PATCH v2 1/2] net/ixgbe: enable x550 flexible byte filter > > Hi, qi > > > -Original Message- >

Re: [dpdk-dev] [PATCH v3]/driver/raw/ifpga_rawdev: fix a memory leak bug in ifpga

2019-01-01 Thread Zhang, Tianfei
> -Original Message- > From: Pei, Andy > Sent: Tuesday, December 25, 2018 10:02 PM > To: dev@dpdk.org > Cc: Xu, Rosen ; Zhang, Tianfei > ; Pei, Andy > Subject: [PATCH v3]/driver/raw/ifpga_rawdev: fix a memory leak bug in ifpga > > When ifpga_rawdev_create() allocate memory for a new raw

Re: [dpdk-dev] [PATCH] net/ice: fixed CRC strip issue

2019-01-01 Thread Zhang, Qi Z
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Qiming Yang > Sent: Tuesday, December 25, 2018 11:21 PM > To: dev@dpdk.org > Cc: Yang, Qiming > Subject: [dpdk-dev] [PATCH] net/ice: fixed CRC strip issue > > Fixes: 50370662b727 ("net/ice: support device and q

[dpdk-dev] [PATCH v1] examples/l3fwd: enable hash multi lookup for ARM

2019-01-01 Thread Ruifeng Wang
Compile option for hash_multi_lookup was broken, and caused feature cannot be enabled on Arm. This patch sets hash_multi_lookup method as default, and sequential lookup becomes optional. In test of 8192 flows with 128-byte packets, throughput increased by 25.6% after enabling hash_multi_lookup. F

[dpdk-dev] [PATCH v6] app/testpmd: add IFPGA AFU register access function

2019-01-01 Thread Rosen Xu
Currently register read/write of testpmd is only for PCI device, but more and more IFPGA based AFU devices need this feature to access registers, this patch will add support for it. Signed-off-by: Rosen Xu Acked-by: Bernard Iremonger v5 updates: === - Added Macro to fix compile depende

Re: [dpdk-dev] [PATCH v5] app/testpmd: add IFPGA AFU register access function

2019-01-01 Thread Xu, Rosen
Hi Ferruh, I have added Macro to identify the dependency of ifpga, and checked it ok in my v6 patch. Pls review, thanks a lot. > -Original Message- > From: Yigit, Ferruh > Sent: Thursday, December 20, 2018 22:23 > To: Xu, Rosen ; Iremonger, Bernard > ; dev@dpdk.org > Cc: Lu, Wenzhuo ; Wu

Re: [dpdk-dev] [PATCH v3]/driver/raw/ifpga_rawdev: fix a memory leak bug in ifpga

2019-01-01 Thread Xu, Rosen
Hi, > -Original Message- > From: Pei, Andy > Sent: Tuesday, December 25, 2018 22:02 > To: dev@dpdk.org > Cc: Xu, Rosen ; Zhang, Tianfei > ; Pei, Andy > Subject: [PATCH v3]/driver/raw/ifpga_rawdev: fix a memory leak bug in ifpga > > When ifpga_rawdev_create() allocate memory for a new raw

[dpdk-dev] [PATCH] net/ixgbe: enable x550 flexible byte filter

2019-01-01 Thread Wei Zhao
There is need for users to use flexible byte filter on x550. This patch enable it. Fixes: 82fb702077f6 ("ixgbe: support new flow director modes for X550") Fixes: 11777435c727 ("net/ixgbe: parse flow director filter") Signed-off-by: Wei Zhao --- drivers/net/ixgbe/ixgbe_fdir.c | 9 +- drivers/n

[dpdk-dev] [PATCH] net/ixgbe: fix MAT enable for VF in multicast

2019-01-01 Thread Wei Zhao
In ixgbe PMD code, all vf ars set with bit IXGBE_VMOLR_ROMPE, which make vf accept packets that match the MTA table, if some vf update IXGBE_MTA in function ixgbe_vf_set_multicast, then all vf will receive packets from these address. So thhere is need to set VMOLR register bit ROPE onlty after this

Re: [dpdk-dev] [PATCH v2 1/3] net/mlx5: fix shared counter allocation logic

2019-01-01 Thread Mordechay Haimovsky
Hi, Every counter that is created (shared or not) is added to the counters list Therefore every counter destined for removal (i.e. ref_count == 0) should also be Removed from this list. What am I missing ? Moti > -Original Message- > From: Slava Ovsiienko > Sent: Saturday, December

Re: [dpdk-dev] [PATCH] net/ixgbe: enable x550 flexible byte filter

2019-01-01 Thread Zhao1, Wei
Some error in patch send, please ignore this patch. > -Original Message- > From: Zhao1, Wei > Sent: Wednesday, January 2, 2019 2:31 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Wu, Jingjing ; Zhao1, Wei > > Subject: [PATCH] net/ixgbe: enable x550 flexible byte filter > > There is need f

[dpdk-dev] [PATCH 2/2] net/i40e: support VXLAN-GPE classification

2019-01-01 Thread Qiming Yang
Added VXLAN-GPE tunnel filter, supported filter to queue. Signed-off-by: Qiming Yang --- app/test-pmd/cmdline.c | 4 +++- drivers/net/i40e/i40e_ethdev.c | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 51c7fac..7

[dpdk-dev] [PATCH 1/2] net/i40e: add support for VXLAN-GPE

2019-01-01 Thread Qiming Yang
Can recognize new packet type VXLAN-GPE in i40e driver. Added inner IP/TCP/UDP checksum and RSS support for VXLAN-GPE packet. Signed-off-by: Qiming Yang --- app/test-pmd/cmdline.c | 6 -- drivers/net/i40e/i40e_ethdev.c | 13 + lib/librte_ethdev/rte_eth_ctrl.h | 1 +