Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-94550

amd system: testpmd as switch case run failed

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • rhel-9.6.z
    • dpdk
    • None
    • No
    • None
    • rhel-net-ovs-dpdk
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • None

      What were you trying to do that didn't work?

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      kernel-5.14.0-570.17.1.el9_6
      dpdk-24.11.1-2.el9.x86_64

      How reproducible is this bug?:

      Steps to reproduce

      1. run testpmd as switch case
        dpdk-testpmd --lcores="0@382,1@127,2@383" -n 4 --socket-mem 1024 --vdev net_vhost0,iface=/tmp/vhost0,client=1,iommu-support=1,queues=1 --vdev net_vhost1,iface=/tmp/vhost1,client=1,iommu-support=1,queues=1 – -i --nb-cores=2 --txq=1 --rxq=1 --rxd=1024 --txd=1024 --forward-mode=io --portlist=0,2,1,3 --auto-start

      Expected results

      Actual results

      When run above testpmd command, the system is hung and reboot.
      I simplified the command to the following and the system will also be hung and reboot.

      [root@helix93 ~]# dpdk-testpmd --lcores="0@382,1@127,2@383" -n 4 --socket-mem 1024  -- -i --forward-mode=mac --auto-start
      EAL: Detected CPU lcores: 128
      EAL: Detected NUMA nodes: 1
      EAL: Detected shared linkage of DPDK
      EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
      EAL: Selected IOVA mode 'VA'
      Interactive-mode selected
      Set mac packet forwarding mode
      Auto-start selected
      testpmd: Flow tunnel offload support might be limited or unavailable on port 0
      testpmd: Flow tunnel offload support might be limited or unavailable on port 1
      testpmd: Flow tunnel offload support might be limited or unavailable on port 2
      testpmd: Flow tunnel offload support might be limited or unavailable on port 3
      testpmd: create a new mbuf pool <mb_pool_0>: n=163456, size=2176, socket=0
      testpmd: preferred mempool ops selected: ring_mp_mc
      Configuring Port 0 (socket 0)
      Port 0: 5C:25:73:3B:DC:1C
      Configuring Port 1 (socket 0)
      Port 1: 5C:25:73:3B:DC:1D
      Configuring Port 2 (socket 0)
      Port 2: 9C:63:C0:25:FE:10
      Configuring Port 3 (socket 0)
      Port 3: 9C:63:C0:25:FE:11
      Checking link statuses...
      Done
      Start automatic packet forwarding
      mac packet forwarding - ports=4 - cores=1 - streams=4 - NUMA support enabled, MP allocation mode: native
      Logical Core 1 (socket 0) forwards packets on 4 streams:
        RX P=0/Q=0 (socket 0) -> TX P=1/Q=0 (socket 0) peer=02:00:00:00:00:01
        RX P=1/Q=0 (socket 0) -> TX P=0/Q=0 (socket 0) peer=02:00:00:00:00:00
        RX P=2/Q=0 (socket 0) -> TX P=3/Q=0 (socket 0) peer=02:00:00:00:00:03
      
      

              ovsdpdk-triage ovsdpdk triage
              tli@redhat.com Ting Li
              ovsdpdk triage ovsdpdk triage
              Ting Li Ting Li
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: