Running trex on arm64

614 views
Skip to first unread message

katre

unread,
Apr 26, 2018, 4:37:01 AM4/26/18
to TRex Traffic Generator
Hi 
Does trex support arm64 architecture?

I was able to compile the sources  but couldn't run the application due to multiple issues  
  1. dpdk_setup_ports.py crashes while saving config to a file .
         File "./dpdk_setup_ports.py", line 220, in create_config
    lcores_pool[numa]['all'] = lcores_pool[numa]['all'][lcores_per_dual_if:]
         KeyError: 0
  2.  sudo ./t-rex-64 --cfg /etc/trex_cfg.yaml  -i  
    from . import (constants, error, message, context,\nImportError: cannot import name \'constants\'\n'  (Compiled zmq separately and copied to pyzmq-14.5.0/python2/arm/ucs4/64bit/zmq but error remains same)


any inputs are appreciated.



hanoh haim

unread,
Apr 26, 2018, 5:30:27 AM4/26/18
to katre, TRex Traffic Generator
Try v2.40

--
You received this message because you are subscribed to the Google Groups "TRex Traffic Generator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+u...@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/86b88eb3-78c1-40a8-bc07-3d625d9dad50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Hanoh
Sent from my iPhone

katre

unread,
Apr 26, 2018, 6:06:39 AM4/26/18
to TRex Traffic Generator
Hi Hanoh, 
Seems V2.40 (http://trex-tgn.cisco.com/trex/release/v2.40.tar.gz) binaries are pre-compiled for X86 arch. Is there a way to get the same for aarch64?

warning: TCG doesn't support requested feature: CPUID.01H:......
/lib64/ld-linux-x86-64.so.2: No such file or directory.

I followed below steps to compile manually for aarch64 

./b configure
./b build

Thanks

hanoh haim

unread,
Apr 26, 2018, 6:09:35 AM4/26/18
to katre, TRex Traffic Generator
Hi, 

You are right, you should build it from scratch see the wiki how (our package is for x86).
We are not testing arm so it might not work. 

thanks,
Hanoh

To unsubscribe from this group and stop receiving emails from it, send an email to trex-tgn+unsubscribe@googlegroups.com.

To post to this group, send email to trex...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages