DPDK patches and discussions
 help / color / mirror / Atom feed
* af_packet can't send packet more than framecnt
@ 2023-03-20  3:32 hfli
  0 siblings, 0 replies; only message in thread
From: hfli @ 2023-03-20  3:32 UTC (permalink / raw)
  To: dev

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


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

only message in thread, other threads:[~2023-03-20  3:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-20  3:32 af_packet can't send packet more than framecnt hfli

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).