Lines Matching full:netns
30 ip netns del $ns 2>/dev/null
40 ip netns add $ns
47 ip link set dev veth$ns netns $BASE$ns up
59 local flag=`ip netns exec $BASE$target ethtool -k veth$target |\
89 ifindex=`ip netns exec $BASE$target cat /sys/class/net/veth$target/ifindex`
90 out=`ip netns exec $BASE$target "$YNL" --family netdev --do dev-get \
118 local cur_rx=`ip netns exec $BASE$target ethtool -l $dev |\
120 local cur_tx=`ip netns exec $BASE$target ethtool -l $dev |\
122 local cur_combined=`ip netns exec $BASE$target ethtool -l $dev |\
137 ip netns exec $BASE$SRC ping -qc 1 $BM_NET_V4$DST >/dev/null
138 NSTAT_HISTORY=$STATS ip netns exec $NS_DST nstat -n
141 ip netns exec $BASE$DST ./udpgso_bench_rx -C 1000 -R 10 &
145 ip netns exec $NS_SRC ./udpgso_bench_tx -4 -s 13000 -S 1300 -M 1 -D $BM_NET_V4$DST
155 local pkts=`NSTAT_HISTORY=$STATS ip netns exec $NS_DST nstat IpInReceives | \
177 ip netns exec $NS_SRC ethtool -L veth$SRC rx $i tx $i
178 ip netns exec $NS_DST ethtool -L veth$DST rx $i tx $i
183 ip netns exec $NS_SRC ethtool -L veth$SRC rx $cur_cpu tx $cur_cpu
184 ip netns exec $NS_DST ethtool -L veth$DST rx $cur_cpu tx $cur_cpu
196 ip netns exec $NS_SRC ./udpgso_bench_tx -4 -s 1000 -M 300 -D $BM_NET_V4$DST
205 ip netns exec $NS_SRC ethtool -L veth$SRC rx 3 tx 3
206 ip netns exec $NS_DST ethtool -L veth$DST rx 3 tx 3
208 ip netns exec $NS_DST ./udpgso_bench_rx &
228 ip netns exec $NS_SRC ethtool -L veth$SRC rx 2 tx 2
229 ip netns exec $NS_DST ethtool -L veth$DST rx 2 tx 1
266 ip netns exec $NS_SRC ethtool -K veth$SRC tx-udp-segmentation off
271 ip netns exec $NS_DST ethtool -K veth$DST gro on
276 ip netns exec $NS_SRC ethtool -K veth$SRC tx-udp-segmentation off
277 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
298 ip netns exec $NS_DST ethtool -K veth$DST generic-receive-offload on
314 ip netns exec $NS_DST ethtool -K veth$DST gro on
323 ip netns exec $NS_DST ethtool -K veth$DST gro off
324 ip netns exec $NS_DST ethtool -K veth$DST gro on
327 ip netns exec $NS_DST ethtool -K veth$DST gro off
332 ip netns exec $NS_DST ethtool -K veth$DST gro on
337 ip netns exec $NS_SRC ethtool -K veth$SRC tx-udp-segmentation off
338 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
343 ip netns exec $NS_SRC sysctl -qw net.ipv6.conf.veth$SRC.disable_ipv6=1
344 ip netns exec $NS_DST sysctl -qw net.ipv6.conf.veth$DST.disable_ipv6=1
345 ip netns exec $NS_SRC ethtool -K veth$SRC gro on
348 mac=`ip netns exec $NS_DST cat /sys/class/net/veth$DST/address`
350 ip netns exec $NS_SRC ping -qc 5 -i 0.01 -W 1 $BM_NET_V4$DST >/dev/null
351 tx=`ip netns exec $NS_DST ethtool -S veth$DST | \
353 rx=`ip netns exec $NS_SRC ethtool -S veth$SRC | \
372 ip netns exec $NS_DST ethtool -L veth$DST tx 2
378 ip netns exec $NS_DST ethtool -L veth$DST rx 3 tx 3
384 ip netns exec $NS_DST ethtool -L veth$DST combined 2 2>/dev/null
387 ip netns exec $NS_DST ethtool -L veth$DST tx $((CPUS + 1)) 2>/dev/null
392 ip netns exec $NS_DST ethtool -L veth$DST rx 1 tx 2 2>/dev/null
393 ip netns exec $NS_SRC ethtool -L veth$SRC rx 1 tx 2 2>/dev/null
400 ip netns exec $NS_SRC ethtool -L veth$SRC rx 2
401 ip netns exec $NS_DST ethtool -L veth$DST rx 2
405 ip netns exec $NS_DST ethtool -L veth$DST rx 1 2>/dev/null &&\
413 ip netns exec $NS_SRC ethtool -L veth$SRC tx 3 2>/dev/null &&\
423 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
425 ip netns exec $NS_DST ethtool -K veth$DST generic-receive-offload on
435 ip netns exec $NS_DST ethtool -K veth$DST gro on
443 ip netns exec $NS_DST ethtool -L veth$DST tx 1
456 ip netns exec $NS_DST ethtool -L veth$DST tx 2
462 ip netns exec $NS_DST ethtool -K veth$DST gro off
463 ip netns exec $NS_SRC ethtool -K veth$SRC tx-udp-segmentation off