Lines Matching refs:DST

8 readonly DST=1
11 readonly NS_DST=$BASE$DST
42 ip link add name veth$SRC type veth peer name veth$DST
44 for ns in $SRC $DST; do
106 ip netns exec $BASE$SRC ping -qc 1 $BM_NET_V4$DST >/dev/null
110 ip netns exec $BASE$DST ./udpgso_bench_rx -C 1000 -R 10 &
114 ip netns exec $NS_SRC ./udpgso_bench_tx -4 -s 13000 -S 1300 -M 1 -D $BM_NET_V4$DST
147 ip netns exec $NS_DST ethtool -L veth$DST rx $i tx $i
153 ip netns exec $NS_DST ethtool -L veth$DST rx $cur_cpu tx $cur_cpu
165 ip netns exec $NS_SRC ./udpgso_bench_tx -4 -s 1000 -M 300 -D $BM_NET_V4$DST
175 ip netns exec $NS_DST ethtool -L veth$DST rx 3 tx 3
198 ip netns exec $NS_DST ethtool -L veth$DST rx 2 tx 1
230 chk_gro_flag " - peer gro flag" $DST off
232 chk_tso_flag " - peer tso flag" $DST on
239 ip netns exec $NS_DST ethtool -K veth$DST gro on
240 chk_gro_flag "with gro on - gro flag" $DST on
243 chk_tso_flag " - peer tso flag" $DST on
245 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
250 chk_channels "default channels" $DST 1 1
252 ip -n $NS_DST link set dev veth$DST down
253 ip netns exec $NS_DST ethtool -K veth$DST gro on
254 chk_gro_flag "with gro enabled on link down - gro flag" $DST on
257 chk_tso_flag " - peer tso flag" $DST on
258 ip -n $NS_DST link set dev veth$DST up
260 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
269 ip netns exec $NS_DST ethtool -L veth$DST tx 2
270 chk_channels "setting tx channels" $DST 1 2
275 ip netns exec $NS_DST ethtool -L veth$DST rx 3 tx 3
276 chk_channels "setting both rx and tx channels" $DST 3 3
281 ip netns exec $NS_DST ethtool -L veth$DST combined 2 2>/dev/null
282 chk_channels "bad setting: combined channels" $DST $CUR_RX $CUR_TX
284 ip netns exec $NS_DST ethtool -L veth$DST tx $((CPUS + 1)) 2>/dev/null
285 chk_channels "setting invalid channels nr" $DST $CUR_RX $CUR_TX
289 ip netns exec $NS_DST ethtool -L veth$DST rx 1 tx 2 2>/dev/null
292 ip -n $NS_DST link set dev veth$DST xdp object ${BPF_FILE} \
298 ip netns exec $NS_DST ethtool -L veth$DST rx 2
299 ip -n $NS_DST link set dev veth$DST xdp object ${BPF_FILE} \
302 ip netns exec $NS_DST ethtool -L veth$DST rx 1 2>/dev/null &&\
312 chk_channels "setting invalid channels nr" $DST 2 2
315 ip -n $NS_DST link set dev veth$DST xdp object ${BPF_FILE} section xdp 2>/dev/null
316 chk_gro_flag "with xdp attached - gro flag" $DST on
319 chk_tso_flag " - peer tso flag" $DST on
320 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
324 ip -n $NS_DST link set dev veth$DST down
326 chk_gro_flag " - after dev off, flag" $DST on
329 ip netns exec $NS_DST ethtool -K veth$DST gro on
330 ip -n $NS_DST link set dev veth$DST xdp off
331 chk_gro_flag " - after gro on xdp off, gro flag" $DST on
334 chk_tso_flag " - peer tso flag" $DST on
337 ip netns exec $NS_DST ethtool -L veth$DST tx 1
338 chk_channels "decreasing tx channels with device down" $DST 2 1
341 ip -n $NS_DST link set dev veth$DST up
348 ip -n $NS_DST link set dev veth$DST down
350 ip netns exec $NS_DST ethtool -L veth$DST tx 2
351 chk_channels "increasing tx channels with device down" $DST 2 2
352 ip -n $NS_DST link set dev veth$DST up
356 ip netns exec $NS_DST ethtool -K veth$DST gro off