samples/pktgen: update sample03, no need for clones when bursting
authorJesper Dangaard Brouer <brouer@redhat.com>
Wed, 1 Nov 2017 10:41:19 +0000 (11:41 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Nov 2017 05:19:53 +0000 (14:19 +0900)
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>
samples/pktgen/pktgen_sample03_burst_single_flow.sh

index 8d26e0ca683dd6c0c4aec582999fa5d817ccfa50..8a46daf279661f74a130f5a60f21df23a6106cac 100755 (executable)
@@ -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