Home
last modified time | relevance | path

Searched +full:set +full:- +full:up (Results 1 – 25 of 1109) sorted by relevance

12345678910>>...45

/openbmc/linux/Documentation/networking/dsa/
H A Db53.rst1 .. SPDX-License-Identifier: GPL-2.0
20 The switch is, if possible, configured to enable a Broadcom specific 4-bytes
30 configuration described in the :ref:`dsa-config-showcases`.
33 ----------------------------------
38 See :ref:`dsa-tagged-configuration`.
41 -------------------------------------
48 The configuration slightly differ from the :ref:`dsa-vlan-configuration`.
54 In difference to the configuration described in :ref:`dsa-vlan-configuration`
61 The configuration can only be set up via VLAN tagging and bridge setup.
64 .. code-block:: sh
[all …]
H A Dconfiguration.rst1 .. SPDX-License-Identifier: GPL-2.0
10 .. _dsa-config-showcases:
13 -----------------------
37 The slave interfaces depend on the master interface being up in order for them
42 - when a DSA slave interface is brought up, the master interface is
43 automatically brought up.
44 - when the master interface is brought down, all DSA slave interfaces are
71 * lan1: 192.0.2.1/30 (192.0.2.0 - 192.0.2.3)
72 * lan2: 192.0.2.5/30 (192.0.2.4 - 192.0.2.7)
73 * lan3: 192.0.2.9/30 (192.0.2.8 - 192.0.2.11)
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dextack.sh2 # SPDX-License-Identifier: GPL-2.0
22 ip link set dev $swp1 up
23 ip link set dev $swp2 up
30 ip link set dev $swp2 down
31 ip link set dev $swp1 down
39 ip link set dev br1 addrgenmode none
40 ip link set dev br1 up
41 ip link add name vx1 up type vxlan id 1000 \
45 ip link set dev vx1 master br1
48 ip link set dev $swp1 master br1
[all …]
H A Dvxlan.sh2 # SPDX-License-Identifier: GPL-2.0
45 ip link set dev $swp1 up
46 ip link set dev $swp2 up
53 ip link set dev $swp2 down
54 ip link set dev $swp1 down
59 ip link set dev $swp1 master br0
61 ip link set dev vxlan0 master br0
64 ip link set dev $swp1 nomaster
66 ip link set dev $swp1 master br0
72 ip link set dev $swp1 master br0
[all …]
H A Dq_in_q_veto.sh2 # SPDX-License-Identifier: GPL-2.0
28 ip link set dev $swp1 up
29 ip link set dev $swp2 up
38 ip link set dev $swp2 down
39 ip link set dev $swp1 down
51 ip link set dev br0 addrgenmode none
53 ip link set dev br0 up
54 ip link set dev $swp1 master br0
62 | grep -q mlxsw_spectrum
80 | grep -q mlxsw_spectrum
[all …]
H A Dethtool_lanes.sh2 # SPDX-License-Identifier: GPL-2.0
21 ip link set dev $swp1 up
22 ip link set dev $swp2 up
25 check_err $? "ports did not come up"
28 if [[ -z $lanes_exist ]]; then
33 ip link set dev $swp2 down
34 ip link set dev $swp1 down
61 if [[ $autoneg -eq 0 ]]; then
65 ethtool -s $swp1 speed $max_speed lanes $unsupported_lanes $autoneg_str &> /dev/null
75 local -a lanes_arr
[all …]
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dvxlan_symmetric.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +---------------------------+ +------------------------------+
5 # | vrf-h1 | | vrf-h2 |
9 # +----|----------------------+ +----|-------------------------+
11 # +----|--------------------------------------------|-------------------------+
13 # | +--|--------------------------------------------|-----------------------+ |
31 # | +-----------------------------------+-----------------------------------+ |
33 # | +-----------------------------------|-----------------------------------+ |
35 # | | +--------------------------------+--------------------------------+ | |
40 # | | + vlan10-v (macvlan) + vlan20-v (macvlan) + | |
[all …]
H A Dvxlan_symmetric_ipv6.sh2 # SPDX-License-Identifier: GPL-2.0
5 # +--------------------------------+ +-----------------------------+
6 # | vrf-h1 | | vrf-h2 |
10 # +----|---------------------------+ +-|---------------------------+
12 # +----|------------------------------------------|---------------------------+
14 # | +--|------------------------------------------|-------------------------+ |
32 # | +-----------------------------------+-----------------------------------+ |
34 # | +-----------------------------------|-----------------------------------+ |
36 # | | +--------------------------------+--------------------------------+ | |
41 # | | + vlan10-v (macvlan) + vlan20-v (macvlan) + | |
[all …]
H A Drouter_bridge_lag.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +----------------------------+ +--------------------------+
14 # +----|--------|--------------+ +-|----------|-------------+
16 # +----|--------|------------------------------------|----------|-------------+
21 # | +------|-------------------------------+ | |
26 # | +--------------------------------------+ |
27 # +---------------------------------------------------------------------------+
87 ip link set dev lag1 address $(mac_get $h1)
88 ip link set dev $h1 master lag1
89 ip link set dev $h4 master lag1
[all …]
H A Dvxlan_asymmetric.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +---------------------------+ +------------------------------+
5 # | vrf-h1 | | vrf-h2 |
9 # +----|----------------------+ +----|-------------------------+
11 # +----|--------------------------------------------|-------------------------+
13 # | +--|--------------------------------------------|-----------------------+ |
24 # | +-----------------------------------+-----------------------------------+ |
26 # | +-----------------------------------|-----------------------------------+ |
28 # | | +--------------------------------+--------------------------------+ | |
33 # | | + vlan10-v (macvlan) vlan20-v (macvlan) + | |
[all …]
H A Drouter_bridge_1d_lag.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +--------------------------------------------+
18 # +----------|-----------|---------------------+
20 # +----------|-----------|---------------------+
29 # | +------|------------+ +-------|----------+ |
36 # | +-------------------+ +------------------+ |
49 # +-------|---------|--------------------------+
51 # +-------|---------|--------------------------+
66 # +--------------------------------------------+
118 ip link set dev lag1 addrgenmode none
[all …]
H A Dvxlan_asymmetric_ipv6.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +--------------------------------+ +-----------------------------+
5 # | vrf-h1 | | vrf-h2 |
9 # +----|---------------------------+ +-|---------------------------+
11 # +----|------------------------------------------|---------------------------+
13 # | +--|------------------------------------------|-------------------------+ |
24 # | +-----------------------------------+-----------------------------------+ |
26 # | +-----------------------------------|-----------------------------------+ |
28 # | | +--------------------------------+--------------------------------+ | |
33 # | | + vlan10-v (macvlan) vlan20-v (macvlan) + | |
[all …]
H A Drouter_multipath.sh2 # SPDX-License-Identifier: GPL-2.0
10 vrf_create "vrf-h1"
11 ip link set dev $h1 master vrf-h1
13 ip link set dev vrf-h1 up
14 ip link set dev $h1 up
19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
20 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
25 ip route del 2001:db8:2::/64 vrf vrf-h1
26 ip route del 198.51.100.0/24 vrf vrf-h1
31 ip link set dev $h1 down
[all …]
H A Drouter_broadcast.sh2 # SPDX-License-Identifier: GPL-2.0
10 vrf_create "vrf-h1"
11 ip link set dev $h1 master vrf-h1
13 ip link set dev vrf-h1 up
14 ip link set dev $h1 up
18 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
19 ip route add 198.51.200.0/24 vrf vrf-h1 nexthop via 192.0.2.1
24 ip route del 198.51.200.0/24 vrf vrf-h1
25 ip route del 198.51.100.0/24 vrf vrf-h1
29 ip link set dev $h1 down
[all …]
H A Dbridge_sticky_fdb.sh2 # SPDX-License-Identifier: GPL-2.0
13 ip link set dev $swp1 master br0
14 ip link set dev $swp2 master br0
16 ip link set dev br0 up
17 ip link set dev $h1 up
18 ip link set dev $swp1 up
19 ip link set dev $h2 up
20 ip link set dev $swp2 up
25 ip link set dev $swp2 down
26 ip link set dev $h2 down
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/team/
H A Dlag_lib.sh2 # SPDX-License-Identifier: GPL-2.0
21 ip link add "$name" up type bond mode "$mode"
22 ip link set dev dummy1 master "$name"
23 ip link set dev dummy2 master "$name"
26 teamd -d -c '
40 ip link set dev "$name" up
47 # Used to test dev->uc handling
48 ip link add mv0 link "$name" up address "$ucaddr" type macvlan
49 # Used to test dev->mc handling
60 check_err $? "IPv6 solicited-node multicast mac address not found on a slave"
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/
H A Dlag_lib.sh2 # SPDX-License-Identifier: GPL-2.0
21 ip link add "$name" up type bond mode "$mode"
22 ip link set dev dummy1 master "$name"
23 ip link set dev dummy2 master "$name"
26 teamd -d -c '
40 ip link set dev "$name" up
47 # Used to test dev->uc handling
48 ip link add mv0 link "$name" up address "$ucaddr" type macvlan
49 # Used to test dev->mc handling
60 check_err $? "IPv6 solicited-node multicast mac address not found on a slave"
[all …]
H A Dbond-break-lacpdu-tx.sh2 # SPDX-License-Identifier: GPL-2.0
10 # +---------+
11 # | fab-br0 |
12 # +---------+
14 # +---------+
16 # +---------+
18 # +------+ +------+
20 # +------+ +------+
24 set -e
25 tmp=$(mktemp -q dump.XXXXXX)
[all …]
/openbmc/linux/drivers/staging/pi433/Documentation/
H A Dpi433.txt23 module. Therefore each application can set its own set of parameters. The driver
29 corresponding parameter set gets written to the kfifo.
31 kfifo is empty. If not, it gets one set of config and data from the kfifo. If
33 the air, the rf module is set to standby, the parameters for transmission gets
34 set, the hardware fifo of the rf chip gets preloaded and the transmission gets
43 reception there is only one configuration set.
45 configuration set is written to the rf module and it gets set into receiving mode.
64 ----------------
67 PI433_IOC_RD_TX_CFG - get the transmission parameters from the driver
68 PI433_IOC_WR_TX_CFG - set the transmission parameters
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Darp_ndisc_untracked_subnets.sh2 # SPDX-License-Identifier: GPL-2.0
10 ROUTER_NS="ns-router"
11 ROUTER_NS_V6="ns-router-v6"
12 ROUTER_INTF="veth-router"
16 HOST_NS="ns-host"
17 HOST_NS_V6="ns-host-v6"
18 HOST_INTF="veth-host"
36 set -e
39 # Set up two namespaces
43 # Set up interfaces veth0 and veth1, which are pairs in separate
[all …]
H A Dip6_gre_headroom.sh2 # SPDX-License-Identifier: GPL-2.0
5 # IPv6 GRE-like netdevice.
12 ip link set dev h1 up
16 ip link set dev h3 master vh3
17 ip link set dev vh3 up
18 ip link set dev h3 up
20 ip link set dev swp3 up
24 ip link set dev swp1 up
29 ip link set dev er6 up
33 ip link set dev gt6 up
[all …]
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_tunnel.sh2 # SPDX-License-Identifier: GPL-2.0
4 # End-to-end eBPF tunnel test suite
8 # ---------
11 # ----------- | -----------
13 # ----------- | -----------
14 # metadata-mode | native-mode
17 # ---------- | ----------
18 # | veth1 | --------- | veth0 | (underlay network)
19 # ---------- peer ----------
23 # --------------------
[all …]
/openbmc/linux/include/linux/sched/
H A Dsd_flags.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * sched-domains (multiprocessor balancing) flag declarations.
13 * SHARED_CHILD: These flags are meant to be set from the base domain upwards.
14 * If a domain has this flag set, all of its children should have it set. This
20 * In those cases it doesn't make sense to have the flag set for a domain but
26 * SHARED_PARENT: These flags are meant to be set from the highest domain
27 * downwards. If a domain has this flag set, all of its parents should have it
28 * set. This is usually for topology properties that start to appear above a
38 * NEEDS_GROUPS: These flags are only relevant if the domain they are set on has
48 * SHARED_CHILD: Set from the base domain up to cpuset.sched_relax_domain_level.
[all …]
/openbmc/linux/tools/testing/selftests/net/hsr/
H A Dhsr_ping.sh2 # SPDX-License-Identifier: GPL-2.0
11 echo -e "\t-4: IPv4 only: disable IPv6 tests (default: test both IPv4 and IPv6)"
31 rndh=$(printf %x $sec)-$(mktemp -u XXXXXX)
32 ns1="ns1-$rndh"
33 ns2="ns2-$rndh"
34 ns3="ns3-$rndh"
47 [ -z "${1##*:*}" ]
54 local ping_args="-q -c 2"
58 ping_args="${ping_args} -6"
62 if [ $? -ne 0 ] ; then
[all …]
/openbmc/linux/tools/testing/selftests/wireguard/
H A Dnetns.sh2 # SPDX-License-Identifier: GPL-2.0
4 # Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
24 set -e
25 shopt -s extglob
30 NPROC=( /sys/devices/system/cpu/cpu+([0-9]) ); NPROC=${#NPROC[@]}
31 netns0="wg-test-$$-0"
32 netns1="wg-test-$$-1"
33 netns2="wg-test-$$-2"
34 pretty() { echo -e "\x1b[32m\x1b[1m[+] ${1:+NS$1: }${2}\x1b[0m" >&3; }
36 maybe_exec() { if [[ $BASHPID -eq $$ ]]; then "$@"; else exec "$@"; fi; }
[all …]

12345678910>>...45