Home
last modified time | relevance | path

Searched +refs:dev +refs:all (Results 1 – 25 of 828) sorted by relevance

12345678910>>...34

/Linux-v6.6/tools/testing/selftests/drivers/net/mlxsw/
Dqos_headroom.sh33 dcb -j buffer show dev $swp |
41 dcb -j pfc show dev $swp |
49 dcb -j ets show dev $swp |
57 dcb -j buffer show dev $swp | jq ".buffer_size[$idx]"
62 dcb -j buffer show dev $swp | jq '.total_size'
106 __check_buf_size "$@" > /dev/null
124 dcb ets set dev $swp prio-tc 0:0 1:2 2:4 3:6 4:1 5:3 6:5 7:7
130 dcb ets set dev $swp prio-tc all:0
135 dcb buffer set dev $swp prio-buffer 0:1 1:3 2:5 3:7 4:0 5:2 6:4 7:6 2>/dev/null
168 tc qdisc replace dev $swp root handle 1: bfifo limit 1.5M
[all …]
Dtc_sample.sh89 ip link set dev $h3 down
91 ip link set dev $h3 master ${h3}_bond
104 ip link set dev $h3 nomaster
105 ip link del dev ${h3}_bond
110 ip link set dev $h4 down
112 ip link set dev $h4 master ${h4}_bond
125 ip link set dev $h4 nomaster
126 ip link del dev ${h4}_bond
131 ip link set dev $rp1 up
133 tc qdisc add dev $rp1 clsact
[all …]
Dqos_pfc.sh161 ip link set dev $swp1 up
164 ip link set dev $swp1.111 type vlan ingress-qos-map 0:0 1:1
171 tc qdisc replace dev $swp1 root handle 1: \
173 dcb buffer set dev $swp1 prio-buffer all:0 1:1
178 ip link set dev $swp2 up
181 ip link set dev $swp2.111 type vlan egress-qos-map 0:0 1:1
187 tc qdisc replace dev $swp2 root handle 1: \
189 tc qdisc replace dev $swp2 parent 1:7 handle 17: \
195 ip link set dev $swp3 up
198 ip link set dev $swp3.111 type vlan egress-qos-map 0:0 1:1
[all …]
Dtc_restrictions.sh44 tc qdisc add dev $swp1 ingress_block 22 clsact
51 tc qdisc add dev $swp2 ingress_block 22 clsact
54 tc qdisc del dev $swp2 clsact
56 tc qdisc add dev $swp2 egress_block 22 clsact
61 tc qdisc add dev $swp2 egress_block 22 clsact
68 tc qdisc del dev $swp1 clsact
70 tc qdisc add dev $swp1 egress_block 22 clsact
79 tc qdisc del dev $swp2 clsact
80 tc qdisc del dev $swp1 clsact
92 tc qdisc add dev $swp1 ingress_block 22 clsact
[all …]
Dvxlan_flooding.sh60 ip link add dev br0 type bridge mcast_snooping 0
61 ip link set dev br0 address $(mac_get $swp1)
66 ip address add 198.51.100.1/32 dev lo
68 ip link set dev $swp1 master br0
69 ip link set dev vxlan0 master br0
71 ip link set dev br0 up
72 ip link set dev $swp1 up
73 ip link set dev vxlan0 up
78 ip link set dev vxlan0 down
79 ip link set dev $swp1 down
[all …]
Done_armed_router.sh88 ip link set dev br0 up
90 ip link set dev $swp1 master br0
91 ip link set dev $swp1 up
92 ip link set dev $swp2 master br0
93 ip link set dev $swp2 up
95 tc qdisc add dev $swp1 clsact
96 tc qdisc add dev $swp2 clsact
107 tc qdisc del dev $swp2 clsact
108 tc qdisc del dev $swp1 clsact
110 ip link set dev $swp2 down
[all …]
/Linux-v6.6/tools/testing/selftests/net/forwarding/
Dtc_vlan_modify.sh39 ip link add dev br0 type bridge vlan_filtering 1 mcast_snooping 0
41 ip link set dev $swp1 master br0
42 ip link set dev $swp2 master br0
44 ip link set dev br0 up
45 ip link set dev $swp1 up
46 ip link set dev $swp2 up
48 bridge vlan add dev $swp1 vid 85
49 bridge vlan add dev $swp2 vid 65
51 bridge vlan add dev $swp2 vid 85
52 bridge vlan add dev $swp1 vid 65
[all …]
/Linux-v6.6/tools/testing/selftests/net/
Dudpgro.sh22 [ -n "${jobs}" ] && kill -1 ${jobs} 2>/dev/null
23 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
31 ip link set dev veth0 up
32 ip addr add dev veth0 192.168.1.2/24
33 ip addr add dev veth0 2001:db8::2/64 nodad
35 ip link set dev veth1 netns "${PEER_NS}"
36 ip -netns "${PEER_NS}" addr add dev veth1 192.168.1.1/24
37 ip -netns "${PEER_NS}" addr add dev veth1 2001:db8::1/64 nodad
38 ip -netns "${PEER_NS}" link set dev veth1 up
44 local -r all="$@"
[all …]
Dudpgro_bench.sh14 [ -n "${jobs}" ] && kill -INT ${jobs} 2>/dev/null
15 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
21 local -r all="$@"
22 local -r tx_args=${all%rx*}
23 local rx_args=${all#*rx}
30 ip link set dev veth0 up
31 ip addr add dev veth0 192.168.1.2/24
32 ip addr add dev veth0 2001:db8::2/64 nodad
34 ip link set dev veth1 netns "${PEER_NS}"
35 ip -netns "${PEER_NS}" addr add dev veth1 192.168.1.1/24
[all …]
Dudpgro_frglist.sh14 [ -n "${jobs}" ] && kill -INT ${jobs} 2>/dev/null
15 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
21 local -r all="$@"
22 local -r tx_args=${all%rx*}
23 local rx_args=${all#*rx}
30 ip link set dev veth0 up
31 ip addr add dev veth0 192.168.1.2/24
32 ip addr add dev veth0 2001:db8::2/64 nodad
34 ip link set dev veth1 netns "${PEER_NS}"
35 ip -netns "${PEER_NS}" addr add dev veth1 192.168.1.1/24
[all …]
Dicmp_redirect.sh118 local dev=$2
121 addr=$(ip -netns $ns -6 -br addr show dev ${dev} | \
146 ip netns del $ns 2>/dev/null
159 ip -netns ${ns} addr add 127.0.0.1/8 dev ${VRF}
160 ip -netns ${ns} -6 addr add ::1 dev ${VRF} nodad
163 ip -netns ${ns} ru add pref 32765 from all lookup local
165 ip -netns ${ns} -6 ru add pref 32765 from all lookup local
180 h[12]) ip netns exec $ns sysctl -q -w net.ipv4.conf.all.accept_redirects=1
181 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=0
182 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.accept_redirects=1
[all …]
Dvrf_route_leaking.sh177 ip netns del $ns 2>/dev/null
186 ip -netns "${ns}" rule add pref 32765 from all lookup local
188 ip -netns "${ns}" -6 rule add pref 32765 from all lookup local
202 ip -netns "${ns}" addr add 127.0.0.1/8 dev "${vrf}"
203 ip -netns "${ns}" -6 addr add ::1 dev "${vrf}" nodad
221 h[12]) ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=0
222 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.keep_addr_on_down=1
225 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=1
241 ip -netns h1 addr add dev eth0 ${H1_N1_IP}/24
242 ip -netns h1 -6 addr add dev eth0 ${H1_N1_IP6}/64 nodad
[all …]
/Linux-v6.6/samples/bpf/
Dtc_l2_redirect.sh10 RP_FILTER=$(< /proc/sys/net/ipv4/conf/all/rp_filter)
11 IPV6_DISABLED=$(< /proc/sys/net/ipv6/conf/all/disable_ipv6)
12 IPV6_FORWARDING=$(< /proc/sys/net/ipv6/conf/all/forwarding)
21 $IP link set dev ve1 up
22 $IP link set dev ve2 up
23 $IP link set dev ve1 mtu 1500
24 $IP link set dev ve2 mtu 1500
25 $IP link set dev vens1 netns ns1
26 $IP link set dev vens2 netns ns2
28 $IP -n ns1 link set dev lo up
[all …]
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/
Dmt76x02_phy.c12 void mt76x02_phy_set_rxpath(struct mt76x02_dev *dev) in mt76x02_phy_set_rxpath() argument
16 val = mt76_rr(dev, MT_BBP(AGC, 0)); in mt76x02_phy_set_rxpath()
19 switch (dev->mphy.chainmask & 0xf) { in mt76x02_phy_set_rxpath()
28 mt76_wr(dev, MT_BBP(AGC, 0), val); in mt76x02_phy_set_rxpath()
30 val = mt76_rr(dev, MT_BBP(AGC, 0)); in mt76x02_phy_set_rxpath()
34 void mt76x02_phy_set_txdac(struct mt76x02_dev *dev) in mt76x02_phy_set_txdac() argument
38 txpath = (dev->mphy.chainmask >> 8) & 0xf; in mt76x02_phy_set_txdac()
41 mt76_set(dev, MT_BBP(TXBE, 5), 0x3); in mt76x02_phy_set_txdac()
44 mt76_clear(dev, MT_BBP(TXBE, 5), 0x3); in mt76x02_phy_set_txdac()
67 for (i = 0; i < sizeof(r->all); i++) in mt76x02_get_max_rate_power()
[all …]
/Linux-v6.6/tools/testing/selftests/netfilter/
Dipvs.sh56 ip -Version > /dev/null 2>&1
62 ipvsadm -v > /dev/null 2>&1
83 ip netns exec ns0 ip addr add ${cip_v4}/24 dev br0
87 ip netns exec ns1 ip addr add ${gip_v4}/24 dev veth10
89 ip netns exec ns1 ip addr add ${dip_v4}/24 dev veth12
93 ip netns exec ns2 ip addr add ${rip_v4}/24 dev veth21
95 ip netns exec ns2 ip addr add ${sip_v4}/24 dev veth20
99 dd if=/dev/urandom of="${infile}" bs="${datalen}" count=1 status=none
105 ip netns del ns$i > /dev/null 2>&1
128 cmp "$infile" "$outfile" 2>/dev/null
[all …]
/Linux-v6.6/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dvxlan_flooding_ipv6.sh60 ip link add dev br0 type bridge mcast_snooping 0
61 ip link set dev br0 address $(mac_get $swp1)
67 ip address add 2001:db8:2::1/128 dev lo
69 ip link set dev $swp1 master br0
70 ip link set dev vxlan0 master br0
72 ip link set dev br0 up
73 ip link set dev $swp1 up
74 ip link set dev vxlan0 up
79 ip link set dev vxlan0 down
80 ip link set dev $swp1 down
[all …]
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-driver-hid-wiimote1 What: /sys/bus/hid/drivers/wiimote/<dev>/led1
2 What: /sys/bus/hid/drivers/wiimote/<dev>/led2
3 What: /sys/bus/hid/drivers/wiimote/<dev>/led3
4 What: /sys/bus/hid/drivers/wiimote/<dev>/led4
12 What: /sys/bus/hid/drivers/wiimote/<dev>/extension
29 What: /sys/bus/hid/drivers/wiimote/<dev>/devtype
51 What: /sys/bus/hid/drivers/wiimote/<dev>/bboard_calib
57 values for all 4 sensors. The values are separated by colons and
59 First, 0kg values for all 4 sensors are written, followed by the
60 17kg values for all 4 sensors and last the 34kg values for all 4
[all …]
Dsysfs-bus-pci-devices-aer_stats4 These attributes show up under all the devices that are AER capable. These
9 problematic endpoint itself (which may report all counters as 0 as it never
12 What: /sys/bus/pci/devices/<dev>/aer_dev_correctable
20 total of all the errors in the file. Sample output::
33 What: /sys/bus/pci/devices/<dev>/aer_dev_fatal
41 total of all the errors in the file. Sample output::
63 What: /sys/bus/pci/devices/<dev>/aer_dev_nonfatal
71 actual total of all the errors in the file. Sample output::
100 device, so these counters include them and are thus cumulative of all the error
103 What: /sys/bus/pci/devices/<dev>/aer_stats/aer_rootport_total_err_cor
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_lwt_seg6local.sh51 ip netns del ${NS1} 2> /dev/null
52 ip netns del ${NS2} 2> /dev/null
53 ip netns del ${NS3} 2> /dev/null
54 ip netns del ${NS4} 2> /dev/null
55 ip netns del ${NS5} 2> /dev/null
56 ip netns del ${NS6} 2> /dev/null
88 ip netns exec ${NS1} ip link set dev veth1 up
89 ip netns exec ${NS2} ip link set dev veth2 up
90 ip netns exec ${NS2} ip link set dev veth3 up
91 ip netns exec ${NS3} ip link set dev veth4 up
[all …]
/Linux-v6.6/drivers/net/dsa/mv88e6xxx/
Dglobal1_atu.c72 dev_dbg(chip->dev, "AgeTime set to 0x%02x (%d ms)\n", age_time, in mv88e6xxx_g1_atu_set_age_time()
338 bool all) in mv88e6xxx_g1_atu_flushmove() argument
352 if (all && fid) in mv88e6xxx_g1_atu_flushmove()
356 else if (all) in mv88e6xxx_g1_atu_flushmove()
364 int mv88e6xxx_g1_atu_flush(struct mv88e6xxx_chip *chip, u16 fid, bool all) in mv88e6xxx_g1_atu_flush() argument
370 return mv88e6xxx_g1_atu_flushmove(chip, fid, &entry, all); in mv88e6xxx_g1_atu_flush()
374 int from_port, int to_port, bool all) in mv88e6xxx_g1_atu_move() argument
390 return mv88e6xxx_g1_atu_flushmove(chip, fid, &entry, all); in mv88e6xxx_g1_atu_move()
394 bool all) in mv88e6xxx_g1_atu_remove() argument
399 return mv88e6xxx_g1_atu_move(chip, fid, from_port, to_port, all); in mv88e6xxx_g1_atu_remove()
[all …]
/Linux-v6.6/net/ipv4/
Ddevinet.c174 result = ifa->ifa_dev->dev; in __ip_dev_find()
191 net_eq(dev_net(ifa->ifa_dev->dev), net)) in inet_lookup_ifaddr_rcu()
247 struct net_device *dev = idev->dev; in in_dev_finish_destroy() local
252 pr_debug("%s: %p=%s\n", __func__, idev, dev ? dev->name : "NIL"); in in_dev_finish_destroy()
254 netdev_put(dev, &idev->dev_tracker); in in_dev_finish_destroy()
262 static struct in_device *inetdev_init(struct net_device *dev) in inetdev_init() argument
272 memcpy(&in_dev->cnf, dev_net(dev)->ipv4.devconf_dflt, in inetdev_init()
275 in_dev->dev = dev; in inetdev_init()
276 in_dev->arp_parms = neigh_parms_alloc(dev, &arp_tbl); in inetdev_init()
280 dev_disable_lro(dev); in inetdev_init()
[all …]
/Linux-v6.6/tools/bpf/bpftool/Documentation/
Dbpftool-net.rst27 | **bpftool** **net** { **show** | **list** } [ **dev** *NAME* ]
28 | **bpftool** **net attach** *ATTACH_TYPE* *PROG* **dev** *NAME* [ **overwrite** ]
29 | **bpftool** **net detach** *ATTACH_TYPE* **dev** *NAME*
37 **bpftool net { show | list }** [ **dev** *NAME* ]
54 The current output will start with all xdp program attachments, followed by
55 all tcx, then tc class/qdisc bpf program attachments, then flow_dissector
59 all bpf programs attached to tcx, then tc classes, then all bpf programs
60 attached to non clsact qdiscs, and finally all bpf programs attached
63 **bpftool** **net attach** *ATTACH_TYPE* *PROG* **dev** *NAME* [ **overwrite** ]
75 **bpftool** **net detach** *ATTACH_TYPE* **dev** *NAME*
[all …]
/Linux-v6.6/tools/perf/tests/shell/coresight/
DMakefile13 all: $(SUBDIRS) target
15 @$(MAKE) -C $@ >/dev/null
21 @$(MAKE) -C $(@:install-%=%) install-tests >/dev/null
27 $(call QUIET_CLEAN, test-$(@:clean-%=%)) $(Q)$(MAKE) -C $(@:clean-%=%) clean >/dev/null
29 .PHONY: all clean $(SUBDIRS) $(CLEANDIRS) $(INSTALLDIRS)
/Linux-v6.6/Documentation/admin-guide/device-mapper/
Dlog-writes.rst5 This target takes 2 devices, one to pass all IO to normally, and one to log all
22 This works by attaching all WRITE requests to a list once the write completes.
24 the FLUSH request completes we log all of the WRITEs and then the FLUSH. Only
43 have all the DISCARD requests, and then the WRITE requests and then the FLUSH
62 dev_path Device that all of the IO will go to normally.
85 mkfs.btrfs -f /dev/mapper/log
107 TABLE="0 $(blockdev --getsz /dev/sdb) log-writes /dev/sdb /dev/sdc"
109 mkfs.btrfs -f /dev/mapper/log
112 mount /dev/mapper/log /mnt/btrfs-test
119 replay-log --log /dev/sdc --replay /dev/sdb --end-mark fsync
[all …]
/Linux-v6.6/tools/power/pm-graph/config/
Dexample.cfg5 # all the tool arguments so that they don't have to be given on the
49 # Enable/disable runtime suspend for all devices, restore all after test (default: no-action)
75 dev: false
101 # Call Loop Max Gap (dev mode only)
105 # Call Loop Max Length (dev mode only)
114 # Override default dev timeline entries:
115 # Do not use the internal default functions for dev timeline entries (def: false)
117 override-dev-timeline-functions: true
122 # gather detailed ftrace callgraph data on all timeline events (default: false)
126 # limit the callgraph trace to this depth (default: 0 = all)
[all …]

12345678910>>...34