Home
last modified time | relevance | path

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

/tools/testing/selftests/net/
Dsetup_loopback.sh44 local -r ns_dev="$3"
48 ip link add link "${link_dev}" dev "${ns_dev}" \
57 ip link set dev "${ns_dev}" netns "${ns_name}"
58 ip -netns "${ns_name}" link set dev "${ns_dev}" up
60 ip -netns "${ns_name}" addr add dev "${ns_dev}" "${addr}"
69 ns_dev="$2"
70 ip -netns "${ns_name}" link del dev "${ns_dev}"
Dsetup_veth.sh7 local -r ns_dev="$3"
11 echo 1000000 > "/sys/class/net/${ns_dev}/gro_flush_timeout"
12 ip link set dev "${ns_dev}" netns "${ns_name}" mtu 65535
13 ip -netns "${ns_name}" link set dev "${ns_dev}" up
15 ip netns exec "${ns_name}" ethtool -K "${ns_dev}" gro on tso off
/tools/bpf/bpftool/
Dcommon.c510 ifindex_to_name_ns(__u32 ifindex, __u32 ns_dev, __u32 ns_ino, char *buf) in ifindex_to_name_ns() argument
521 if (st.st_dev != ns_dev || st.st_ino != ns_ino) in ifindex_to_name_ns()
566 ifindex_to_bfd_params(__u32 ifindex, __u64 ns_dev, __u64 ns_ino, in ifindex_to_bfd_params() argument
573 if (!ifindex_to_name_ns(ifindex, ns_dev, ns_ino, devname)) { in ifindex_to_bfd_params()
601 void print_dev_plain(__u32 ifindex, __u64 ns_dev, __u64 ns_inode) in print_dev_plain() argument
609 if (ifindex_to_name_ns(ifindex, ns_dev, ns_inode, name)) in print_dev_plain()
613 ifindex, ns_dev, ns_inode); in print_dev_plain()
616 void print_dev_json(__u32 ifindex, __u64 ns_dev, __u64 ns_inode) in print_dev_json() argument
626 jsonw_uint_field(json_wtr, "ns_dev", ns_dev); in print_dev_json()
628 if (ifindex_to_name_ns(ifindex, ns_dev, ns_inode, name)) in print_dev_json()
Dmain.h150 void print_dev_plain(__u32 ifindex, __u64 ns_dev, __u64 ns_inode);
151 void print_dev_json(__u32 ifindex, __u64 ns_dev, __u64 ns_inode);
225 ifindex_to_bfd_params(__u32 ifindex, __u64 ns_dev, __u64 ns_ino,