aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@plumgrid.com>2014-09-30 20:53:21 -0400
committerDavid S. Miller <davem@davemloft.net>2014-10-01 22:08:12 -0400
commit38b2cf2982dc73d3f07fe84fec8cc4ed9f64c1c5 (patch)
treee1eeab1caf5d330a4bb9c8eeb4543af5c38c769b /Documentation
parent775dd692bd34f9201ed2aa775a0edcba4f973f3e (diff)
net: pktgen: packet bursting via skb->xmit_more
This patch demonstrates the effect of delaying update of HW tailptr. (based on earlier patch by Jesper) burst=1 is the default. It sends one packet with xmit_more=false burst=2 sends one packet with xmit_more=true and 2nd copy of the same packet with xmit_more=false burst=3 sends two copies of the same packet with xmit_more=true and 3rd copy with xmit_more=false Performance with ixgbe (usec 30): burst=1 tx:9.2 Mpps burst=2 tx:13.5 Mpps burst=3 tx:14.5 Mpps full 10G line rate Signed-off-by: Alexei Starovoitov <ast@plumgrid.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Acked-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/networking/pktgen.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/networking/pktgen.txt b/Documentation/networking/pktgen.txt
index 0dffc6e37902..6915c6b27869 100644
--- a/Documentation/networking/pktgen.txt
+++ b/Documentation/networking/pktgen.txt
@@ -99,6 +99,9 @@ Examples:
99 99
100 pgset "clone_skb 1" sets the number of copies of the same packet 100 pgset "clone_skb 1" sets the number of copies of the same packet
101 pgset "clone_skb 0" use single SKB for all transmits 101 pgset "clone_skb 0" use single SKB for all transmits
102 pgset "burst 8" uses xmit_more API to queue 8 copies of the same
103 packet and update HW tx queue tail pointer once.
104 "burst 1" is the default
102 pgset "pkt_size 9014" sets packet size to 9014 105 pgset "pkt_size 9014" sets packet size to 9014
103 pgset "frags 5" packet will consist of 5 fragments 106 pgset "frags 5" packet will consist of 5 fragments
104 pgset "count 200000" sets number of packets to send, set to zero 107 pgset "count 200000" sets number of packets to send, set to zero