summaryrefslogtreecommitdiff
path: root/samples/pktgen/pktgen_sample03_burst_single_flow.sh
diff options
context:
space:
mode:
Diffstat (limited to 'samples/pktgen/pktgen_sample03_burst_single_flow.sh')
-rwxr-xr-xsamples/pktgen/pktgen_sample03_burst_single_flow.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/pktgen/pktgen_sample03_burst_single_flow.sh b/samples/pktgen/pktgen_sample03_burst_single_flow.sh
index 5adcf954de73..ab87de440277 100755
--- a/samples/pktgen/pktgen_sample03_burst_single_flow.sh
+++ b/samples/pktgen/pktgen_sample03_burst_single_flow.sh
@@ -73,6 +73,8 @@ for ((thread = $F_THREAD; thread <= $L_THREAD; thread++)); do
pg_set $dev "udp_dst_max $UDP_DST_MAX"
fi
+ [ ! -z "$UDP_CSUM" ] && pg_set $dev "flag UDPCSUM"
+
# Setup burst, for easy testing -b 0 disable bursting
# (internally in pktgen default and minimum burst=1)
if [[ ${BURST} -ne 0 ]]; then