DPDK usage discussions
 help / color / mirror / Atom feed
* using dpdk-testpmd as traffic generator for dpdk application performance test
@ 2022-09-06 10:46 Yan, Xiaoping (NSB - CN/Hangzhou)
  2022-09-06 15:26 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Yan, Xiaoping (NSB - CN/Hangzhou) @ 2022-09-06 10:46 UTC (permalink / raw)
  To: users

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

Hi,

I'm trying to use dpdk-testpmd TX-ONLY mode as traffic generator for performance test.
With command like below, the testpmd is sending traffic in quit high rate.
Is there some way to configure the generated packet rate?
I tried to set txtimes (set txtimes 1000,1000), but it seems no effect on packet rate.
Also do we have some way to show current packet rate in testpmd?
Thank you.

I'm using dpdk 21.11, and using Mellanox CX-6 SRIOV VF for testing.

Testpmd command used:
dpdk-testpmd -l "32,33" --legacy-mem --socket-mem "1000,4000" -a 0000:b1:04.7 -- -i --nb-cores=1 --portmask=0x1 --rxd=2048 --txd=2048
testpmd> port stop 0
testpmd> vlan set filter on 0
testpmd> rx_vlan add 1111 0
testpmd> port start 0
testpmd> set fwd txonly
testpmd> set txpkts 64
testpmd> set eth-peer 0 4A:8F:F1:22:C8:F3
testpmd> start







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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-06 15:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-06 10:46 using dpdk-testpmd as traffic generator for dpdk application performance test Yan, Xiaoping (NSB - CN/Hangzhou)
2022-09-06 15:26 ` Stephen Hemminger

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