Searched refs:ns_dev (Results 1 – 6 of 6) sorted by relevance
/linux/tools/testing/selftests/net/ |
H A D | setup_loopback.sh | 46 local -r ns_dev="$3" 50 ip link add link "${link_dev}" dev "${ns_dev}" \ 59 ip link set dev "${ns_dev}" netns "${ns_name}" 60 ip -netns "${ns_name}" link set dev "${ns_dev}" up 62 ip -netns "${ns_name}" addr add dev "${ns_dev}" "${addr}" 71 ns_dev="$2" 72 ip -netns "${ns_name}" link del dev "${ns_dev}"
|
H A D | setup_veth.sh | 10 local -r ns_dev="$3" 14 echo 1000000 > "/sys/class/net/${ns_dev}/gro_flush_timeout" 15 ip link set dev "${ns_dev}" netns "${ns_name}" mtu 65535 16 ip -netns "${ns_name}" link set dev "${ns_dev}" up 18 ip netns exec "${ns_name}" ethtool -K "${ns_dev}" gro on tso off
|
/linux/drivers/atm/ |
H A D | nicstar.c | 120 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 …]
|
H A D | nicstar.h | 708 typedef struct ns_dev { struct 748 } ns_dev; argument
|
/linux/tools/bpf/bpftool/ |
H A D | common.c | 653 ifindex_to_name_ns(__u32 ifindex, __u32 ns_dev, __u32 ns_ino, char *buf) in ifindex_to_name_ns() argument 664 if (st.st_dev != ns_dev || st.st_ino != ns_ino) in ifindex_to_name_ns() 709 ifindex_to_arch(__u32 ifindex, __u64 ns_dev, __u64 ns_ino, const char **opt) in ifindex_to_arch() argument 715 if (!ifindex_to_name_ns(ifindex, ns_dev, ns_ino, devname)) { in ifindex_to_arch() 746 void print_dev_plain(__u32 ifindex, __u64 ns_dev, __u64 ns_inode) in print_dev_plain() argument 754 if (ifindex_to_name_ns(ifindex, ns_dev, ns_inode, name)) in print_dev_plain() 758 ifindex, ns_dev, ns_inode); in print_dev_plain() 761 void print_dev_json(__u32 ifindex, __u64 ns_dev, __u64 ns_inode) in print_dev_json() argument 771 jsonw_uint_field(json_wtr, "ns_dev", ns_dev); in print_dev_json() 773 if (ifindex_to_name_ns(ifindex, ns_dev, ns_inode, name)) in print_dev_json()
|
H A D | main.h | 125 void print_dev_plain(__u32 ifindex, __u64 ns_dev, __u64 ns_inode); 126 void print_dev_json(__u32 ifindex, __u64 ns_dev, __u64 ns_inode); 207 ifindex_to_arch(__u32 ifindex, __u64 ns_dev, __u64 ns_ino, const char **opt);
|