pensando / trex-core

trex-core site
https://trex-tgn.cisco.com/
Other
1 stars 4 forks source link

Seeing ierrors in Stats When Running in STL Mode #3

Open jeremy020 opened 2 years ago

jeremy020 commented 2 years ago

Description

While using trex with STL mode, I noticed that they are a lot of ierrors in the stats outputted by trex, and this has an impact on the over all performance of trex application in STL mode.

TRex configuration

interfaces: ['0000:14:00.0', '0000:15:00.0']
  rx_desc: 4096
  port_info:
      - ip: 1.1.1.1
        default_gw: 2.2.2.2
      - ip: 2.2.2.2
        default_gw: 1.1.1.1
  platform:
      master_thread_id: 0
      latency_thread_id: 10
      dual_if:
        - socket: 0
          threads: [1,2,3,4,5,6,7,8,9,20,21,22,23,24,25,26,27,28,29]

Screenshots

Screen Shot 2022-07-19 at 3 27 45 PM

To Reproduce

  1. Start trex on one terminal by using ./t-rex-64 -c 10 -i
  2. Start trex-console on another terminal using ./trex-console
  3. Then using this command start -f stl/udp_1pkt_simple.py -m 10000000 -d 100 -p 0 in trex-console
akshaydorwat commented 1 year ago

RX vlan packet filter capability is missing on the IONIC DPDK Driver. Hence packets which are supposed to be dropped in HW, are pushed to the buffer ring, which is not drained by the Trex application, as it is not interested in these packet at all.