napatech error message

86 views
Skip to first unread message

gmo...@gmail.com

unread,
Aug 22, 2018, 8:36:32 AM8/22/18
to TRex Traffic Generator
Hi all, using TRex 2.44 on Ubuntu 18.04 there are error messages with Napatech that is not installed.
We are using Intel Gigabit chipset I210. TRex is working nice but we were looking at a way to avoid the Napatech error messages:

<code>
sudo ./t-rex-64 -i -c 2
Could not run Napatech adapterinfo to obtain MAC address

Could not run Napatech imgctrl to obtain MAC address

Could not run Napatech adapterinfo to obtain MAC address

Could not run Napatech imgctrl to obtain MAC address

WARNING: tried to configure 2048 hugepages for socket 0, but result is: 1819
Starting Scapy server...... Scapy server is started
Trying to bind to igb_uio ...
/usr/bin/python dpdk_nic_bind.py --bind=igb_uio 0000:03:00.0 0000:04:00.0
Could not run Napatech adapterinfo to obtain MAC address

Could not run Napatech imgctrl to obtain MAC address

Could not run Napatech adapterinfo to obtain MAC address

Could not run Napatech imgctrl to obtain MAC address

The ports are bound/configured.
Starting TRex v2.44 please wait ...
set driver name net_e1000_igb
driver capability : TCP_UDP_OFFLOAD TSO
Number of ports found: 2
zmq publisher at: tcp://*:4500
</code>

Thanks
Regards

Yaroslav Brustinov

unread,
Aug 22, 2018, 9:12:59 AM8/22/18
to gmo...@gmail.com, TRex Traffic Generator
Hi,

Thanks for notifying.
Could you attach output of "sudo lspci -mm"?

Thanks,
Yaroslav.

gmo...@gmail.com

unread,
Aug 22, 2018, 9:14:05 AM8/22/18
to TRex Traffic Generator
00:00.0 "Host bridge" "Advanced Micro Devices, Inc. [AMD]" "Device 1566" "Advanced Micro Devices, Inc. [AMD]" "Device 1566"
00:02.0 "Host bridge" "Advanced Micro Devices, Inc. [AMD]" "Device 156b" "" ""
00:02.1 "PCI bridge" "Advanced Micro Devices, Inc. [AMD]" "Family 16h Processor Functions 5:1" "" ""
00:02.2 "PCI bridge" "Advanced Micro Devices, Inc. [AMD]" "Family 16h Processor Functions 5:1" "" ""
00:02.3 "PCI bridge" "Advanced Micro Devices, Inc. [AMD]" "Family 16h Processor Functions 5:1" "" ""
00:02.4 "PCI bridge" "Advanced Micro Devices, Inc. [AMD]" "Family 16h Processor Functions 5:1" "" ""
00:02.5 "PCI bridge" "Advanced Micro Devices, Inc. [AMD]" "Family 16h Processor Functions 5:1" "" ""
00:08.0 "Encryption controller" "Advanced Micro Devices, Inc. [AMD]" "Device 1537" "Advanced Micro Devices, Inc. [AMD]" "Device 1537"
00:10.0 "USB controller" "Advanced Micro Devices, Inc. [AMD]" "FCH USB XHCI Controller" -r11 -p30 "Advanced Micro Devices, Inc. [AMD]" "FCH USB XHCI Controller"
00:11.0 "SATA controller" "Advanced Micro Devices, Inc. [AMD]" "FCH SATA Controller [IDE mode]" -r40 -p01 "Advanced Micro Devices, Inc. [AMD]" "FCH SATA Controller [IDE mode]"
00:13.0 "USB controller" "Advanced Micro Devices, Inc. [AMD]" "FCH USB EHCI Controller" -r39 -p20 "Advanced Micro Devices, Inc. [AMD]" "FCH USB EHCI Controller"
00:14.0 "SMBus" "Advanced Micro Devices, Inc. [AMD]" "FCH SMBus Controller" -r42 "Advanced Micro Devices, Inc. [AMD]" "FCH SMBus Controller"
00:14.3 "ISA bridge" "Advanced Micro Devices, Inc. [AMD]" "FCH LPC Bridge" -r11 "Advanced Micro Devices, Inc. [AMD]" "FCH LPC Bridge"
00:14.7 "SD Host controller" "Advanced Micro Devices, Inc. [AMD]" "FCH SD Flash Controller" -r01 -p01 "Advanced Micro Devices, Inc. [AMD]" "FCH SD Flash Controller"
00:18.0 "Host bridge" "Advanced Micro Devices, Inc. [AMD]" "Device 1580" "" ""
00:18.1 "Host bridge" "Advanced Micro Devices, Inc. [AMD]" "Device 1581" "" ""
00:18.2 "Host bridge" "Advanced Micro Devices, Inc. [AMD]" "Device 1582" "" ""
00:18.3 "Host bridge" "Advanced Micro Devices, Inc. [AMD]" "Device 1583" "" ""
00:18.4 "Host bridge" "Advanced Micro Devices, Inc. [AMD]" "Device 1584" "" ""
00:18.5 "Host bridge" "Advanced Micro Devices, Inc. [AMD]" "Device 1585" "" ""
01:00.0 "Network controller" "Qualcomm Atheros" "QCA986x/988x 802.11ac Wireless Network Adapter" "" ""
02:00.0 "Ethernet controller" "Intel Corporation" "I210 Gigabit Network Connection" -r03 "Intel Corporation" "I210 Gigabit Network Connection"
03:00.0 "Ethernet controller" "Intel Corporation" "I210 Gigabit Network Connection" -r03 "Intel Corporation" "I210 Gigabit Network Connection"
04:00.0 "Ethernet controller" "Intel Corporation" "I210 Gigabit Network Connection" -r03 "Intel Corporation" "I210 Gigabit Network Connection"
05:00.0 "Network controller" "Qualcomm Atheros" "QCA986x/988x 802.11ac Wireless Network Adapter" "" ""

