Hi Team, I am facing one issue with dpdk 20.11 Release, compiled the l2fwd app with make static , its throwing following error while running the app:
Problematic Use Case: cd dpdk-20.11/examples/l2fwd export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig *make static * ./build/l2fwd -l 0-3 -n 4 -- -q 1 -p 1 EAL: Detected 6 lcore(s) EAL: Detected 1 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'PA' EAL: No available hugepages reported in hugepages-1048576kB EAL: Probing VFIO support... EAL: No legacy callbacks, legacy socket not created MAC updating enabled *EAL: Error - exiting with code: 1 Cause: No Ethernet ports - bye* Working use Case: But when I am compiling l2fwd with *make* , then it's *working fine*. cd dpdk-20.11/examples/l2fwd export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig *make* export LD_LIBRARY_PATH=/home/upfuser/dpdk-20.11/build//lib:$LD_LIBRARY_PATH ./build/l2fwd -l 0-3 -n 4 -- -q 1 -p 1 MAC updating enabled Notice: odd number of ports in portmask. Lcore 0: RX port 0 TX port 0 Initializing port 0... done: Port 0, MAC address: DE:AD:CE:EF:85:81 Checking link status.....done Port 0 Link up at 1 Gbps FDX Autoneg L2FWD: lcore 1 has nothing to do L2FWD: lcore 2 has nothing to do L2FWD: lcore 3 has nothing to do L2FWD: entering main loop on lcore 0 L2FWD: -- lcoreid=0 portid=0 Can someone help me to figure out the root cause why this happening. Thanks