Home
last modified time | relevance | path

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

/linux-6.1.9/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 100000 > "/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
/linux-6.1.9/drivers/atm/
Dnicstar.c120 static u32 ns_read_sram(ns_dev * card, u32 sram_address);
121 static void ns_write_sram(ns_dev * card, u32 sram_address, u32 * value,
124 static void ns_init_card_error(ns_dev * card, int error);
125 static scq_info *get_scq(ns_dev *card, int size, u32 scd);
126 static void free_scq(ns_dev *card, scq_info * scq, struct atm_vcc *vcc);
127 static void push_rxbufs(ns_dev *, struct sk_buff *);
131 static void fill_tst(ns_dev * card, int n, vc_map * vc);
134 static int push_scqe(ns_dev * card, vc_map * vc, scq_info * scq, ns_scqe * tbd,
136 static void process_tsq(ns_dev * card);
137 static void drain_scq(ns_dev * card, scq_info * scq, int pos);
[all …]
Dnicstar.h708 typedef struct ns_dev { struct
748 } ns_dev; argument
/linux-6.1.9/tools/bpf/bpftool/
Dcommon.c576 ifindex_to_name_ns(__u32 ifindex, __u32 ns_dev, __u32 ns_ino, char *buf) in ifindex_to_name_ns() argument
587 if (st.st_dev != ns_dev || st.st_ino != ns_ino) in ifindex_to_name_ns()
632 ifindex_to_bfd_params(__u32 ifindex, __u64 ns_dev, __u64 ns_ino, in ifindex_to_bfd_params() argument
639 if (!ifindex_to_name_ns(ifindex, ns_dev, ns_ino, devname)) { in ifindex_to_bfd_params()
667 void print_dev_plain(__u32 ifindex, __u64 ns_dev, __u64 ns_inode) in print_dev_plain() argument
675 if (ifindex_to_name_ns(ifindex, ns_dev, ns_inode, name)) in print_dev_plain()
679 ifindex, ns_dev, ns_inode); in print_dev_plain()
682 void print_dev_json(__u32 ifindex, __u64 ns_dev, __u64 ns_inode) in print_dev_json() argument
692 jsonw_uint_field(json_wtr, "ns_dev", ns_dev); in print_dev_json()
694 if (ifindex_to_name_ns(ifindex, ns_dev, ns_inode, name)) in print_dev_json()
Dmain.h126 void print_dev_plain(__u32 ifindex, __u64 ns_dev, __u64 ns_inode);
127 void print_dev_json(__u32 ifindex, __u64 ns_dev, __u64 ns_inode);
205 ifindex_to_bfd_params(__u32 ifindex, __u64 ns_dev, __u64 ns_ino,