What is the correct way to use DPDK with DPSW/DPDMUX objects on DPAA2 bus?
I would like to use DPSW and DPDMUX with DPDK application.
(For example L2 switch with 8 ports, 4x10SFP+, 4xDPNI with two queues, 8 GPP cores).
I would also like to configure DPAA2 bus at runtime. F.e. by ls-addni, dynamic_dpl.sh.
Now when run (example mac-sw-ni )
# 1 ni, 1 sfp ls-addni -n # ni0 is lost, use ni1 ls-addsw -i=2 dpni.1 dpmac.1 ip link set ni1 down ip link set ni1 down ip link set sw0p1 down # manyally plug unplug, transceiver, they can be in UNKNOWN state ip link set sw0p1 up ip link set ni1 up ip addr add 192.168.1.4/24 dev ni1 # now ping works
I am able to configure DPAA2 bus as I wish. But when I try to bind DPRC to vfio-fsl-mc driver to have DPDK support