10G interfaces showing as 1G - version 2.95 - loopback test

228 views
Skip to first unread message

Harry Tenglar

unread,
Feb 28, 2022, 12:16:36 AM2/28/22
to TRex Traffic Generator

Hi,
When running stateless the two interfaces are showing as 1000 Mbps but when port setup, interfaces are marked as 10G.

Network devices using DPDK-compatible driver
============================================
0000:b5:00.2 'Ethernet Connection X722 for 10GbE SFP+' drv=igb_uio unused=i40e,vfio-pci,uio_pci_generic
0000:b5:00.3 'Ethernet Connection X722 for 10GbE SFP+' drv=igb_uio unused=i40e,vfio-pci,uio_pci_generic

Network devices using kernel driver
===================================
0000:66:00.0 'I350 Gigabit Network Connection' if=eno1 drv=igb unused=igb_uio,vfio-pci,uio_pci_generic
0000:66:00.1 'I350 Gigabit Network Connection' if=eno2 drv=igb unused=igb_uio,vfio-pci,uio_pci_generic *Active*
0000:66:00.2 'I350 Gigabit Network Connection' if=eno3 drv=igb unused=igb_uio,vfio-pci,uio_pci_generic
0000:66:00.3 'I350 Gigabit Network Connection' if=eno4 drv=igb unused=igb_uio,vfio-pci,uio_pci_generic
0000:b5:00.0 'Ethernet Connection X722 for 10GBASE-T' if=eno5 drv=i40e unused=igb_uio,vfio-pci,uio_pci_generic
0000:b5:00.1 'Ethernet Connection X722 for 10GBASE-T' if=eno6 drv=i40e unused=igb_uio,vfio-pci,uio_pci_generic


Starting Scapy server.... Scapy server is started
The ports are bound/configured.
Starting  TRex v2.95 please wait  ...
 set driver name net_i40e
 driver capability  : TCP_UDP_OFFLOAD  TSO
 set dpdk queues mode to DROP_QUE_FILTER
 Number of ports found: 2
Port (0) firmware version 0x3033 is not eligible for DDP upgrade
Warning: In this TRex version, X710 firmware must be at least 05.00.04
  Please refer to https://trex-tgn.cisco.com/trex/doc/trex_manual.html#_firmware_update_to_xl710_x710 for upgrade instructions
, this might be false positive for some new NICS like XXV710 or x722 Port (1) firmware version 0x3033 is not eligible for DDP upgrade
Warning: In this TRex version, X710 firmware must be at least 05.00.04
  Please refer to https://trex-tgn.cisco.com/trex/doc/trex_manual.html#_firmware_update_to_xl710_x710 for upgrade instructions
, this might be false positive for some new NICS like XXV710 or x722 zmq publisher at: tcp://*:4500
 wait 1 sec .
port : 0
------------
link         :  link : Link Up - speed 1000 Mbps - full-duplex
promiscuous  : 0
port : 1
------------
link         :  link : Link Up - speed 1000 Mbps - full-duplex
promiscuous  : 0
 number of ports         : 2
 max cores for 2 ports   : 3
 tx queues per port      : 5
 -------------------------------
RX core uses TX queue number 3 on all ports
 core, c-port, c-queue, s-port, s-queue, lat-queue
 ------------------------------------------
 1        0      0       1       0      4  
 2        0      1       1       1    255  
 3        0      2       1       2    255  
 -------------------------------


Driver details

66:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
66:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
66:00.2 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
66:00.3 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01)
b5:00.0 Ethernet controller: Intel Corporation Ethernet Connection X722 for 10GBASE-T (rev 04)
b5:00.1 Ethernet controller: Intel Corporation Ethernet Connection X722 for 10GBASE-T (rev 04)
b5:00.2 Ethernet controller: Intel Corporation Ethernet Connection X722 for 10GbE SFP+ (rev 04)
b5:00.3 Ethernet controller: Intel Corporation Ethernet Connection X722 for 10GbE SFP+ (rev 04)


[    2.562310] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    2.583530] i40e: Intel(R) Ethernet Connection XL710 Network Driver - version 2.8.20-k
[    2.623216] igb 0000:66:00.0: Intel(R) Gigabit Ethernet Network Connection
[    2.682449] igb 0000:66:00.1: Intel(R) Gigabit Ethernet Network Connection
[    2.738260] igb 0000:66:00.2: Intel(R) Gigabit Ethernet Network Connection
[    2.794534] igb 0000:66:00.3: Intel(R) Gigabit Ethernet Network Connection

