Thread (14 messages) 14 messages, 5 authors, 2021-03-31

Re: [dpdk-dev] [PATCH 2/6] net/hns3: fix compiling error for using SVE algorithm

From: Honnappa Nagarahalli <hidden>
Date: 2021-03-29 22:13:53

<snip>
Subject: Re: [PATCH 2/6] net/hns3: fix compiling error for using SVE algorithm

On Mon, Mar 29, 2021 at 8:32 PM Aaron Conole [off-list ref]
wrote:
quoted
Ferruh Yigit [off-list ref] writes:
quoted
This is a very obvious build error, I am concerned how this is
released. Do you have any internal testing?

+ Aaron & Honnappa,

If we can have a build test in our public CI with SVE?
Maybe it's possible - we might need to expand the aarch64 cross builds
with a bit of extra information.  I'm not sure which compiler is
needed, though.  Currently, we install whatever ubuntu18.04 is
providing - I don't know if it has the SVE extensions needed.
Honnappa/ARM folks can provide more information that way - though I
would expect it's just a setting that can be changed in the
host_machine or properties section of the cross-config file.

If that's known (maybe we need to use the thunderx2 config or
something else?  I don't know too much about enabling compiler support
for SVE), then we should probably hook it up.
Since, Kunpeng SoC has SVE enabled, we should have a Kunpeng config [1]. We could use that config to compile the code, through cross compile or through SoC target option for meson scripts[2].

[1] http://patches.dpdk.org/project/dpdk/patch/1616808435-25166-2-git-send-email-oulijun@huawei.com/
[2] http://patches.dpdk.org/project/dpdk/patch/1612361037-12746-3-git-send-email-juraj.linkes@pantheon.tech/
Last time I tried SVE builds, I needed a gcc 10 + tweaking cross compiler
config.
http://inbox.dpdk.org/dev/CAJFAV8ywp0qA7qg7cGAhb1ULY72AwjZM6foDB
ej4roYNE8Oy5Q@mail.gmail.com/

Ruifeng had replied there was a gcc 10 for Ubuntu.
Not sure how others compile with SVE.

--
David Marchand
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help