Yaroslav Brustinov

unread,
Aug 22, 2018, 9:25:53 AM8/22/18
to gmo...@gmail.com, TRex Traffic Generator
Thanks, will be fixed in next version.

You can use dirty hack for now:
Edit dpdk_nic_bind.py file, give some dummy value to this variable:
NAPATECH_CLASS



--
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+unsubscribe@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/abba4485-2cf9-4517-b487-d35f1996d20f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

gmo...@gmail.com

unread,
Aug 22, 2018, 9:28:31 AM8/22/18
to TRex Traffic Generator
Le mercredi 22 août 2018 15:25:53 UTC+2, y.brustinov a écrit :
> Thanks, will be fixed in next version.
>
>
> You can use dirty hack for now:
> Edit dpdk_nic_bind.py file, give some dummy value to this variable:
> NAPATECH_CLASS
>
>
>

The current value is already:

NAPATECH_CLASS = "0280"

Yaroslav Brustinov

unread,
Aug 22, 2018, 9:46:31 AM8/22/18
to gmo...@gmail.com, TRex Traffic Generator
Hi,

Please change the value to some garbage.
It was taken as Napatech only in some pull request, but it's not only Napatech, it's "Network controller", and you have it in your system.
In next release we will have more strict check for Napatech NICs.

Thanks,
Yaroslav

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to trex...@googlegroups.com.

gmo...@gmail.com

unread,
Aug 22, 2018, 9:51:06 AM8/22/18
to TRex Traffic Generator
Le mercredi 22 août 2018 15:46:31 UTC+2, y.brustinov a écrit :
> Hi,
>
>
> Please change the value to some garbage.
> It was taken as Napatech only in some pull request, but it's not only Napatech, it's "Network controller", and you have it in your system.
> In next release we will have more strict check for Napatech NICs.
>
>
> Thanks,
> Yaroslav
>
>

Right, the workaround is working.
Thanks
Reply all
Reply to author
Forward
0 new messages