Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/net/
Dveth.sh11 readonly NS_DST=$BASE$DST
27 for ns in $NS_SRC $NS_DST; do
37 for ns in $NS_SRC $NS_DST; do
107 NSTAT_HISTORY=$STATS ip netns exec $NS_DST nstat -n
124 local pkts=`NSTAT_HISTORY=$STATS ip netns exec $NS_DST nstat IpInReceives | \
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
175 ip netns exec $NS_DST ethtool -L veth$DST rx 3 tx 3
177 ip netns exec $NS_DST ./udpgso_bench_rx &
198 ip netns exec $NS_DST ethtool -L veth$DST rx 2 tx 1
[all …]
Dudpgro_fwd.sh12 readonly NS_DST=$BASE$DST
28 for ns in $NS_SRC $NS_DST; do
39 for ns in $NS_SRC $NS_DST; do
56 ip -n $NS_DST link set veth$DST xdp object ${BPF_FILE} section xdp 2>/dev/null
130 ip netns exec $NS_DST $ipt -A INPUT -p udp --dport 4789
131 ip netns exec $NS_DST $ipt -A INPUT -p udp --dport 8000
132 ip netns exec $NS_DST ./udpgso_bench_rx -C 2000 -R 100 -n 10 -l 1300 $rx_args &
134 wait_local_port_listen "$NS_DST" 8000 udp
145 local rcv=`ip netns exec $NS_DST $ipt"-save" -c | grep 'dport 8000' | \
153 local vxrcv=`ip netns exec $NS_DST $ipt"-save" -c | grep 'dport 4789' | \
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_tc_edt.sh24 readonly NS_DST="ns-dst-$(mktemp -u XXXXXX)"
32 ip netns del ${NS_DST}
40 ip netns add "${NS_DST}"
43 ip link set veth_dst netns ${NS_DST}
46 ip -netns ${NS_DST} addr add ${IP_DST}/24 dev veth_dst
49 ip -netns ${NS_DST} link set dev veth_dst up
52 ip -netns ${NS_DST} route add ${IP_SRC}/32 dev veth_dst
62 ip netns exec ${NS_DST} bash -c \
71 declare -ir RX_BYTES_START=$( ip netns exec ${NS_DST} \
79 declare -ir RX_BYTES_END=$( ip netns exec ${NS_DST} \
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dtc_redirect.c39 #define NS_DST "ns_dst" macro
70 static const char * const namespaces[] = {NS_SRC, NS_FWD, NS_DST, NULL};
249 SYS(fail, "ip link set dst netns " NS_DST); in netns_setup_links_and_routes()
302 nstoken = open_netns(NS_DST); in netns_setup_links_and_routes()
414 nstoken = open_netns(NS_DST); in test_tcp()
547 nstoken = open_netns(NS_DST); in wait_netstamp_needed_key()
629 nstoken = open_netns(NS_DST); in test_inet_dtime()
710 nstoken = open_netns(NS_DST); in netns_load_dtime_bpf()
711 if (!ASSERT_OK_PTR(nstoken, "setns " NS_DST)) in netns_load_dtime_bpf()
1235 SYS(fail, "ip -netns " NS_DST " route add " IP4_TUN_SRC "/32 dev dst scope global"); in test_tc_redirect_peer_l3()
[all …]