UDPDK icon indicating copy to clipboard operation
UDPDK copied to clipboard

POLLINIT: Waiting to initialize IPC...

Open ph12073396 opened this issue 2 years ago • 5 comments

Hello, I started the pktgen with default command ./pktgen -c ../../config.ini -f send -s 100 -r 10000 -l pktgen-send.log It keeps saying POLLINIT: Waiting to initialize IPC...

my config.ini as below [dpdk] cores_primary=2 lcores_secondary=4 n_mem_channels=2

[port0] mac_addr=00:11:22:33:44:50 ip_addr=127.0.0.1

[port0_dst] mac_addr=00:11:22:33:44:60

the 2 mac addr (50 and 60) are the VFs setup on my NIC. I'm new to DPDK. Your comments are very welcome.

ph12073396 avatar May 23 '22 04:05 ph12073396

I am also encountering the same issue, although I am trying to run the pingpong application.

./pingpong -c ../../config.ini -f ping -d 10000 -l pingpong.log Application args: ./pingpong -l 2 -n 2 --proc-type=primary -- -f ping -d 10000 -l pingpong.log Poller args: ./pingpong -l 4 -n 2 --proc-type=secondary EAL: Detected 128 lcore(s) EAL: Detected 128 lcore(s) EAL: Detected 4 NUMA nodes EAL: Detected 4 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 EAL: Multi-process socket /var/run/dpdk/rte/mp_socket_1207442_4ea5ceb56512a INIT: Port 0 is invalid (out of range or not attached) INIT: Cannot initialize RX port 0 INTR: Killing the poller process (1207442)... CLOSE: Killing the poller process (1207442)... Caught signal 15 in pingpong main process INTR: Killing the poller process (0)... EAL: Selected IOVA mode 'PA' EAL: Probing VFIO support... EAL: No legacy callbacks, legacy socket not created POLLINIT: Waiting to initialize IPC... POLLINIT: Waiting to initialize IPC... POLLINIT: Waiting to initialize IPC... POLLINIT: Waiting to initialize IPC... POLLINIT: Waiting to initialize IPC...

ertza avatar May 24 '22 05:05 ertza

same "Waiting to initialize IPC.." when using igb_uio.ko driver in AWS EC2 box. is it supported?

dkuo123 avatar Aug 22 '22 16:08 dkuo123

@ph12073396

[port0] mac_addr=00:11:22:33:44:50 ip_addr=127.0.0.1

The IP looks wrong, you set it to localhost. You should select the IP of the interface you use with DPDK.

leoll2 avatar Aug 26 '22 05:08 leoll2

@ertza

INIT: Port 0 is invalid (out of range or not attached) INIT: Cannot initialize RX port 0

Is the DPDK port properly configured and working? How is your UDPDK config.ini?

leoll2 avatar Aug 26 '22 05:08 leoll2

@dkuo123

same "Waiting to initialize IPC.." when using igb_uio.ko driver in AWS EC2 box. is it supported?

Not officially supported because I don't have HW to test it atm, but it should work if DPDK supports it for your hardware.

leoll2 avatar Aug 26 '22 06:08 leoll2