[P4-DPDK-Target] Getting error while hitting "enable" command in bfshell

Hi, I was was trying to run the P4-DPDK-Target example, and encounter some error. Please suggest what could be the possible reason behind this error.

export SDE=/home/p4dpdk
export SDE_INSTALL=$SDE/install
export LD_LIBRARY_PATH=$SDE_INSTALL/lib:$SDE_INSTALL/lib64:$SDE_INSTALL/lib/x86_64-linux-gnu/:/usr/local/lib64:/usr/local/lib
export PATH=$SDE_INSTALL/bin:$PATH
export PYTHONPATH=$SDE_INSTALL/lib/python3.8/:$SDE_INSTALL/lib/python3.8/lib-dynload:$SDE_INSTALL/lib/python3.8/site-packages
export PYTHONHOME=$SDE_INSTALL/lib/python3.8

switch_conf.json


{
“chip_list”: [
{
“id”: “asic-0”,
“chip_family”: “dpdk”,
“instance”: 0
}
],
“instance”: 0,
“p4_devices”: [
{
“device-id”: 0,
“eal-args”: “dummy -n 4 -c 3”,
“mempools”: [
{
“name”: “MEMPOOL0”,
“buffer_size”: 2304,
“pool_size”: 1024,
“cache_size”: 256,
“numa_node”: 0
}
],
“p4_programs”: [
{
“program-name”: “pna”,
“bfrt-config”: “/home/p4dpdk/install/share/dpdk/pna/bf-rt.json”,
“p4_pipelines”: [
{
“p4_pipeline_name”: “pipe”,
“core_id”: 1,
“numa_node”: 0,
“context”: “/home/p4dpdk/install/share/dpdk/pna/pipe/context.json”,
“config”: “/home/p4dpdk/install/share/dpdk/pna/pipe/simple_lpm.spec”,
“pipe_scope”: [
0,
1,
2,
3
],
“path”: “/home/p4dpdk/install/share/dpdk/pna”
}
]
}
]
}
]
}


:~/p4dpdk/install/bin$ sudo -E PATH=$PATH LD_LIBRARY_PATH=$LD_LIBRARY_PATH $SDE_INSTALL/bin/bf_switchd --install-dir $SDE_INSTALL --conf-file $SDE_INSTALL/share/dpdk/pna/switch_conf.json --init-mode=cold --status-port 7777

Install dir: /home/p4dpdk/install (0x562661a53c80)
bf_switchd: system services initialized
bf_switchd: loading conf_file /home/p4dpdk/install/share/dpdk/pna/switch_conf.json…
bf_switchd: processing device configuration…
Configuration for dev_id 0
Family : dpdk
bf_switchd: processing P4 configuration…
P4 profile for dev_id 0
P4 EAL args dummy -n 4 -c 3
Debug CLI disable
num mempool objs 1
mempool_name: MEMPOOL0
buffer_size: 2304
pool_size: 1024
cache_size: 256
numa_node: 0
num fixed functions 0
num P4 programs 1
p4_name: pna
bfrt_config: /home/p4dpdk/install/share/dpdk/pna/bf-rt.json
port_config:
p4_pipeline_name: pipe
core_id: 1
numa_node: 0
context: /home/p4dpdk/install/share/dpdk/pna/pipe/context.json
config: /home/p4dpdk/install/share/dpdk/pna/pipe/simple_lpm.spec
Pipes in scope [0 1 2 3 ]
Timer values
Mirror Config
n_slots: 4
n_sessions: 64
fast_clone: 0
diag:
accton diag:
non_default_port_ppgs: 0
SAI default initialize: 0
Operational mode set to DPDK MODEL
Initialized the device types using PAL handler registration
STUB:port_mgr_platform_init DPDK
bf_switchd: drivers initialized
EAL: Detected CPU lcores: 8
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 ‘PA’
TELEMETRY: No legacy callbacks, legacy socket not created

bf_switchd: dev_id 0 initialized

bf_switchd: initialized 1 devices
bf_switchd_switchsai_lib_init
starting SAI
bf_switchd: spawning cli server thread
bf_switchd: spawning driver shell
bf_switchd: server started - listening on port 9999

    ********************************************
    *      WARNING: Authorised Access Only     *
    ********************************************

bfshell> bfrt_python
cwd : /home/p4dpdk/install/bin

We’ve found 1 p4 programs for device 0:
pna
Creating tree for dev 0 and program pna

Devices found : [0]
/home/p4dpdk/install/lib/python3.10/site-packages/IPython/core/history.py:226: UserWarning: IPython History requires SQLite, your history will not be saved
warn(“IPython History requires SQLite, your history will not be saved”)
Python 3.10.9 (1dd9be6584:1dd9be6584, Dec 13 2023, 10:31:12) [GCC 10.5.0]
Type ‘copyright’, ‘credits’ or ‘license’ for more information
IPython 7.31.1 – An enhanced Interactive Python. Type ‘?’ for help.

In [1]: bfrt
------> bfrt()
Available symbols:
dump - Command
enable - Command
info - Command
pna - Node
port - Node

bfrt> pna.enable
----> pna.enable()
2023-12-13 15:22:32.227229 BF_PIPE ERROR - dal_enable_pipeline line:165 Pipeline build failed
2023-12-13 15:22:32.227266 BF_PIPE ERROR - Failed to Build Pipeline pipe
2023-12-13 15:22:32.227278 BF_BFRT ERROR - bf_rt_enable_pipeline:120 failed

bfrt>