/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | q_in_q_veto.sh | 2 # 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 49 ip link add dev br0 type bridge vlan_filtering 1 \ 51 ip link set dev br0 addrgenmode none 53 ip link set dev br0 up 54 ip link set dev $swp1 master br0 56 ip link add name br0.100 link br0 type vlan \ [all …]
|
H A D | vxlan.sh | 2 # 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 D | extack.sh | 2 # 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 38 ip link add name br1 type bridge vlan_filtering 0 mcast_snooping 0 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 [all …]
|
H A D | rtnetlink.sh | 2 # SPDX-License-Identifier: GPL-2.0 49 ip link set dev $swp1 up 50 ip link set dev $swp2 up 57 ip link set dev $swp2 down 58 ip link set dev $swp1 down 67 ip link add name vrf-test type vrf table 10 68 ip link set dev $swp1 master vrf-test 70 ip -4 address add 192.0.2.1/24 dev vrf-test 72 ip -6 address add 2001:db8:1::1/64 dev vrf-test 75 log_test "RIF - setting IP address on VRF" [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | netns-name.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 set -o pipefail 6 NS=netns-name-test 7 DEV=dummy-dev0 8 DEV2=dummy-dev1 9 ALT_NAME=some-alt-name 20 echo "ERROR: ${1:-unexpected return code} (ret: $_)" >&2 29 ip -netns $NS link add name $DEV type dummy || fail 30 ip -netns $NS link set dev $DEV netns 1 || 32 ip link show dev $DEV >> /dev/null || fail "Device not found after move" [all …]
|
H A D | altnames.sh | 2 # SPDX-License-Identifier: GPL-2.0 18 local name 20 ip link property add $DUMMY_DEV altname $SHORT_NAME 21 check_err $? "Failed to add short alternative name" 23 output=$(ip -j -p link show $SHORT_NAME) 24 check_err $? "Failed to do link show with short alternative name" 26 name=$(echo $output | jq -e -r ".[0].altnames[0]") 27 check_err $? "Failed to get short alternative name from link show JSON" 29 [ "$name" == "$SHORT_NAME" ] 30 check_err $? "Got unexpected short alternative name from link show JSON" [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/team/ |
H A D | lag_lib.sh | 2 # SPDX-License-Identifier: GPL-2.0 6 # Test that a link aggregation device (bonding, team) removes the hardware 15 local name 17 ip link add dummy1 type dummy 18 ip link add dummy2 type dummy 20 name="bond1" 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" 25 name="team0" [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/bonding/ |
H A D | lag_lib.sh | 2 # SPDX-License-Identifier: GPL-2.0 6 # Test that a link aggregation device (bonding, team) removes the hardware 15 local name 17 ip link add dummy1 type dummy 18 ip link add dummy2 type dummy 20 name="bond1" 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" 25 name="team0" [all …]
|
/openbmc/linux/Documentation/netlink/specs/ |
H A D | rt_link.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 name: rt-link 4 protocol: netlink-raw 8 Link configuration over rtnetlink. 11 - 12 name: ifinfo-flags 15 - 16 name: up 17 - 18 name: broadcast [all …]
|
/openbmc/linux/Documentation/networking/dsa/ |
H A D | b53.rst | 1 .. 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` 64 .. code-block:: sh 67 ip link add link eth0 name eth0.1 type vlan id 1 [all …]
|
/openbmc/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
H A D | ets.json | 4 "name": "Add ETS qdisc using bands", string 10 "$IP link add dev $DUMMY type dummy || /bin/true" 19 "$IP link del dev $DUMMY type dummy" 24 "name": "Add ETS qdisc using quanta", string 30 "$IP link add dev $DUMMY type dummy || /bin/true" 39 "$IP link del dev $DUMMY type dummy" 44 "name": "Add ETS qdisc using strict", string 50 "$IP link add dev $DUMMY type dummy || /bin/true" 59 "$IP link del dev $DUMMY type dummy" 64 "name": "Add ETS qdisc using bands + quanta", string [all …]
|
H A D | fq.json | 4 "name": "Create FQ with default setting", string 13 "$IP link add dev $DUMMY type dummy || /bin/true" 18 "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit", 22 "$IP link del dev $DUMMY type dummy" 27 "name": "Create FQ with limit packet setting", string 36 "$IP link add dev $DUMMY type dummy || /bin/true" 41 "matchPattern": "qdisc fq 1: root refcnt [0-9]+ limit 3000p", 45 "$IP link del dev $DUMMY type dummy" 50 "name": "Create FQ with flow_limit setting", string 59 "$IP link add dev $DUMMY type dummy || /bin/true" [all …]
|
H A D | fifo.json | 4 "name": "Add bfifo qdisc with system default parameters on egress", string 11 "$IP link add dev $DUMMY type dummy || /bin/true" 16 "matchPattern": "qdisc bfifo 1: root.*limit [0-9]+b", 20 "$IP link del dev $DUMMY type dummy" 25 "name": "Add pfifo qdisc with system default parameters on egress", string 32 "$IP link add dev $DUMMY type dummy || /bin/true" 37 "matchPattern": "qdisc pfifo 1: root.*limit [0-9]+p", 41 "$IP link del dev $DUMMY type dummy" 46 … "name": "Add bfifo qdisc with system default parameters on egress with handle of maximum value", string 52 "$IP link add dev $DUMMY type dummy || /bin/true" [all …]
|
H A D | netem.json | 4 "name": "Create NETEM with default setting", string 13 "$IP link add dev $DUMMY type dummy || /bin/true" 18 "matchPattern": "qdisc netem 1: root refcnt [0-9]+ limit", 22 "$IP link del dev $DUMMY type dummy" 27 "name": "Create NETEM with limit flag", string 36 "$IP link add dev $DUMMY type dummy || /bin/true" 41 "matchPattern": "qdisc netem 1: root refcnt [0-9]+ limit 200", 45 "$IP link del dev $DUMMY type dummy" 50 "name": "Create NETEM with delay time", string 59 "$IP link add dev $DUMMY type dummy || /bin/true" [all …]
|
H A D | cake.json | 4 "name": "Create CAKE with default setting", string 13 "$IP link add dev $DUMMY type dummy || /bin/true" 18 …ern": "qdisc cake 1: root refcnt [0-9]+ bandwidth unlimited diffserv3 triple-isolate nonat nowash … 22 "$IP link del dev $DUMMY type dummy" 27 "name": "Create CAKE with bandwidth limit", string 36 "$IP link add dev $DUMMY type dummy || /bin/true" 41 …ttern": "qdisc cake 1: root refcnt [0-9]+ bandwidth 1Kbit diffserv3 triple-isolate nonat nowash no… 45 "$IP link del dev $DUMMY type dummy" 50 "name": "Create CAKE with autorate-ingress flag", string 59 "$IP link add dev $DUMMY type dummy || /bin/true" [all …]
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | u_ether.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * u_ether.h -- interface to USB gadget "ethernet link" utilities 5 * Copyright (C) 2003-2005,2008 David Brownell 6 * Copyright (C) 2003-2004 Robert Schwebel, Benedikt Spranger 42 * This represents the USB side of an "ethernet" link, managed by a USB 44 * in different configurations could share the same ethernet link/netdev, 47 * There is a current limitation that only one instance of this link may 90 /* variant of gether_setup that allows customizing network device name */ 96 /* gether_setup - initialize one ethernet-over-usb link 99 * host side of the link is recorded [all …]
|
/openbmc/linux/sound/soc/qcom/ |
H A D | common.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/input-event-codes.h> 22 struct device *dev = card->dev; in qcom_snd_parse_of() 23 struct snd_soc_dai_link *link; in qcom_snd_parse_of() local 29 if (ret == 0 && !card->name) in qcom_snd_parse_of() 33 dev_err(dev, "Error parsing card name: %d\n", ret); in qcom_snd_parse_of() 37 if (of_property_read_bool(dev->of_node, "widgets")) { in qcom_snd_parse_of() 44 if (of_property_read_bool(dev->of_node, "audio-routing")) { in qcom_snd_parse_of() 45 ret = snd_soc_of_parse_audio_routing(card, "audio-routing"); in qcom_snd_parse_of() 50 if (of_property_read_bool(dev->of_node, "qcom,audio-routing")) { in qcom_snd_parse_of() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/qcom/ |
H A D | msm8996-oneplus-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 12 #include <dt-bindings/sound/qcom,q6afe.h> 13 #include <dt-bindings/sound/qcom,q6asm.h> 14 #include <dt-bindings/sound/qcom,wcd9335.h> 23 compatible = "simple-battery"; 25 constant-charge-current-max-microamp = <3000000>; 26 voltage-min-design-microvolt = <3400000>; 30 stdout-path = "serial1:115200n8"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | qcom,sm8250.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 19 - items: 20 - enum: 21 - lenovo,yoga-c630-sndcard 22 - qcom,db845c-sndcard 23 - const: qcom,sdm845-sndcard 24 - enum: [all …]
|
H A D | google,sc7280-herobrine.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/google,sc7280-herobrine.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Google SC7280-Herobrine ASoC sound card driver 10 - Srinivasa Rao Mandadapu <srivasam@codeaurora.org> 11 - Judy Hsiao <judyhsiao@chromium.org> 17 - $ref: sound-card-common.yaml# 22 - google,sc7280-herobrine 24 "#address-cells": [all …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | vxlan_symmetric.sh | 2 # 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 D | vxlan_symmetric_ipv6.sh | 2 # 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 …]
|
/openbmc/linux/net/mac80211/ |
H A D | debugfs_netdev.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2020-2023 Intel Corporation 23 #include "driver-ops.h" 32 ssize_t ret = -EINVAL; in ieee80211_if_read() 54 return -E2BIG; in ieee80211_if_write() 57 return -EFAULT; in ieee80211_if_write() 67 #define IEEE80211_IF_FMT(name, type, field, format_string) \ argument 68 static ssize_t ieee80211_if_fmt_##name( \ 72 return scnprintf(buf, buflen, format_string, data->field); \ 74 #define IEEE80211_IF_FMT_DEC(name, type, field) \ argument [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | configfs-most | 9 # mount -t configfs none /sys/kernel/config/ 12 What: /sys/kernel/config/most_cdev/<link> 22 configure the sub-buffer size for this channel 35 configure whether this link will be an input 49 name of the device the link is to be attached to 52 name of the channel the link is to be attached to 59 creation of the link. In case of speculative 60 configuration, the creation is post-poned until 65 active link 67 What: /sys/kernel/config/most_video/<link> [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/ti/ |
H A D | cpsw_switchdev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 ip -d link show dev sw0p1 | grep switchid 20 ATTR{phys_port_name}!="", NAME="sw0$attr{phys_port_name}" 26 - The new (cpsw_new.c) driver is operating in dual-emac mode by default, thus 30 - optimized promiscuous mode: The P0_UNI_FLOOD (both ports) is enabled in 36 - learning disabled on ports as it make not too much sense for 37 segregated ports - no forwarding in HW. 38 - enabled basic support for devlink. 47 name switch_mode type driver-specific 50 name ale_bypass type driver-specific [all …]
|