Home
last modified time | relevance | path

Searched refs:NS_DST (Results 1 – 4 of 4) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/net/
Dveth.sh10 readonly NS_DST=$BASE$DST
26 for ns in $NS_SRC $NS_DST; do
36 for ns in $NS_SRC $NS_DST; do
106 NSTAT_HISTORY=$STATS ip netns exec $NS_DST nstat -n
123 local pkts=`NSTAT_HISTORY=$STATS ip netns exec $NS_DST nstat IpInReceives | \
146 ip netns exec $NS_DST ethtool -L veth$DST rx $i tx $i
152 ip netns exec $NS_DST ethtool -L veth$DST rx $cur_cpu tx $cur_cpu
174 ip netns exec $NS_DST ethtool -L veth$DST rx 3 tx 3
176 ip netns exec $NS_DST ./udpgso_bench_rx &
197 ip netns exec $NS_DST ethtool -L veth$DST rx 2 tx 1
[all …]
Dudpgro_fwd.sh9 readonly NS_DST=$BASE$DST
25 for ns in $NS_SRC $NS_DST; do
36 for ns in $NS_SRC $NS_DST; do
49 ip -n $NS_DST link set veth$DST xdp object ../bpf/xdp_dummy.o section xdp_dummy 2>/dev/null
117 ip netns exec $NS_DST $ipt -A INPUT -p udp --dport 4789
118 ip netns exec $NS_DST $ipt -A INPUT -p udp --dport 8000
119 ip netns exec $NS_DST ./udpgso_bench_rx -C 1000 -R 10 -n 10 -l 1300 $rx_args &
132 local rcv=`ip netns exec $NS_DST $ipt"-save" -c | grep 'dport 8000' | \
140 local vxrcv=`ip netns exec $NS_DST $ipt"-save" -c | grep 'dport 4789' | \
167 ip netns exec $NS_DST bash -c "echo 2 > /sys/class/net/veth$DST/queues/rx-0/rps_cpus"
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_tc_edt.sh23 readonly NS_DST="ns-dst-$(mktemp -u XXXXXX)"
31 ip netns del ${NS_DST}
39 ip netns add "${NS_DST}"
42 ip link set veth_dst netns ${NS_DST}
45 ip -netns ${NS_DST} addr add ${IP_DST}/24 dev veth_dst
48 ip -netns ${NS_DST} link set dev veth_dst up
51 ip -netns ${NS_DST} route add ${IP_SRC}/32 dev veth_dst
61 ip netns exec ${NS_DST} bash -c \
70 declare -ir RX_BYTES_START=$( ip netns exec ${NS_DST} \
78 declare -ir RX_BYTES_END=$( ip netns exec ${NS_DST} \
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dtc_redirect.c35 #define NS_DST "ns_dst" macro
69 static const char * const namespaces[] = {NS_SRC, NS_FWD, NS_DST, NULL};
276 SYS("ip link set veth_dst netns " NS_DST); in netns_setup_links_and_routes()
320 nstoken = open_netns(NS_DST); in netns_setup_links_and_routes()
370 nstoken = open_netns(NS_DST); in test_tcp()
741 SYS("ip -netns " NS_DST " route add " IP4_TUN_SRC "/32 dev veth_dst scope global"); in test_tc_redirect_peer_l3()
745 SYS("ip -netns " NS_DST " route add " IP6_TUN_SRC "/128 dev veth_dst scope global"); in test_tc_redirect_peer_l3()
747 SYS("ip -netns " NS_DST " neigh add " IP4_TUN_SRC " dev veth_dst lladdr " MAC_DST_FWD); in test_tc_redirect_peer_l3()
748 SYS("ip -netns " NS_DST " neigh add " IP6_TUN_SRC " dev veth_dst lladdr " MAC_DST_FWD); in test_tc_redirect_peer_l3()