From: <hfli@netitest.com>
To: <dev@dpdk.org>
Subject: af_packet can't send packet more than framecnt
Date: Mon, 20 Mar 2023 11:32:00 +0800 [thread overview]
Message-ID: <805BC2C38427FE94+002001d95adc$8884a680$998df380$@netitest.com> (raw)
Hi,
I used af_packet interface, but found only can send packets successfully
less than framecnt argument.
E.g. if I pass
"--vdev=eth_af_packet0,iface=tap0,blocksz=4096,framesz=2048,framecnt=512,qpa
irs=1,qdisc_bypass=0" to DPDK, the rte_eth_tx_burst only return 1 for 512
times, after that it always return 0.
If I pass
"--vdev=eth_af_packet0,iface=tap0,blocksz=4096,framesz=2048,framecnt=1024,qp
airs=1,qdisc_bypass=0" to DPDK, the rte_eth_tx_burst only return 1 for 1024
times, after that it always return 0.
BTW, I use busy loop mode in project, Is there any help for this?
Thanks so much
Haifeng
reply other threads:[~2023-03-20 3:32 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='805BC2C38427FE94+002001d95adc$8884a680$998df380$@netitest.com' \
--to=hfli@netitest.com \
--cc=dev@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).