Lines Matching refs:SRC
6 readonly SRC=2
9 readonly NS_SRC=$BASE$SRC
41 ip link add name veth$SRC type veth peer name veth$DST
43 for ns in $SRC $DST; do
105 ip netns exec $BASE$SRC ping -qc 1 $BM_NET_V4$DST >/dev/null
145 ip netns exec $NS_SRC ethtool -L veth$SRC rx $i tx $i
151 ip netns exec $NS_SRC ethtool -L veth$SRC rx $cur_cpu tx $cur_cpu
173 ip netns exec $NS_SRC ethtool -L veth$SRC rx 3 tx 3
196 ip netns exec $NS_SRC ethtool -L veth$SRC rx 2 tx 2
228 chk_gro_flag "default - gro flag" $SRC off
230 chk_tso_flag " - tso flag" $SRC on
233 ip netns exec $NS_SRC ethtool -K veth$SRC tx-udp-segmentation off
240 chk_gro_flag " - peer gro flag" $SRC off
241 chk_tso_flag " - tso flag" $SRC on
243 ip netns exec $NS_SRC ethtool -K veth$SRC tx-udp-segmentation off
254 chk_gro_flag " - peer gro flag" $SRC off
255 chk_tso_flag " - tso flag" $SRC on
258 ip netns exec $NS_SRC ethtool -K veth$SRC tx-udp-segmentation off
289 ip netns exec $NS_SRC ethtool -L veth$SRC rx 1 tx 2 2>/dev/null
296 ip netns exec $NS_SRC ethtool -L veth$SRC rx 2
309 ip netns exec $NS_SRC ethtool -L veth$SRC tx 3 2>/dev/null &&\
316 chk_gro_flag " - peer gro flag" $SRC off
317 chk_tso_flag " - tso flag" $SRC off
324 ip -n $NS_SRC link set dev veth$SRC down
326 chk_gro_flag " - peer flag" $SRC off
331 chk_gro_flag " - peer gro flag" $SRC off
332 chk_tso_flag " - tso flag" $SRC on
341 ip -n $NS_SRC link set dev veth$SRC up
348 ip -n $NS_SRC link set dev veth$SRC down
352 ip -n $NS_SRC link set dev veth$SRC up
356 ip netns exec $NS_SRC ethtool -K veth$SRC tx-udp-segmentation off