Repository navigation
Commit 38b2cf2
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>1 parent 775dd69 commit 38b2cf2
2 files changed
Lines changed: 27 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
102 | 105 | | |
103 | 106 | | |
104 | 107 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
| 390 | + | |
390 | 391 | | |
391 | 392 | | |
392 | 393 | | |
| |||
613 | 614 | | |
614 | 615 | | |
615 | 616 | | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
616 | 620 | | |
617 | 621 | | |
618 | 622 | | |
| |||
1124 | 1128 | | |
1125 | 1129 | | |
1126 | 1130 | | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
1127 | 1141 | | |
1128 | 1142 | | |
1129 | 1143 | | |
| |||
3297 | 3311 | | |
3298 | 3312 | | |
3299 | 3313 | | |
| 3314 | + | |
3300 | 3315 | | |
3301 | 3316 | | |
3302 | 3317 | | |
| |||
3347 | 3362 | | |
3348 | 3363 | | |
3349 | 3364 | | |
3350 | | - | |
3351 | | - | |
| 3365 | + | |
| 3366 | + | |
| 3367 | + | |
| 3368 | + | |
3352 | 3369 | | |
3353 | 3370 | | |
3354 | 3371 | | |
3355 | 3372 | | |
3356 | 3373 | | |
3357 | 3374 | | |
3358 | 3375 | | |
| 3376 | + | |
| 3377 | + | |
3359 | 3378 | | |
3360 | 3379 | | |
3361 | 3380 | | |
| |||
3374 | 3393 | | |
3375 | 3394 | | |
3376 | 3395 | | |
| 3396 | + | |
| 3397 | + | |
3377 | 3398 | | |
3378 | 3399 | | |
3379 | 3400 | | |
| |||
3572 | 3593 | | |
3573 | 3594 | | |
3574 | 3595 | | |
| 3596 | + | |
3575 | 3597 | | |
3576 | 3598 | | |
3577 | 3599 | | |
| |||
0 commit comments