Home
last modified time | relevance | path

Searched refs:VETH0 (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_xsk.sh96 VETH0=ve${VETH0_POSTFIX}
104 cleanup_exit ${VETH0} ${VETH1}
110 echo "setting up ${VETH0}"
112 …ip link add ${VETH0} numtxqueues 4 numrxqueues 4 type veth peer name ${VETH1} numtxqueues 4 numrxq…
114 echo 1 > /proc/sys/net/ipv6/conf/${VETH0}/disable_ipv6
122 echo 2 > /sys/class/net/${VETH0}/napi_defer_hard_irqs
123 echo 200000 > /sys/class/net/${VETH0}/gro_flush_timeout
129 ip link set ${VETH0} mtu ${MTU}
131 ip link set ${VETH0} up
135 VETH0=${ETH}
[all …]
Dxsk_prereqs.sh85 ./${XSKOBJ} -i ${VETH0} -i ${VETH1} ${ARGS}
/Linux-v6.6/samples/bpf/
Dlwt_len_hist.sh5 VETH0=tst_lwt1a
13 ip route del 192.168.253.2/32 dev $VETH0 2> /dev/null
14 ip link del $VETH0 2> /dev/null
23 ip link add $VETH0 type veth peer name $VETH1
24 ip link set dev $VETH0 up
25 ip addr add 192.168.253.1/24 dev $VETH0
33 ip route add 192.168.253.2/32 encap bpf out obj $BPF_PROG section len_hist dev $VETH0
Dtest_lwt_bpf.sh9 VETH0=tst_lwt1a
43 ip link del $VETH0 2> /dev/null
74 ip route del ${IPVETH1}/32 dev $VETH0 2> /dev/null || true
87 ip route add ${IPVETH1}/32 $OPTS dev $VETH0
95 ip route del ${IPVETH1}/32 dev $VETH0
369 setup_one_veth $NS1 $VETH0 $VETH1 $IPVETH0 $IPVETH1 $IPVETH1b
376 SRC_MAC=$(lookup_mac $VETH0)
377 DST_IFINDEX=$(cat /sys/class/net/$VETH0/ifindex)
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dip_check_defrag.c30 #define VETH0 "veth0" macro
48 SYS(fail, "ip link add " VETH0 " netns " NS0 " type veth peer name " VETH1 " netns " NS1); in setup_topology()
50 SYS(fail, "ip -6 -net " NS0 " addr add " VETH0_ADDR6 "/64 dev " VETH0 " nodad"); in setup_topology()
53 SYS(fail, "ip -net " NS0 " addr add " VETH0_ADDR "/24 dev " VETH0); in setup_topology()
56 SYS(fail, "ip -net " NS0 " link set dev " VETH0 " up"); in setup_topology()