Harry Tenglar

unread,
Feb 28, 2022, 12:31:57 AM2/28/22
to TRex Traffic Generator
cfg config

- port_limit      : 2
  version         : 2
#List of interfaces. Change to suit your setup. Use ./dpdk_setup_ports.py -s to see available options
  interfaces    : ["b5:00.2","b5:00.3"]
  port_info       :  # Port IPs. Change to suit your needs. In case of loopback, you can leave as is.
          - ip         : 1.1.1.1
            default_gw : 2.2.2.2
          - ip         : 2.2.2.2
            default_gw : 1.1.1.1

Harry Tenglar

unread,
Feb 28, 2022, 12:33:24 AM2/28/22
to TRex Traffic Generator
console connection output


Connecting to RPC server on localhost:4501                   [SUCCESS]


Connecting to publisher server on localhost:4500             [SUCCESS]


Acquiring ports [0, 1]:                                      [SUCCESS]


Server Info:

Server version:   v2.95 @ STL
Server mode:      Stateless
Server CPU:       3 x Intel(R) Xeon(R) D-2123IT CPU @ 2.20GHz
Ports count:      2 x 10Gbps @ Ethernet Connection X722 for 10GbE SFP+

-=TRex Console v3.0=-

Type 'help' or '?' for supported actions

Harry Tenglar

unread,
Feb 28, 2022, 2:56:51 PM2/28/22
to TRex Traffic Generator
output of --software command. I'm just starting out with TRex but it seems to be related to false positive firmware warning

v2.95]$ sudo ./t-rex-64 -i -c 3 --software

Starting Scapy server.... Scapy server is started
Trying to bind to igb_uio ...
/bin/python3 dpdk_nic_bind.py --bind=igb_uio 0000:b5:00.2 0000:b5:00.3
The ports are bound/configured.
Starting  TRex v2.95 please wait  ...
 set driver name net_i40e
 driver capability  : TCP_UDP_OFFLOAD  TSO
 set dpdk queues mode to MULTI_QUE
 Number of ports found: 2
Port (0) firmware version 0x3033 is not eligible for DDP upgrade
Warning: In this TRex version, X710 firmware must be at least 05.00.04
  Please refer to https://trex-tgn.cisco.com/trex/doc/trex_manual.html#_firmware_update_to_xl710_x710 for upgrade instructions
, this might be false positive for some new NICS like XXV710 or x722 Port (1) firmware version 0x3033 is not eligible for DDP upgrade
Warning: In this TRex version, X710 firmware must be at least 05.00.04
  Please refer to https://trex-tgn.cisco.com/trex/doc/trex_manual.html#_firmware_update_to_xl710_x710 for upgrade instructions
, this might be false positive for some new NICS like XXV710 or x722 zmq publisher at: tcp://*:4500
Error: signal 11:

*** traceback follows ***

1       0x558487f400e3 ./_t-rex-64(+0x1ba0e3) [0x558487f400e3]
2       0x7f9efb765630 /lib64/libpthread.so.0(+0xf630) [0x7f9efb765630]
3       0x5584882ebd42 i40e_asq_send_command + 2770
4       0x5584882f1baa i40e_aq_set_rss_key + 74
5       0x55848831c2c4 i40e_set_rss_key + 260
6       0x55848831d91f i40e_pf_config_rss + 223
7       0x55848831df50 ./_t-rex-64(+0x597f50) [0x55848831df50]
8       0x55848829dd06 rte_eth_dev_start + 182
9       0x558487eb82e4 CPhyEthIF::start() + 116
10      0x558487ebd23c CGlobalTRex::device_start() + 268
11      0x558487ec669d CGlobalTRex::Create() + 467
12      0x558487ec6a9a main_test(int, char**) + 796
13      0x7f9efa6f6555 __libc_start_main + 245
14      0x558487ee2a85 ./_t-rex-64(+0x15ca85) [0x558487ee2a85]


*** addr2line information follows ***

??:0
??:0
??:0
??:0
??:0
??:0
??:0
??:0
??:0
??:0
??:0
??:0
??:0
??:0


./t-rex-64: line 106:  4594 Segmentation fault      (core dumped) ./_$(basename $0) $INPUT_ARGS $EXTRA_INPUT_ARGS
Reply all
Reply to author
Forward
0 new messages