On 5/14/2021 3:12 PM, Honnappa Nagarahalli wrote: > <snip> > >> >> 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 compile it. >> >> [1] https://mails.dpdk.org/archives/dev/2021-April/208189.html >> >> Fixes: 8c25b02b082a ("net/hns3: fix enabling SVE Rx/Tx") >> Fixes: 952ebacce4f2 ("net/hns3: support SVE Rx") >> Cc: sta...@dpdk.org >> >> Signed-off-by: Chengwen Feng <fengcheng...@huawei.com> > Looks good to me. > Reviewed-by: Honnappa Nagarahalli <honnappa.nagaraha...@arm.com> >
Applied to dpdk-next-net/main, thanks. (Only this patch, 2/2, applied, not whole set)