Searched refs:NS_DST (Results 1 – 4 of 4) sorted by relevance
10 readonly NS_DST=$BASE$DST26 for ns in $NS_SRC $NS_DST; do36 for ns in $NS_SRC $NS_DST; do106 NSTAT_HISTORY=$STATS ip netns exec $NS_DST nstat -n123 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 $i152 ip netns exec $NS_DST ethtool -L veth$DST rx $cur_cpu tx $cur_cpu174 ip netns exec $NS_DST ethtool -L veth$DST rx 3 tx 3176 ip netns exec $NS_DST ./udpgso_bench_rx &197 ip netns exec $NS_DST ethtool -L veth$DST rx 2 tx 1[all …]
9 readonly NS_DST=$BASE$DST25 for ns in $NS_SRC $NS_DST; do36 for ns in $NS_SRC $NS_DST; do49 ip -n $NS_DST link set veth$DST xdp object ../bpf/xdp_dummy.o section xdp_dummy 2>/dev/null117 ip netns exec $NS_DST $ipt -A INPUT -p udp --dport 4789118 ip netns exec $NS_DST $ipt -A INPUT -p udp --dport 8000119 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 …]
23 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_dst48 ip -netns ${NS_DST} link set dev veth_dst up51 ip -netns ${NS_DST} route add ${IP_SRC}/32 dev veth_dst61 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} \
35 #define NS_DST "ns_dst" macro69 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()