Home
last modified time | relevance | path

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

12345678910>>...44

/linux/Documentation/networking/dsa/
H A Dconfiguration.rst1 .. SPDX-License-Identifier: GPL-2.0
10 .. _dsa-config-showcases:
13 -----------------------
37 The user interfaces depend on the conduit interface being up in order for them
42 - when a DSA user interface is brought up, the conduit interface is
43 automatically brought up.
44 - when the conduit interface is brought down, all DSA user 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 …]
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 …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
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 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 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 …]
/linux/tools/testing/selftests/net/hsr/
H A Dhsr_redbox.sh2 # SPDX-License-Identifier: GPL-2.0
10 echo "INFO: Initial validation ping (HSR-SAN/RedBox)."
30 echo "INFO: Longer ping test (HSR-SAN/RedBox)."
48 echo "INFO: preparing interfaces for HSRv${HSRv} (HSR-SAN/RedBox)."
55 # | /-- hsr1 --\ | | [0.41] |
57 # |------------------------| |-------------------|
61 # |------------------------| |-------------------------------|
63 # | \-- hsr2 --/ | | / |
64 # | [0.2] \ | | / | |------------|
65 # | ns2eth3 |---| ns3eth1 -- ns3br1 -- ns3eth3--|--| ns5eth1 |
[all …]
/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 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 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 …]
H A Drouter_vid_1.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +--------------------+ +----------------------+
13 # +------------------|-+ +-|--------------------+
15 # +------------------|-------------------------|--------------------+
24 # +-----------------------------------------------------------------+
35 vrf_create "vrf-h1"
36 ip link set dev vrf-h1 up
38 ip link set dev $h1 up
39 vlan_create $h1 1 vrf-h1 192.0.2.2/24 2001:db8:1::2/64
41 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
[all …]
/linux/tools/testing/selftests/bpf/
H A Dtest_tunnel.sh
H A Dtest_lwt_seg6local.sh
/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 # +------+ +------+
28 set -e
30 ip link del fab-br0 >/dev/null 2>&1 || :
[all …]
/linux/tools/testing/selftests/net/netfilter/
H A Dvxlan_mtu_frag.sh2 # SPDX-License-Identifier: GPL-2.0
6 if ! modprobe -q -n br_netfilter 2>&1; then
22 ip link add host-eth0 netns "$host" type veth peer name vtep-host netns "$vtep"
23 ip link add vtep-router netns "$vtep" type veth peer name router-vtep netns "$router"
28 # bring ports up
29 ip -n "$host" addr add 10.0.0.1/24 dev host-eth0
30 ip -n "$host" link set host-eth0 up
34 ip -n "$host" link add link host-eth0 name host-eth0.$vid type vlan id $vid
35 ip -n "$host" addr add 10.0.$vid.1/24 dev host-eth0.$vid
36 ip -n "$host" link set host-eth0.$vid up
[all …]
/linux/tools/testing/selftests/net/
H A Darp_ndisc_untracked_subnets.sh2 # SPDX-License-Identifier: GPL-2.0
12 ROUTER_INTF="veth-router"
16 HOST_INTF="veth-host"
32 set -e
35 # Set up two namespaces
38 # Set u
[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 …]
H A Dnl_netdev.py2 # SPDX-License-Identifier: GPL-2.0
11 def empty_check(nf) -> None:
16 def lo_check(nf) -> None:
18 ksft_eq(len(lo_info['xdp-features']), 0)
19 ksft_eq(len(lo_info['xdp-rx-metadata-features']), 0)
22 def napi_list_check(nf) -> None:
26 ip(f"link set dev {nsim.ifname} up")
38 def napi_set_threaded(nf) -> None:
41 set and unset at napi and device level.
46 ip(f"link set dev {nsim.ifname} up")
[all …]
/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 …]
/linux/samples/bpf/
H A Dtc_l2_redirect.sh2 # SPDX-License-Identifier: GPL-2.0
4 [[ -z $TC ]] && TC='tc'
5 [[ -z $IP ]] && IP='ip'
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/Documentation/networking/
H A Dvrf.rst1 .. SPDX-License-Identifier: GPL-2.0
11 routing and forwarding domains (aka VRFs, VRF-lite to be specific) in the
12 Linux network stack. One use case is the multi-tenancy problem where each
30 ------
34 +-----------------------------+
35 | vrf-blue | ===> route table 10
36 +-----------------------------+
38 +------+ +------+ +-------------+
40 +------+ +------+ +-------------+
42 +------+ +------+
[all …]

12345678910>>...44