Home
last modified time | relevance | path

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

12345678910>>...36

/linux-6.12.1/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.sh163 ip link set dev $swp1 up
166 ip link set dev $swp1.111 type vlan ingress-qos-map 0:0 1:1
173 tc qdisc replace dev $swp1 root handle 1: \
175 dcb buffer set dev $swp1 prio-buffer all:0 1:1
180 ip link set dev $swp2 up
183 ip link set dev $swp2.111 type vlan egress-qos-map 0:0 1:1
189 tc qdisc replace dev $swp2 root handle 1: \
191 tc qdisc replace dev $swp2 parent 1:7 handle 17: \
197 ip link set dev $swp3 up
200 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-6.12.1/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-6.12.1/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.sh16 [ -n "${jobs}" ] && kill -INT ${jobs} 2>/dev/null
17 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
23 local -r all="$@"
24 local -r tx_args=${all%rx*}
25 local rx_args=${all#*rx}
32 ip link set dev veth0 up
33 ip addr add dev veth0 192.168.1.2/24
34 ip addr add dev veth0 2001:db8::2/64 nodad
36 ip link set dev veth1 netns "${PEER_NS}"
37 ip -netns "${PEER_NS}" addr add dev veth1 192.168.1.1/24
[all …]
Dicmp_redirect.sh119 local dev=$2
122 addr=$(ip -netns $ns -6 -br addr show dev ${dev} | \
156 ip -netns ${ns} addr add 127.0.0.1/8 dev ${VRF}
157 ip -netns ${ns} -6 addr add ::1 dev ${VRF} nodad
160 ip -netns ${ns} ru add pref 32765 from all lookup local
162 ip -netns ${ns} -6 ru add pref 32765 from all lookup local
174 ip netns exec $ns sysctl -q -w net.ipv4.conf.all.accept_redirects=1
175 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=0
176 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.accept_redirects=1
177 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.keep_addr_on_down=1
[all …]
Dudpgro_frglist.sh16 [ -n "${jobs}" ] && kill -INT ${jobs} 2>/dev/null
17 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
23 local -r all="$@"
24 local -r tx_args=${all%rx*}
25 local rx_args=${all#*rx}
32 ip link set dev veth0 up
33 ip addr add dev veth0 192.168.1.2/24
34 ip addr add dev veth0 2001:db8::2/64 nodad
36 ip link set dev veth1 netns "${PEER_NS}"
37 ip -netns "${PEER_NS}" addr add dev veth1 192.168.1.1/24
[all …]
Dvrf_route_leaking.sh183 ip -netns "${ns}" rule add pref 32765 from all lookup local
185 ip -netns "${ns}" -6 rule add pref 32765 from all lookup local
199 ip -netns "${ns}" addr add 127.0.0.1/8 dev "${vrf}"
200 ip -netns "${ns}" -6 addr add ::1 dev "${vrf}" nodad
215 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=0
216 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.keep_addr_on_down=1
219 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=1
235 ip -netns $h1 addr add dev eth0 ${H1_N1_IP}/24
236 ip -netns $h1 -6 addr add dev eth0 ${H1_N1_IP6}/64 nodad
240 ip -netns $h1 route add ${H2_N2} via ${R1_N1_IP} dev eth0
[all …]
/linux-6.12.1/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-6.12.1/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-6.12.1/tools/testing/selftests/net/netfilter/
Dipvs.sh71 ip netns exec "${ns0}" ip addr add "${cip_v4}/24" dev br0
74 ip netns exec "${ns1}" ip addr add "${gip_v4}/24" dev veth10
76 ip netns exec "${ns1}" ip addr add "${dip_v4}/24" dev veth12
79 ip netns exec "${ns2}" ip addr add "${rip_v4}/24" dev veth21
81 ip netns exec "${ns2}" ip addr add "${sip_v4}/24" dev veth20
85 dd if=/dev/urandom of="${infile}" bs="${datalen}" count=1 status=none
111 cmp "$infile" "$outfile" 2>/dev/null
122 ip netns exec "${ns0}" ip route add "${vip_v4}" via "${gip_v4}" dev br0
127 ip netns exec "${ns1}" ip addr add "${vip_v4}/32" dev lo:1
130 ip netns exec "${ns2}" sysctl -qw net.ipv4.conf.all.arp_ignore=1
[all …]
/linux-6.12.1/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-6.12.1/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_rootport_total_err_cor
[all …]
/linux-6.12.1/scripts/package/debian/
Drules28 binary-targets := $(addprefix binary-, image image-dbg headers libc-dev)
30 all-packages = $(shell dh_listpackages)
31 image-package = $(filter linux-image-% user-%, $(filter-out %-dbg, $(all-packages)))
32 image-dbg-package = $(filter %-dbg, $(all-packages))
33 libc-dev-package = $(filter linux-libc-dev, $(all-packages))
34 headers-package = $(filter linux-headers-%, $(all-packages))
74 $(Q)$(MAKE) $(make-opts) $(if $(filter um,$(ARCH)),,headers) all
/linux-6.12.1/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-6.12.1/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-6.12.1/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()
262 struct net_device *dev = idev->dev; in in_dev_finish_destroy() local
267 pr_debug("%s: %p=%s\n", __func__, idev, dev ? dev->name : "NIL"); in in_dev_finish_destroy()
269 netdev_put(dev, &idev->dev_tracker); in in_dev_finish_destroy()
277 static struct in_device *inetdev_init(struct net_device *dev) in inetdev_init() argument
287 memcpy(&in_dev->cnf, dev_net(dev)->ipv4.devconf_dflt, in inetdev_init()
290 in_dev->dev = dev; in inetdev_init()
291 in_dev->arp_parms = neigh_parms_alloc(dev, &arp_tbl); in inetdev_init()
295 dev_disable_lro(dev); in inetdev_init()
[all …]
/linux-6.12.1/tools/build/
DMakefile.feature11 …ECK_LDFLAGS-$(1))" -C $(feature_dir) $(OUTPUT_FEATURES)test-$1.bin >/dev/null 2>/dev/null && echo …
61 stackprotector-all \
118 ifeq ($(FEATURE_TESTS),all)
161 FEATURE_CHECK_CFLAGS-$(1) := $(shell $(PKG_CONFIG) --cflags $(1) 2>/dev/null)
162 FEATURE_CHECK_LDFLAGS-$(1) := $(shell $(PKG_CONFIG) --libs $(1) 2>/dev/null)
175 FEATURE_CHECK_CFLAGS-all += $(FEATURE_CHECK_CFLAGS-$(1))
176 FEATURE_CHECK_LDFLAGS-all += $(FEATURE_CHECK_LDFLAGS-$(1))
184 $(call feature_check,all,$(MSG))
190 ifeq ($(feature-all), 1)
/linux-6.12.1/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-6.12.1/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 …]

12345678910>>...36