Lines Matching +full:3 +full:ns
5 readonly STATS="$(mktemp -p /tmp ns-XXXXXX)"
21 local ns
27 for ns in $NS_SRC $NS_DST; do
28 ip netns del $ns 2>/dev/null
35 local ns
37 for ns in $NS_SRC $NS_DST; do
38 ip netns add $ns
39 ip -n $ns link set dev lo up
44 for ns in $SRC $DST; do
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
56 local expected=$3
72 __chk_flag "$1" $2 $3 generic-receive-offload
76 __chk_flag "$1" $2 $3 tcp-segmentation-offload
82 local rx=$3
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
226 [ $STRESS -gt 0 -a $CPUS -lt 3 ] && echo " stress test will be skipped, too"
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
277 CUR_RX=3
278 CUR_TX=3
310 ip netns exec $NS_SRC ethtool -L veth$SRC tx 3 2>/dev/null &&\