Re: [ovs-dev] [PATCH] dpif-netdev-perf: aarch64 support for accurate timing update of TSC cycle counter

2019-11-26 Thread Yanqin Wei (Arm Technology China)
Hi Ilya, No, we didn't test this patch based on OVS-AF_XDP, but made a black build to enable this in OVS-DPDK and test it. Currently DPDK-AF_XDP has been tested in latest kernel (not released). So I think OVS-AF_XDP is close to be supported for aarch64. Furthermore, I found a document about

Re: [ovs-dev] [PATCH v1] netdev: use acquire-release semantics for change_seq in netdev

2019-11-25 Thread Yanqin Wei (Arm Technology China)
age- > From: Ben Pfaff > Sent: Tuesday, November 26, 2019 5:54 AM > To: Yanqin Wei (Arm Technology China) > Cc: d...@openvswitch.org; ovs-dev@openvswitch.org; nd ; > Gavin Hu (Arm Technology China) > Subject: Re: [ovs-dev] [PATCH v1] netdev: use acquire-release seman

Re: [ovs-dev] [PATCH v1 2/4] travis: Move x86-only addon packages

2019-11-22 Thread Yanqin Wei (Arm Technology China)
Hi Ilya, Reply inline. Best Regards, Wei Yanqin > -Original Message- > From: dev On Behalf Of Ilya Maximets > Sent: Friday, November 22, 2019 3:30 AM > To: Lance Yang (Arm Technology China) ; > d...@openvswitch.org; ovs-dev@openvswitch.org > Cc: Jieqiang Wang (Arm Technology China) ; >

Re: [ovs-dev] [bug-report] bfd decay unit case failure

2019-11-22 Thread Yanqin Wei (Arm Technology China)
Hi Ben, This issue is difficult to reproduce in local machine. We will try to do it. Could you suggest the log we need to collect or enable? Best Regards, Wei Yanqin > -Original Message- > From: dev On Behalf Of Ben Pfaff > Sent: Friday, November 22, 2019 1:34 AM > To: Lance Yang

Re: [ovs-dev] [PATCH v1 2/2] cmap: non-blocking cmap lookup

