Re: [dpdk-dev] [PATCH] net/i40e: fix statistics inconsistent issue

2018-12-15 Thread Zhang, Qi Z
> -Original Message- > From: Li, Xiaoyun > Sent: Thursday, December 6, 2018 2:04 PM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Li, Xiaoyun ; sta...@dpdk.org > Subject: [PATCH] net/i40e: fix statistics inconsistent issue > > Port packets excluding pf VSI discards were used for packet count.

Re: [dpdk-dev] [PATCH v3 34/34] net/ice: support meson build

2018-12-15 Thread Lu, Wenzhuo
> -Original Message- > From: Yigit, Ferruh > Sent: Friday, December 14, 2018 4:48 PM > To: Lu, Wenzhuo ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v3 34/34] net/ice: support meson build > > On 12/14/2018 2:38 AM, Lu, Wenzhuo wrote: > <...> > > >>> @@ -0,0 +1,30 @@ > >>> +# SPDX-Licens

[dpdk-dev] [PATCH v3 3/3] app/testpmd: further improve MAC swap performance for x86

2018-12-15 Thread Qi Zhang
Do four packets macswap in same loop iterate to squeeze more CPU cycles. Signed-off-by: Qi Zhang --- app/test-pmd/macswap_sse.h | 62 +- 1 file changed, 50 insertions(+), 12 deletions(-) diff --git a/app/test-pmd/macswap_sse.h b/app/test-pmd/macswap_s

[dpdk-dev] [PATCH v3 0/3] improve MAC swap performance

2018-12-15 Thread Qi Zhang
Improved testpmd macswap performance for x86 by take advantage of SSE instructions. On a broadwell 1.6GHz sever with a i40e 25G NIC. We abserve 17.7% performance improvement for testpmd's macswap test. v3: - fix wrong comment after #endif. - fix EOF space line. - add comment to explain shuffle mas

[dpdk-dev] [PATCH v3 2/3] app/testpmd: improve MAC swap performance for x86

2018-12-15 Thread Qi Zhang
The patch optimizes the mac swap operation by taking advantage of SSE instructions, it only impacts x86 platform. Signed-off-by: Qi Zhang --- app/test-pmd/macswap.c | 4 app/test-pmd/macswap_sse.h | 49 ++ 2 files changed, 53 insertions(+) c

[dpdk-dev] [PATCH v3 1/3] app/testpmd: code refactory for macswap

2018-12-15 Thread Qi Zhang
Move macswap workload to dedicate function, so we can further enable platform specific optimized version. Signed-off-by: Qi Zhang --- app/test-pmd/macswap.c| 32 ++ app/test-pmd/macswap.h| 40 + app/test-pmd/macswap_

Re: [dpdk-dev] [PATCH v2] eal: remove variable length array

2018-12-15 Thread Wiles, Keith
> On Dec 14, 2018, at 2:40 PM, Jeff Shaw wrote: > > Compilers that do not support the C99 standard, or do not implement > gcc extensions, may not support variable length arrays. > > The code prior to this commit produced the following warning when > compiled with "-Wvla -std=c90". > > warnin

Re: [dpdk-dev] [PATCH v2 2/3] eal: add new rte color definition

2018-12-15 Thread Mattias Rönnblom
On 2018-12-15 00:35, Ananyev, Konstantin wrote: Hi Reshma, diff --git a/lib/librte_eal/common/include/rte_color.h b/lib/librte_eal/common/include/rte_color.h new file mode 100644 index 0..f4387071b --- /dev/null +++ b/lib/librte_eal/common/include/rte_color.h @@ -0,0 +1,18 @@ +/* SPDX-

Re: [dpdk-dev] 16.11.9 (LTS) patches review and test

2018-12-15 Thread Luca Boccassi
On Thu, 2018-12-13 at 10:35 +, Luca Boccassi wrote: > On Mon, 2018-12-10 at 18:38 +, Luca Boccassi wrote: > > On Thu, 2018-11-29 at 16:23 +, Luca Boccassi wrote: > > > Hi all, > > > > > > Here is a list of patches targeted for LTS release 16.11.9. > > > Please > > > help review and tes