INSTALLTION ERROR: Trex using Napatech_NIC "NT40E3-4-PTP Network Adapter 4x10Gb"

328 views
Skip to first unread message

Umair Shah

unread,
Jun 9, 2021, 5:20:46 AM6/9/21
to TRex Traffic Generator
Hello,
Trex version V2.89
I am trying to build cisco traffic generator (Trex) using NT40E3-4-PTP Network Adapter 4x10Gb. but i am getting the error "ERROR in DPDK map" & " Could not find requested interface 11:00.0/0"

trex_build_error.png
The output of this command "./b configure --no-mlx=NO_MLX --with-ntacc" is as follow,

-----------------------------------------------------------------------------------------------------

root@trex:/opt/trex-core/linux_dpdk# ./b configure --no-mlx=NO_MLX --with-ntacc
Setting top to                           : /opt/trex-core
Setting out to                           : /opt/trex-core/linux_dpdk/build_dpdk
Checking for program 'strings'           : /usr/bin/strings
you have newer 3425 libstdc++.so remove the old one, do not commit this

mv: cannot stat 'scripts/so/x86_64/libstdc++.so.6': No such file or directory
Checking for program 'g++, c++'          : /usr/bin/g++
Checking for program 'ar'                : /usr/bin/ar
Checking for program 'gcc, cc'           : /usr/bin/gcc
Checking for program 'ar'                : /usr/bin/ar
Checking for program 'ldd'               : /usr/bin/ldd
Checking for library z                   : yes
Build sanitized images (GCC >= 4.9.0)    : no
Checking for OFED                        : not found
Checking for library mnl                 : not found, will use internal version
Configuring dummy MLX5 autoconf          : done
Warning: will use internal version of ibverbs. If you need to use Mellanox NICs, install OFED:
https://trex-tgn.cisco.com/tre...
Building mlx5 PMD
Building bnxt PMD
'configure' finished successfully (0.474s)

build_comand_output.png

----------------------------------------------------------------------------------------------------

As per the technical support team of Napatech in the above output i should have the line "Checking for NTAPI: Found needed NTAPI library". 

-----------------------------------------------------------------------------------------------------

If anyone faced the same problem and found the solution for this please let me know also i am stuck here from last 15 days.

Best Regards,

hanoh haim

unread,
Jun 9, 2021, 9:02:24 AM6/9/21
to Umair Shah, TRex Traffic Generator
Hi Umair, 
Every DPDK library upgrade,  napatech dpdk driver is commented out because it is not backward compatible with the new API. 
I would ask the napatech maintainer to fix it and re-enable it in the latest master branch. 


Thanks
Hanoh

Umair Shah

unread,
Jun 9, 2021, 10:08:05 AM6/9/21
to TRex Traffic Generator
Hi Hanoch,

Thank you for your response, i will wait for the update. 

Best Regards,

Umair

unread,
Jun 30, 2021, 8:08:50 AM6/30/21
to TRex Traffic Generator
Hello Hanoch,

Napatech driver has been upgraded to DPDK version 21.05 recently. Now will Trex V2.89 support Napatech Adapters ?

Best Regards, 

On Wednesday, June 9, 2021 at 3:02:24 PM UTC+2 Hanoch Haim wrote:

hanoh haim

unread,
Jun 30, 2021, 9:04:05 AM6/30/21
to Umair, TRex Traffic Generator
It should be pushed to trex repo 

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/trex-tgn/2ed6b7b2-6954-453a-8e63-e8a15d0a1fd9n%40googlegroups.com.
--
Hanoh
Sent from my iPhone

Umair

unread,
Jul 13, 2021, 3:11:04 AM7/13/21
to TRex Traffic Generator
Hello Hanoch,

Does new Trex version V2.90, has support for Napatech Adapters??

Best Regards,

hanoh haim

unread,
Jul 13, 2021, 3:30:11 AM7/13/21
to Umair, TRex Traffic Generator
Hi, no there wasn't a PR to fix the build issues. You need to ask Napatech driver guys to build and test it. then they can send a PR with the fix

Thanks
Hanoh
Reply all
Reply to author
Forward
0 new messages