DPDK usage discussions
 help / color / mirror / Atom feed
From: Hong Christian <hongguochun@hotmail.com>
To: "users@dpdk.org" <users@dpdk.org>
Cc: "michael.jin@intel.com" <michael.jin@intel.com>,
	"Wu, Jianyue (NSB - CN/Hangzhou)" <jianyue.wu@nokia-sbell.com>,
	"julien.meunier.perso@gmail.com" <julien.meunier.perso@gmail.com>
Subject: rte_eth_tx_burst return zero occasionally
Date: Thu, 31 Mar 2022 07:11:14 +0000	[thread overview]
Message-ID: <SY4P282MB2758CA46D2C34E56F17638DAAC189@SY4P282MB2758.AUSP282.PROD.OUTLOOK.COM> (raw)

[-- Attachment #1: Type: text/plain, Size: 832 bytes --]

Hi DPDK users,


I met a dpdk tx issue with dpdk v19.11.10.

I use INTEL XXV710 25G NIC, two ports.

My app use pipeline mode, setup 1 rx and 6 tx queue for each ports,  rx/tx desc 4096, share one pkt pool. Traffic is 18Gbps/300Wpps, so each port will have 9G rx and 9G tx.

Everything works fine at the beginning 1~2 hours. Then rte_eth_tx_burst starts to return 0 in a while. I add prints, and it shows the tx desc is not freed in that time:

"i40e_xmit_fixed_burst_vec_avx2(): avx:tx_free_thresh 512 tx_rs_thresh 32, nb_tx_free 0"

Since I do not have re-send action, once the issue occurs, thousands of pkts dropped due to tx failed. And then it will go back to normal since desc is released.

Does any one met the same issue before ? could you please give any suggestions ? Thank you so much!

Br,
Christian

[-- Attachment #2: Type: text/html, Size: 4557 bytes --]

                 reply	other threads:[~2022-03-31  7:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=SY4P282MB2758CA46D2C34E56F17638DAAC189@SY4P282MB2758.AUSP282.PROD.OUTLOOK.COM \
    --to=hongguochun@hotmail.com \
    --cc=jianyue.wu@nokia-sbell.com \
    --cc=julien.meunier.perso@gmail.com \
    --cc=michael.jin@intel.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).