Lines Matching refs:ip

28 		ip netns del $ns 2>/dev/null
38 ip netns add $ns
39 ip -n $ns link set dev lo up
42 ip link add name veth$SRC type veth peer name veth$DST
45 ip link set dev veth$ns netns $BASE$ns up
46 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V4$ns/24
47 ip -n $BASE$ns addr add dev veth$ns $BM_NET_V6$ns/64 nodad
59 local flag=`ip netns exec $BASE$target ethtool -k veth$target |\
87 local cur_rx=`ip netns exec $BASE$target ethtool -l $dev |\
89 local cur_tx=`ip netns exec $BASE$target ethtool -l $dev |\
91 local cur_combined=`ip netns exec $BASE$target ethtool -l $dev |\
106 ip netns exec $BASE$SRC ping -qc 1 $BM_NET_V4$DST >/dev/null
107 NSTAT_HISTORY=$STATS ip netns exec $NS_DST nstat -n
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
124 local pkts=`NSTAT_HISTORY=$STATS ip netns exec $NS_DST nstat IpInReceives | \
146 ip netns exec $NS_SRC ethtool -L veth$SRC rx $i tx $i
147 ip netns exec $NS_DST ethtool -L veth$DST rx $i tx $i
152 ip netns exec $NS_SRC ethtool -L veth$SRC rx $cur_cpu tx $cur_cpu
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
174 ip netns exec $NS_SRC ethtool -L veth$SRC rx 3 tx 3
175 ip netns exec $NS_DST ethtool -L veth$DST rx 3 tx 3
177 ip netns exec $NS_DST ./udpgso_bench_rx &
197 ip netns exec $NS_SRC ethtool -L veth$SRC rx 2 tx 2
198 ip netns exec $NS_DST ethtool -L veth$DST rx 2 tx 1
234 ip netns exec $NS_SRC ethtool -K veth$SRC tx-udp-segmentation off
239 ip netns exec $NS_DST ethtool -K veth$DST gro on
244 ip netns exec $NS_SRC ethtool -K veth$SRC tx-udp-segmentation off
245 ip netns exec $NS_DST ethtool -K veth$DST rx-udp-gro-forwarding on
252 ip -n $NS_DST link set dev veth$DST down
253 ip netns exec $NS_DST ethtool -K veth$DST gro on
258 ip -n $NS_DST link set dev veth$DST up
259 ip netns exec $NS_SRC ethtool -K veth$SRC tx-udp-segmentation off
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
275 ip netns exec $NS_DST ethtool -L veth$DST rx 3 tx 3
281 ip netns exec $NS_DST ethtool -L veth$DST combined 2 2>/dev/null
284 ip netns exec $NS_DST ethtool -L veth$DST tx $((CPUS + 1)) 2>/dev/null
289 ip netns exec $NS_DST ethtool -L veth$DST rx 1 tx 2 2>/dev/null
290 ip netns exec $NS_SRC ethtool -L veth$SRC rx 1 tx 2 2>/dev/null
292 ip -n $NS_DST link set dev veth$DST xdp object ${BPF_FILE} \
297 ip netns exec $NS_SRC ethtool -L veth$SRC rx 2
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 &&\
310 ip netns exec $NS_SRC ethtool -L veth$SRC tx 3 2>/dev/null &&\
315 ip -n $NS_DST link set dev veth$DST xdp object ${BPF_FILE} section xdp 2>/dev/null
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
325 ip -n $NS_SRC link set dev veth$SRC down
329 ip netns exec $NS_DST ethtool -K veth$DST gro on
330 ip -n $NS_DST link set dev veth$DST xdp off
337 ip netns exec $NS_DST ethtool -L veth$DST tx 1
341 ip -n $NS_DST link set dev veth$DST up
342 ip -n $NS_SRC link set dev veth$SRC up
348 ip -n $NS_DST link set dev veth$DST down
349 ip -n $NS_SRC link set dev veth$SRC down
350 ip netns exec $NS_DST ethtool -L veth$DST tx 2
352 ip -n $NS_DST link set dev veth$DST up
353 ip -n $NS_SRC link set dev veth$SRC up
356 ip netns exec $NS_DST ethtool -K veth$DST gro off
357 ip netns exec $NS_SRC ethtool -K veth$SRC tx-udp-segmentation off