Re: [dpdk-dev] [PATCH v8 2/2] net/hns3: refactor SVE code compile method

2021-06-12 Thread fengchengwen
Friendly ping On 2021/5/27 15:07, Fengchengwen wrote: > > Hi, Ferruh > > Could you review this patch ? Thanks > > > From:Ruifeng Wang > To:Fengchengwen ;Thomas Monjalon > ;ferruh.yigit > Cc:dev ;Jerin Jacob ;viktorin > ;Richardson, Bruce > ;Honnappa Nagarahalli > ;jerinjacobk ;Juraj

Re: [dpdk-dev] [PATCH v8 2/2] net/hns3: refactor SVE code compile method

2021-05-27 Thread Fengchengwen
Hi, Ferruh Could you review this patch ? Thanks From:Ruifeng Wang To:Fengchengwen ;Thomas Monjalon ;ferruh.yigit Cc:dev ;Jerin Jacob ;viktorin ;Richardson, Bruce ;Honnappa Nagarahalli ;jerinjacobk ;Juraj Linkeš ;nd ;nd Date:2021-05-25 14:04:52 Subject:RE: [PATCH v8 2/2] net/hns3: re

Re: [dpdk-dev] [PATCH v8 2/2] net/hns3: refactor SVE code compile method

2021-05-24 Thread Ruifeng Wang
> -Original Message- > From: Chengwen Feng > Sent: Monday, May 24, 2021 9:23 PM > To: tho...@monjalon.net; ferruh.yi...@intel.com > Cc: dev@dpdk.org; jer...@marvell.com; Ruifeng Wang > ; vikto...@rehivetech.com; > bruce.richard...@intel.com; Honnappa Nagarahalli > ; jerinjac...@gmail.com;

[dpdk-dev] [PATCH v8 2/2] net/hns3: refactor SVE code compile method

2021-05-24 Thread Chengwen Feng
Currently, the SVE code is compiled only when -march supports SVE (e.g. '-march=armv8.2a+sve'), there maybe some problem[1] with this approach. The solution: a. If the minimum instruction set support SVE then compiles it. b. Else if the compiler support SVE then compiles it. c. Otherwise don't com