aboutsummaryrefslogtreecommitdiff
path: root/samples/pktgen
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2017-11-01 11:41:19 +0100
committerDavid S. Miller <davem@davemloft.net>2017-11-02 14:19:53 +0900
commit9efc44d74b586218e923e3dafb3462d21948c5c6 (patch)
tree0dfbe58baa29f7b3cdcaacbd41665bccffe2973d /samples/pktgen
parent029e1ea65e37fd26c22012bf8828ab540e108767 (diff)
downloadlinux-stericsson-9efc44d74b586218e923e3dafb3462d21948c5c6.tar.gz
samples/pktgen: update sample03, no need for clones when bursting
Like sample05, don't use pktgen clone_skb feature when using 'burst' feature, it is not really needed. This brings the burst users in sync. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/pktgen')
-rwxr-xr-xsamples/pktgen/pktgen_sample03_burst_single_flow.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/pktgen/pktgen_sample03_burst_single_flow.sh b/samples/pktgen/pktgen_sample03_burst_single_flow.sh
index 8d26e0ca683d..8a46daf27966 100755
--- a/samples/pktgen/pktgen_sample03_burst_single_flow.sh
+++ b/samples/pktgen/pktgen_sample03_burst_single_flow.sh
@@ -30,7 +30,7 @@ if [ -z "$DEST_IP" ]; then
fi
[ -z "$DST_MAC" ] && DST_MAC="90:e2:ba:ff:ff:ff"
[ -z "$BURST" ] && BURST=32
-[ -z "$CLONE_SKB" ] && CLONE_SKB="100000"
+[ -z "$CLONE_SKB" ] && CLONE_SKB="0" # No need for clones when bursting
[ -z "$COUNT" ] && COUNT="0" # Zero means indefinitely
# Base Config