2019-11-18 Thread Yanqin Wei (Arm Technology China)
l be found in anther candidate bucket. Best Regards, Wei Yanqin > -Original Message- > From: Ilya Maximets > Sent: Tuesday, November 19, 2019 12:06 AM > To: Ola Liljedahl ; i.maxim...@ovn.org; Yanqin Wei > (Arm Technology China) ; ovs-dev@openvswitch.org > Cc: Gavin Hu (Arm

Re: [ovs-dev] [PATCH v3] travis: support ppc64le builds

2019-11-08 Thread Yanqin Wei (Arm Technology China)
Hi David > -Original Message- > From: David Wilder > Sent: Thursday, November 7, 2019 3:21 AM > To: ovs-dev@openvswitch.org > Cc: i.maxim...@ovn.org; b...@ovn.org; Yanqin Wei (Arm Technology China) > ; wil...@us.ibm.com > Subject: [PATCH v3] travis: support ppc64le b

Re: [ovs-dev] [PATCH ] travis: support ppc64le builds

2019-11-07 Thread Yanqin Wei (Arm Technology China)
Hi David, I am sorry to reply this late. Yes, if travis support this configuration, it should be a good solution for me. Best regards, Wei Yanqin -Original Message- From: dwilder Sent: Wednesday, November 6, 2019 4:32 AM To: Yanqin Wei (Arm Technology China) Cc: Ilya Maximets ; ovs

Re: [ovs-dev] [PATCH ] travis: support ppc64le builds

2019-11-02 Thread Yanqin Wei (Arm Technology China)
Yanqin -Original Message- From: dwilder Sent: Saturday, November 2, 2019 1:09 AM To: Yanqin Wei (Arm Technology China) Cc: Ilya Maximets ; ovs-dev@openvswitch.org; wil...@us.ibm.com; nd Subject: Re: RE: [ovs-dev] [PATCH ] travis: support ppc64le builds On 2019-10-30 19:04, Yanqin Wei

Re: [ovs-dev] [PATCH ] travis: support ppc64le builds

2019-10-30 Thread Yanqin Wei (Arm Technology China)
Hi, We are working to support arm64 build for ovs travis CI. It is indeed to use arch: arm64 to choose cpu architecture, because travis has provided native arm64 option now. But in this patch it seems ppc64 builds run on the ppc-VM + x86 native machine. Currently arm only select a part of

Re: [ovs-dev] SIGILL ovs branch-2.12/arm64/DPDK

2019-09-05 Thread Yanqin Wei (Arm Technology China)
Thanks James, I can understand the root cause now. Best Regards, Wei Yanqin From: James Page Sent: Thursday, September 5, 2019 3:42 PM To: Yanqin Wei (Arm Technology China) Cc: Ilya Maximets ; ovs-dev@openvswitch.org Subject: Re: [ovs-dev] SIGILL ovs branch-2.12/arm64/DPDK On Thu, Sep 5, 2019

Re: [ovs-dev] SIGILL ovs branch-2.12/arm64/DPDK

2019-09-05 Thread Yanqin Wei (Arm Technology China)
Hi Ilya, Thanks for the clarification. It looks application is strong couple with DPDK. I will follow your discussion under this bug. Best Regards, Wei Yanqin -Original Message- From: Ilya Maximets Sent: Thursday, September 5, 2019 3:41 PM To: Yanqin Wei (Arm Technology China) ; James

Re: [ovs-dev] SIGILL ovs branch-2.12/arm64/DPDK

2019-09-05 Thread Yanqin Wei (Arm Technology China)
- From: Ilya Maximets Sent: Wednesday, September 4, 2019 8:46 PM To: Yanqin Wei (Arm Technology China) ; James Page Cc: ovs-dev@openvswitch.org Subject: Re: [ovs-dev] SIGILL ovs branch-2.12/arm64/DPDK BTW, I submitted a bug to DPDK: https://bugs.dpdk.org/show_bug.cgi?id=344 Best regards, Ilya

Re: [ovs-dev] SIGILL ovs branch-2.12/arm64/DPDK

2019-09-04 Thread Yanqin Wei (Arm Technology China)
Understood. Thanks for the information. Best Regards, Wei Yanqin From: James Page Sent: Wednesday, September 4, 2019 5:45 PM To: Yanqin Wei (Arm Technology China) Cc: Ilya Maximets ; ovs-dev@openvswitch.org Subject: Re: [ovs-dev] SIGILL ovs branch-2.12/arm64/DPDK Hi On Wed, Sep 4, 2019 at 10

Re: [ovs-dev] SIGILL ovs branch-2.12/arm64/DPDK

2019-09-04 Thread Yanqin Wei (Arm Technology China)
Hi James, CRC32 is not a mandatory feature for Armv8.0. What is the arm64 CPU used in your platform? I'm not sure if it's necessary to use mandatory feature (neon) to optimize hash libraries, because I thought most arm64 CPUs supported CRC32. Best Regards, Wei Yanqin -Original

Re: [ovs-dev] [PATCH v2] flow: miniflow_extract metadata branchless optimization

2019-08-30 Thread Yanqin Wei (Arm Technology China)
Yanqin -Original Message- From: Ilya Maximets Sent: Thursday, August 29, 2019 9:46 PM To: Yanqin Wei (Arm Technology China) ; Ben Pfaff Cc: d...@openvswitch.org; nd ; Gavin Hu (Arm Technology China) Subject: Re: [ovs-dev] [PATCH v2] flow: miniflow_extract metadata branchless

Re: [ovs-dev] [PATCH v2] flow: miniflow_extract metadata branchless optimization

2019-08-29 Thread Yanqin Wei (Arm Technology China)
data-oriented and well-defined flag to bypass some time-consuming handling, it can improve performance a lot. Best Regards, Wei Yanqin -Original Message- From: Ben Pfaff Sent: Thursday, August 29, 2019 6:11 AM To: Yanqin Wei (Arm Technology China) ; Ilya Maximets Cc: d

Re: [ovs-dev] [PATCH v2] flow: fix incorrect padding length checking and combine branch in ipv6_sanity_check

2019-08-29 Thread Yanqin Wei (Arm Technology China)
patch. What do you think of it? Best Regards, Wei Yanqin -Original Message- From: Ben Pfaff Sent: Thursday, August 29, 2019 5:58 AM To: Yanqin Wei (Arm Technology China) Cc: d...@openvswitch.org; nd ; Gavin Hu (Arm Technology China) Subject: Re: [ovs-dev] [PATCH v2] flow: fix incor

Re: [ovs-dev] OVS compiling issue(gcc version 6.5.0 )

2019-06-04 Thread Yanqin Wei (Arm Technology China)
your support. Best Regards, Wei Yanqin -Original Message- From: Ben Pfaff Sent: Tuesday, June 4, 2019 7:11 AM To: Yanqin Wei (Arm Technology China) Cc: ovs-disc...@openvswitch.org; d...@openvswitch.org Subject: Re: [ovs-dev] OVS compiling issue(gcc version 6.5.0 ) On Mon, Jun 03, 2019

[ovs-dev] OVS compiling issue(gcc version 6.5.0 )

2019-06-03 Thread Yanqin Wei (Arm Technology China)
Hi, I am trying to compile OVS(master branch) via gcc 6.5.0, but there is gcc option error. gcc: error: unrecognized command line option '-Wmultistatement-macros'; did you mean '-Wunused-macros'? My question is which versions of GCC are supported by OVS. Is it a bug of OVS compiling? The

Re: [ovs-dev] [PATCHv9] netdev-afxdp: add new netdev type for AF_XDP.

2019-05-26 Thread Yanqin Wei (Arm Technology China)
Hi William, I think the main objective of this patch is to introduce AF_XDP socket for OVS userspace datapath. This is an alternative to DPDK PMD library. Is it possible to continue using other DPDK libraries before XDP provides the corresponding functionality? Best Regards, Wei Yanqin

Re: [ovs-dev] [PATCH v3] dpif-netdev: dfc_process optimization by prefetching EMC entry.

2019-04-01 Thread Yanqin Wei (Arm Technology China)
be avoided by configuration. Is my understanding correct? Best Regards, Wei Yanqin -Original Message- From: Ilya Maximets Sent: Monday, April 1, 2019 3:15 PM To: Yanqin Wei (Arm Technology China) ; d...@openvswitch.org; ian.sto...@intel.com Cc: nd ; Gavin Hu (Arm Technology China) Subject

Re: [ovs-dev] [PATCH v3] dpif-netdev: dfc_process optimization by prefetching EMC entry.

2019-04-01 Thread Yanqin Wei (Arm Technology China)
will try to improve it . For 1-8 flows cases, it should be not very important because of the lack of actual deployment. Best Regards, Wei Yanqin -Original Message- From: Ilya Maximets Sent: Monday, April 1, 2019 2:16 PM To: Yanqin Wei (Arm Technology China) ; d...@openvswitch.org

Re: [ovs-dev] [PATCH v3] dpif-netdev: dfc_process optimization by prefetching EMC entry.

2019-03-25 Thread Yanqin Wei (Arm Technology China)
even in worst case(EMC/SMC disable & no hash-feature/load balance enable). Best Regards, Wei Yanqin -Original Message- From: Ilya Maximets Sent: Friday, March 22, 2019 9:12 PM To: Yanqin Wei (Arm Technology China) ; d...@openvswitch.org; ian.sto...@intel.com Cc: nd Subject: Re:

Re: [ovs-dev] [PATCH v3] dpif-netdev: dfc_process optimization by prefetching EMC entry.

2019-03-24 Thread Yanqin Wei (Arm Technology China)
: Ian Stokes Sent: Monday, March 25, 2019 6:16 AM To: Yanqin Wei (Arm Technology China) ; d...@openvswitch.org Cc: nd ; Gavin Hu (Arm Technology China) ; Ilya Maximets Subject: Re: [ovs-dev] [PATCH v3] dpif-netdev: dfc_process optimization by prefetching EMC entry. On 3/13/2019 5:27 AM, Yanqin

Re: [ovs-dev] [PATCH v3] dpif-netdev: dfc_process optimization by prefetching EMC entry.

2019-03-22 Thread Yanqin Wei (Arm Technology China)
Hi , OVS Maintainers, Could you help to have a look at this patch? Thanks a lot. Best Regards, Wei Yanqin -Original Message- From: Yanqin Wei Sent: Wednesday, March 13, 2019 1:28 PM To: d...@openvswitch.org Cc: nd ; Gavin Hu (Arm Technology China) ; Yanqin Wei (Arm Technology China

Re: [ovs-dev] [ovs-dev, v2] netdev-dpdk: dfc_process optimization by

2019-03-12 Thread Yanqin Wei (Arm Technology China)
Thanks for the comments. It will be fixed in the following patch v3. -Original Message- From: Ilya Maximets Sent: Tuesday, March 12, 2019 9:31 PM To: Yanqin Wei (Arm Technology China) ; d...@openvswitch.org Cc: nd ; Gavin Hu (Arm Technology China) Subject: Re: [ovs-dev,v2] netdev-dpdk

Re: [ovs-dev] [PATCH v1 1/1] hash: Enable hash_bytes128 optimization for aarch64.

2019-02-26 Thread Yanqin Wei (Arm Technology China)
Hi Ben, Sorry for the format issue. I will resubmit it by "git send-email". Best Regards, Wei Yanqin -Original Message- From: Ben Pfaff Sent: Saturday, February 23, 2019 5:03 AM To: Yanqin Wei (Arm Technology China) Cc: d...@openvswitch.org Subject: Re: [ovs-dev] [PATCH v1

[ovs-dev] [PATCH v1 1/1] hash: Enable hash_bytes128 optimization for aarch64.

2019-02-17 Thread Yanqin Wei (Arm Technology China)
"hash_bytes128" has two versions for 64 bits and 32 bits system. This should be common optimization for their respective platforms. But 64 bits version was only enabled in x86-64. This patch enable it for aarch64 platform. Micro benchmarking test was run in two kinds of arm platform. It was

[ovs-dev] [PATCH v1 1/1] hash: Implement hash for aarch64 using CRC32c intrinsics.

2019-01-25 Thread Yanqin Wei (Arm Technology China)
This commit adds lib/hash-aarch64.h to implement hash for aarch64. It is based on aarch64 built-in CRC32c intrinsics, which accelerates hash function for datapath performance. test: 1. "test-hash" case passed in aarch64 platform. 2. OVS-DPDK datapth performance test was run(NIC to NIC). Test