Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Receive packets using rte_eth_rx_burst #7

Open
Drmitakaushik opened this issue Feb 17, 2023 · 0 comments
Open

Can't Receive packets using rte_eth_rx_burst #7

Drmitakaushik opened this issue Feb 17, 2023 · 0 comments

Comments

@Drmitakaushik
Copy link

Drmitakaushik commented Feb 17, 2023

When using the ping-pong application or the pkt-gen application, the sender is able to transmit packets but, at the receiver side on call to rte_eth_rx_burst it get's stuck as it returns a value of 0 every time in the poller body function. As a result it is not able to flush the packet to the rx-queue which is used by the UDPDK recvfrom to retrieve the packets. I have confirmed that the packet is reached at the receiver side using rte_eth_stats_get() method but not sure why rte_eth_rx_burst is not able to retrieve the packets?

Sender side config.ini

UDPDK configuration file

[dpdk]

lcores_primary=2
lcores_secondary=2
n_mem_channels=2

[port0]

mac_addr=50:9a:4c:27:6b:58
ip_addr=192.168.10.100

[port0_dst]

mac_addr=50:9a:4c:27:6a:4a

Receiver Side config.ini:

UDPDK configuration file

[dpdk]

lcores_primary=2
lcores_secondary=2
n_mem_channels=2

[port0]
mac_addr=50:9a:4c:27:6a:4a
ip_addr=192.168.10.101

[port0_dst]
mac_addr=50:9a:4c:27:6b:58

dpdk-devbind.py Statistics:

Network devices using DPDK-compatible driver

0000:00:1f.6 'Ethernet Connection (5) I219-LM 15e3' drv=uio_pci_generic unused=e1000e,vfio-pci

No 'Baseband' devices detected

No 'Crypto' devices detected

No 'DMA' devices detected

No 'Eventdev' devices detected

No 'Mempool' devices detected

No 'Compress' devices detected

No 'Misc (rawdev)' devices detected

No 'Regex' devices detected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant