Embedded Connectivity
Intel network controllers, Firmware, and drivers support systems
858 Discussions

ACC100 LDPC DPDK BBdev validation

Tom_Q
Beginner
823 Views

 I am experiencing some issues when trying to set up the ACC100 LDPC card. While following the steps from pf-bb-config  However,  we experience the following issues:

 

Baseband devices using DPDK-compatible driver
=============================================
0000:ca:00.0 'Device 0d5c' drv=vfio-pci unused=
0000:cb:00.0 'Device 0d5d' drv=vfio-pci unused=
0000:cb:00.1 'Device 0d5d' drv=vfio-pci unused=

zq40@tc319-srv2:/opt/dpdk-stable-21.11.2-older/app/test-bbdev$ dmesg | grep "DMAR: IOMMU"
[    0.457583] DMAR: IOMMU enabled
[    0.457977] DMAR: IOMMU enabled

zq40@tc319-srv2:/opt/dpdk-stable-21.11.2/app/test-bbdev/test_vectors$ sudo dpdk-test-bbdev -c F0 -a cb:00.0 --vfio-vf-token=513acf7e-2f25-11ee-bde0-9362ebeeb1a6 -- -c validation -v ldpc_dec_v2342_drop.data
[sudo] password for zq40:
EAL: Detected 56 lcore(s)
EAL: Detected 2 NUMA nodes
Option -w, --pci-whitelist is deprecated, use -a, --allow option instead
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: intel_acc100_vf (8086:d5d) device: 0000:cb:00.0 (socket 1)
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 (4)
===========================================================
Starting Test Suite : BBdev Validation Tests
Test vector file = ldpc_dec_v2342_drop.data
Device 0 supports 0 < N <= 0 queues, not 0
rte_bbdev_setup_queues(0, 0, 1) ret -22
Adding active bbdev cb:00.0 skipped
No suitable devices found!
 + Test suite setup BBdev Validation Tests skipped!
 + ------------------------------------------------------- +

 

We followed the pf_bb_config README and configured the ACC100 as directed by the tutorial, but it seems that the function fails when trying to set up queues.

 

The other thing we tried instead is to use igb_uio to drive our acc100 card, 

 

sudo dpdk-devbind.py -b igb_uio ca:00.0
zq40@tc319-srv2:/opt/dpdk-stable-20.11.5/app/test-bbdev$ cat /sys/bus/pci/devices/0000\:ca\:00.0/sriov_totalvfs
16
echo 16 | sudo tee /sys/bus/pci/devices/0000\:ca\:00.0/max_vfs
echo 16 | sudo tee /sys/bus/pci/devices/0000\:ca\:00.0/sriov_numvfs

 

I tried both to configure the VFs through PF by both trying the vf/pf.cfg from the pf_bb_config. And we are able to avoid the previous error we saw when setting up the queues as:

 

zq40@tc319-srv2:/opt/dpdk-stable-20.11.5/app/test-bbdev$ sudo dpdk-test-bbdev -c F0 -a cb:00.0 --vfio-vf-token=513acf7e-2f25-11ee-bde0-9362ebeeb1a6 -- -c validation -v ./ldpc_dec_default.data
EAL: Detected 56 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL: Probe PCI driver: intel_acc100_vf (8086:d5d) device: 0000:cb:00.0 (socket 1)
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 (4)
===========================================================
Starting Test Suite : BBdev Validation Tests
Test vector file = ./ldpc_dec_default.data
+ ------------------------------------------------------- +
== test: validation

dev:cb:00.0, burst size: 32, num ops: 64, op type: RTE_BBDEV_OP_LDPC_DEC

 

The test program just hung there with no progress. 

 

It would be much appreciated if you could provide any help, I have also attached .txt files including the printouts by running test-bbdev with strace. 
0 Kudos
3 Replies
CarlosAM_INTEL
Moderator
809 Views

Hello, @Tom_Q:

Thank you for contacting Intel Embedded Community.

We received your request, we want to address the following questions to understand your request:

Could you please let us know the name of the manufacturer and part number of the ACC100 LDPC card?

Could you please inform us of the place of purchase of the ACC100 LDPC card?

We are waiting for your answer.

Best regards,

@CarlosAM_INTEL.

0 Kudos
Tom_Q
Beginner
781 Views

Hi @CarlosAM_INTEL:

 

Thanks for your reply. 

The name of the manufacturer and the part number of the ACC100 LDPC card is: Silicom Inc P3IMB1-M-P2
The place of purchase is from Silicom connectivity Solutions. Inc

Thanks again

IMG_1268.jpg

for your time. 

 

Best Regards

Tom

0 Kudos
CarlosAM_INTEL
Moderator
753 Views

Hello, @Tom_Q:

Thanks for your reply.

Your consultations related to the devices manufactured by the cited third-party company should be addressed as a reference through the channels listed on the following website:

https://silicom.atlassian.net/servicedesk/customer/portal/4

Best regards,

@CarlosAM_INTEL.

0 Kudos
Reply