af_packet can't send packet more than framecnt
hfli at netitest.com
hfli at netitest.com
Mon Mar 20 04:32:00 CET 2023
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
More information about the dev
mailing list