Skip to content

Commit 3342dc8

Browse files
Wei Fangkuba-moo
Wei Fang
authored andcommitted
samples: pktgen: correct dev to DEV
In the pktgen_sample01_simple.sh script, the device variable is uppercase 'DEV' instead of lowercase 'dev'. Because of this typo, the script cannot enable UDP tx checksum. Fixes: 460a9aa ("samples: pktgen: add UDP tx checksum support") Signed-off-by: Wei Fang <wei.fang@nxp.com> Reviewed-by: Simon Horman <horms@kernel.org> Acked-by: Jesper Dangaard Brouer <hawk@kernel.org> Link: https://patch.msgid.link/20241112030347.1849335-1-wei.fang@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 671154f commit 3342dc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/pktgen/pktgen_sample01_simple.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ if [ -n "$DST_PORT" ]; then
7676
pg_set $DEV "udp_dst_max $UDP_DST_MAX"
7777
fi
7878

79-
[ ! -z "$UDP_CSUM" ] && pg_set $dev "flag UDPCSUM"
79+
[ ! -z "$UDP_CSUM" ] && pg_set $DEV "flag UDPCSUM"
8080

8181
# Setup random UDP port src range
8282
pg_set $DEV "flag UDPSRC_RND"

0 commit comments

Comments
 (0)