ansyun / dpdk-ans

ANS(Accelerated Network Stack) on DPDK, DPDK native TCP/IP stack.
https://ansyun.com
BSD 3-Clause "New" or "Revised" License
1.15k stars 322 forks source link

Skylake arch #136

Open imanom opened 3 years ago

imanom commented 3 years ago

Hi, I need to get dpdk and ansi up and running but I have skylake arch and I get the below message:

Your native march is none of westmere/sandybridge/ivybridge/haswell/broadwell/knl.
You may generate librte_ans.a/librte_anssock.a based on your -mnative by manual,
Or ask help from ANS develop team.

Is there any workaround that I can do to get this working?

ericcurtin commented 2 years ago

Same question, I'm on icelake:

Start to generate librte_ans.a/librte_anssock.a/librte_anscli.a for -mnative.
Your native march is icelake-client
Knownvalidargumentsfor-march=option:.
./install_deps.sh: 22: [: icelake-client: unexpected operator
./install_deps.sh: 38: [: icelake-client: unexpected operator
./install_deps.sh: 54: [: icelake-client: unexpected operator
./install_deps.sh: 70: [: icelake-client: unexpected operator
./install_deps.sh: 86: [: icelake-client: unexpected operator
./install_deps.sh: 102: [: icelake-client: unexpected operator
./install_deps.sh: 118: [: icelake-client: unexpected operator
Your native march is none of westmere/sandybridge/ivybridge/haswell/broadwell/knl.
You may generate librte_ans.a/librte_anssock.a based on your -mnative by manual,
Or ask help from ANS develop team.
core2:Intel Core 2 CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3 and SSSE3 instruction set support.
westmere:Intel Westmere CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, AES and PCLMUL instruction set support.
sandybridge:Intel Sandy Bridge CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, AVX, AES and PCLMUL instruction set support.
ivybridge:Intel Ivy Bridge CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, AVX, AES, PCLMUL, FSGSBASE, RDRND and F16C instruction set support.
haswell:Intel Haswell CPU with 64-bit extensions, MOVBE, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, AVX, AVX2, AES, PCLMUL, FSGSBASE, RDRND, FMA, BMI, BMI2 and F16C instruction set support.
broadwell:Intel Broadwell CPU with 64-bit extensions, MOVBE, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, AVX, AVX2, AES, PCLMUL, FSGSBASE, RDRND, FMA, BMI, BMI2, F16C, RDSEED, ADCX and PREFETCHW instruction set support.
knl:Intel Knight's Landing CPU with 64-bit extensions, MOVBE, MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, POPCNT, AVX, AVX2, AES, PCLMUL, FSGSBASE, RDRND, FMA, BMI, BMI2, F16C, RDSEED, ADCX, PREFETCHW, AVX512F, AVX512PF, AVX512ER and AVX512CD instruction set support..
ericcurtin commented 2 years ago

I notice all the script does is remove a like and create a symlink @imanom

eddyvv commented 1 year ago

May I ask whether this problem has been solved? I have encountered it, too.

attdone commented 3 weeks ago

Is it resolved, may I know how it is solved?