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

The dpdk bbdev run failed with the turbo_dec and ldpc_dec file on ACC100 card

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-9.4, rhel-9.5
    • dpdk
    • None
    • None
    • None
    • rhel-sst-network-fastdatapath
    • ssg_networking
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

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

      The dpdk bbdev run failed with the turbo_dec and ldpc_dec file on ACC100 card

      Please provide the package NVR for which bug is seen:

      kernel 5.14.0-427.13.1.el9_4.x86_64
      dpdk-23.11-1.el9.x86_64
      dpdk-tools-23.11-1.el9.x86_64

      How reproducible:

      Steps to reproduce

      1. Run the dpdk bbdev test
      2. pf_bb_config acc100 -p 0000:5e:00.0 -v 56ce457d-e2a9-49b1-8e9b-2d6e14cf56f9 -c /usr/share/pf-bb-config/acc100/acc100_config_vf.cfg
      3. echo 16 > /sys/bus/pci/devices/0000:5e:00.0/sriov_numvfs
      4. dpdk-test-bbdev -a0000:5f:00.0 --vfio-vf-token 56ce457d-e2a9-49b1-8e9b-2d6e14cf56f9 – -c validation -v /tmp/tmp.Blsbsly7Xf/turbo_dec_c1_k40_r0_e17280_sbd_negllr.data

      Expected results

      It run dpdk bbdev successfully with using the turbo_dec or ldpc_dec file

      Actual results

      [root@dell-per740-49 dpdk-bbdev]# dpdk-test-bbdev -a0000:5f:00.0 --vfio-vf-token 56ce457d-e2a9-49b1-8e9b-2d6e14cf56f9 – -c validation -v /tmp/tmp.Blsbsly7Xf/turbo_dec_c1_k40_r0_e17280_sbd_negllr.data
      EAL: Detected CPU lcores: 16
      EAL: Detected NUMA nodes: 2
      EAL: Detected shared linkage of DPDK
      EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
      EAL: Selected IOVA mode 'VA'
      EAL: VFIO support initialized
      EAL: Using IOMMU type 1 (Type 1)
      EAL: Probe PCI driver: intel_acc100_vf (8086:0d5d) device: 0000:5f:00.0 (socket 0)
      TELEMETRY: No legacy callbacks, legacy socket not created
      WARNING: Num of operations was not provided or was set 0. Set to default (64)
      WARNING: Burst size was not provided or was set 0. Set to default (32)
      WARNING: Num of lcores was not provided or was set 0. Set to value from RTE config (16)

      ===========================================================
      Starting Test Suite : BBdev Validation Tests
      Test vector file = /tmp/tmp.Blsbsly7Xf/turbo_dec_c1_k40_r0_e17280_sbd_negllr.data
      Not valid dec key: 'iter_max'
      An error occurred while parsing!
      TestCase read_test_vector() line 996 failed (err -1): Failed to parse file /tmp/tmp.Blsbsly7Xf/turbo_dec_c1_k40_r0_e17280_sbd_negllr.data

      TestCase testsuite_setup() line 1005 failed (err -1): Test suite setup failed

      + Test suite setup BBdev Validation Tests failed!
      + ------------------------------------------------------- +

      [root@dell-per740-49 dpdk-bbdev]# dpdk-test-bbdev -a0000:5f:00.0 --vfio-vf-token 56ce457d-e2a9-49b1-8e9b-2d6e14cf56f9 – -c validation -v /tmp/tmp.Blsbsly7Xf/ldpc_dec_v7813.data
      EAL: Detected CPU lcores: 16
      EAL: Detected NUMA nodes: 2
      EAL: Detected shared linkage of DPDK
      EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
      EAL: Selected IOVA mode 'VA'
      EAL: VFIO support initialized
      EAL: Using IOMMU type 1 (Type 1)
      EAL: Probe PCI driver: intel_acc100_vf (8086:0d5d) device: 0000:5f:00.0 (socket 0)
      TELEMETRY: No legacy callbacks, legacy socket not created
      WARNING: Num of operations was not provided or was set 0. Set to default (64)
      WARNING: Burst size was not provided or was set 0. Set to default (32)
      WARNING: Num of lcores was not provided or was set 0. Set to value from RTE config (16)

      ===========================================================
      Starting Test Suite : BBdev Validation Tests
      Test vector file = /tmp/tmp.Blsbsly7Xf/ldpc_dec_v7813.data
      Not valid ldpc dec key: 'iter_max'
      An error occurred while parsing!
      TestCase read_test_vector() line 996 failed (err -1): Failed to parse file /tmp/tmp.Blsbsly7Xf/ldpc_dec_v7813.data

      TestCase testsuite_setup() line 1005 failed (err -1): Test suite setup failed

      + Test suite setup BBdev Validation Tests failed!
      + ------------------------------------------------------- +

      It can run successfully with turbo_enc and ldpc_enc file
      [root@dell-per740-49 dpdk-bbdev]# dpdk-test-bbdev -a0000:5f:00.0 --vfio-vf-token 56ce457d-e2a9-49b1-8e9b-2d6e14cf56f9 – -c validation -v /tmp/tmp.Blsbsly7Xf/ldpc_enc_v11835.data
      EAL: Detected CPU lcores: 16
      EAL: Detected NUMA nodes: 2
      EAL: Detected shared linkage of DPDK
      EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
      EAL: Selected IOVA mode 'VA'
      EAL: VFIO support initialized
      EAL: Using IOMMU type 1 (Type 1)
      EAL: Probe PCI driver: intel_acc100_vf (8086:0d5d) device: 0000:5f:00.0 (socket 0)
      TELEMETRY: No legacy callbacks, legacy socket not created
      WARNING: Num of operations was not provided or was set 0. Set to default (64)
      WARNING: Burst size was not provided or was set 0. Set to default (32)
      WARNING: Num of lcores was not provided or was set 0. Set to value from RTE config (16)

      ===========================================================
      Starting Test Suite : BBdev Validation Tests
      Test vector file = /tmp/tmp.Blsbsly7Xf/ldpc_enc_v11835.data
      + ------------------------------------------------------- +
      == test: validation
      dev:0000:5f:00.0, burst size: 32, num ops: 64, op type: RTE_BBDEV_OP_LDPC_ENC
      Operation latency:
      avg: 18501 cycles, 5.60636 us
      min: 14032 cycles, 4.25212 us
      max: 22970 cycles, 6.96061 us
      TestCase [ 0] : validation_tc passed
      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +
      + Test Suite Summary : BBdev Validation Tests - /tmp/tmp.Blsbsly7Xf/ldpc_enc_v11835.data
      + Tests Total : 1
      + Tests Skipped : 0
      + Tests Passed : 1
      + Tests Failed : 0
      + Tests Lasted : 109.708 ms
      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +

      [root@dell-per740-49 dpdk-bbdev]# dpdk-test-bbdev -a0000:5f:00.0 --vfio-vf-token 56ce457d-e2a9-49b1-8e9b-2d6e14cf56f9 – -c validation -v /tmp/tmp.Blsbsly7Xf/turbo_enc_c1_k6144_r0_e120_rm_rvidx.data
      EAL: Detected CPU lcores: 16
      EAL: Detected NUMA nodes: 2
      EAL: Detected shared linkage of DPDK
      EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
      EAL: Selected IOVA mode 'VA'
      EAL: VFIO support initialized
      EAL: Using IOMMU type 1 (Type 1)
      EAL: Probe PCI driver: intel_acc100_vf (8086:0d5d) device: 0000:5f:00.0 (socket 0)
      TELEMETRY: No legacy callbacks, legacy socket not created
      WARNING: Num of operations was not provided or was set 0. Set to default (64)
      WARNING: Burst size was not provided or was set 0. Set to default (32)
      WARNING: Num of lcores was not provided or was set 0. Set to value from RTE config (16)

      ===========================================================
      Starting Test Suite : BBdev Validation Tests
      Test vector file = /tmp/tmp.Blsbsly7Xf/turbo_enc_c1_k6144_r0_e120_rm_rvidx.data
      + ------------------------------------------------------- +
      == test: validation
      dev:0000:5f:00.0, burst size: 32, num ops: 64, op type: RTE_BBDEV_OP_TURBO_ENC
      Operation latency:
      avg: 30193 cycles, 9.14939 us
      min: 26670 cycles, 8.08182 us
      max: 33716 cycles, 10.217 us
      TestCase [ 0] : validation_tc passed
      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +
      + Test Suite Summary : BBdev Validation Tests - /tmp/tmp.Blsbsly7Xf/turbo_enc_c1_k6144_r0_e120_rm_rvidx.data
      + Tests Total : 1
      + Tests Skipped : 0
      + Tests Passed : 1
      + Tests Failed : 0
      + Tests Lasted : 110.557 ms
      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +

      It has no issue with dpdk-22.11-4.el9, it only has issue with dpdk-23.11-1.el9. The throughput, latency and validation all test types are have issue with dec file.

              tredaell@redhat.com Timothy Mario Redaelli
              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: