Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] In the ARM environment, compiling dperf with a DPDK version of RTE_VERSION_NUM(20, 0, 0, 0) or higher results in an error. #464

Closed
chcchc88 opened this issue Jul 8, 2024 · 4 comments

Comments

@chcchc88
Copy link
Contributor

chcchc88 commented Jul 8, 2024

Describe the bug
dpdk version:20-11-lts
dperf version:v1.7.0
compiler: aarch64-linux-gnu-gcc
Compiling dperf error in this environment.

To Reproduce
Steps to reproduce the behavior:

  1. Compile the library for dpdk20-11-lts.
  2. Specify the libdpdk.pc path in the Makefile file of dperf.
  3. Execute make in the dperf directory.
  4. Compilation error occurred.

Expected behavior
Modify the code of the src/dpdk.c file to resolve compilation errors.

Screenshots
企业微信截图_17204066158736

@pengjianzhang
Copy link
Collaborator

I fixed it in this branch, could you please test it? Thanks.
https://github.com/pengjianzhang/dperf

@chcchc88
Copy link
Contributor Author

chcchc88 commented Jul 8, 2024

The modification compiles correctly, but the reason for this failure is that the header file rte_vect.h is not included. Would it be more appropriate to include this header file, even though currently arm does not support 512-bit wide SIMDs?

@pengjianzhang
Copy link
Collaborator

pengjianzhang commented Jul 8, 2024

could you submit a pull-request to fix it? I don't have a ARM env right now.

@chcchc88
Copy link
Contributor Author

chcchc88 commented Jul 8, 2024

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants