DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] rte_eth_tx_burst keeps returning 0 upon reaching TX throughput
@ 2018-11-20 17:18 Olivier Deme
  0 siblings, 0 replies; only message in thread
From: Olivier Deme @ 2018-11-20 17:18 UTC (permalink / raw)
  To: users

Hi,

I am currently experiencing an issue with our DPDK application
whereby rte_eth_tx_burst keeps returning 0 upon reaching a certain output
rate.

Our application is based on the run to completion model.
Packets are read in burst using rte_eth_rx_burst, processed and then sent
in burst by the same lcore using rte_eth_tx_burst.

An external application generates test traffic.

We are currently using only 1 lcore and trying to verify how much traffic
can be switched on that single core, before testing with multiple cores.

Everything appears to be working fine up to around 5Gbs of traffic.
But then, upon generating more traffic, we observe that rte_eth_tx_burst
starts failing consistently by returning 0 on every call.
We checked that the mempool has many free mbufs.
We also observed that when the problem occurs, a call to
rte_eth_link_get_nowait indicates that the link_speed has switched to 0
(while it wasn't 0 beforehand).

The only way to recover is to restart the application.

We are using a XL710 NIC within an LXC container.

Would anybody know what could cause this behaviour?

Many thanks.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-20 17:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-20 17:18 [dpdk-users] rte_eth_tx_burst keeps returning 0 upon reaching TX throughput Olivier Deme

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).