Home
last modified time | relevance | path

Searched +full:link +full:- +full:name (Results 1 – 25 of 1016) sorted by relevance

12345678910>>...41

/linux/tools/testing/selftests/drivers/net/mlxsw/
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
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 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
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 …]
/linux/tools/testing/selftests/net/
H A Dnetns-name.sh2 # SPDX-License-Identifier: GPL-2.0
5 set -o pipefail
7 DEV=dummy-dev0
8 DEV2=dummy-dev1
9 ALT_NAME=some-alt-name
22 echo "ERROR: ${1:-unexpected return code} (ret: $_)" >&2
34 ip -netns $NS link set dev $nsim netns $test_ns ||
36 ip -netns $test_ns link show dev $nsim >> /dev/null ||
43 ip -netns $test_ns link add name $DEV type dummy
44 ip -netns $NS link add name $DEV type dummy || fail
[all …]
H A Daltnames.sh2 # 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 …]
H A Dvlan_hw_filter.sh2 # SPDX-License-Identifier: GPL-2.0
4 readonly NETNS="ns-$(mktemp -u XXXXXX)"
27 echo "ERROR: ${1:-unexpected return code} (ret: $_)" >&2
34 for current_test in ${TESTS:-$ALL_TESTS}; do
41 ip netns exec ${NETNS} ip link add bond0 type bond mode 0
42 ip netns exec ${NETNS} ip link add bond_slave_1 type veth peer veth2
43 ip netns exec ${NETNS} ip link set bond_slave_1 master bond0
44 ip netns exec ${NETNS} ethtool -K bond0 rx-vlan-filter off
45 ip netns exec ${NETNS} ip link add link bond_slave_1 name bond_slave_1.0 type vlan id 0
46 ip netns exec ${NETNS} ip link add link bond0 name bond0.0 type vlan id 0
[all …]
H A Dip6_gre_headroom.sh2 # SPDX-License-Identifier: GPL-2.0
5 # IPv6 GRE-like netdevice.
9 ip link add h1 type veth peer name swp1
10 ip link add h3 type veth peer name swp3
12 ip link set dev h1 up
15 ip link add dev vh3 type vrf table 20
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
[all …]
/linux/tools/testing/selftests/drivers/net/bonding/
H A Dlag_lib.sh2 # 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 …]
/linux/sound/soc/intel/boards/
H A Dsof_board_helpers.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include "../common/soc-intel-quirks.h"
11 * Intel HDMI DAI Link
15 struct sof_card_private *ctx = snd_soc_card_get_drvdata(rtd->card); in hdmi_init()
18 ctx->hdmi.hdmi_comp = dai->component; in hdmi_init()
27 if (!ctx->hdmi_num) in sof_intel_board_card_late_probe()
30 if (!ctx->hdmi.idisp_codec) in sof_intel_board_card_late_probe()
33 if (!ctx->hdmi.hdmi_comp) in sof_intel_board_card_late_probe()
34 return -EINVAL; in sof_intel_board_card_late_probe()
36 return hda_dsp_hdmi_build_controls(card, ctx->hdmi.hdmi_comp); in sof_intel_board_card_late_probe()
[all …]
/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`
64 .. code-block:: sh
67 ip link add link eth0 name eth0.1 type vlan id 1
[all …]
H A Dconfiguration.rst1 .. SPDX-License-Identifier: GPL-2.0
10 .. _dsa-config-showcases:
13 -----------------------
42 - when a DSA user interface is brought up, the conduit interface is
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)
76 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255)
79 * br0: 192.0.2.129/25 (192.0.2.128 - 192.0.2.255)
[all …]
/linux/net/mac80211/
H A Ddebugfs_netdev.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2020-2023 Intel Corporation
23 #include "driver-ops.h"
38 return d->format(d->sdata, buf, bufsize); in ieee80211_if_read_sdata_handler()
47 struct ieee80211_sub_if_data *sdata = file->private_data; in ieee80211_if_read_sdata()
54 return wiphy_locked_debugfs_read(sdata->loca in ieee80211_if_read_sdata()
99 struct ieee80211_link_data *link; global() member
117 ieee80211_if_read_link(struct file * file,char __user * userbuf,size_t count,loff_t * ppos,ssize_t (* format)(const struct ieee80211_link_data * link,char *,int)) ieee80211_if_read_link() argument
119 struct ieee80211_link_data *link = file->private_data; ieee80211_if_read_link() local
135 struct ieee80211_link_data *link; global() member
153 ieee80211_if_write_link(struct file * file,const char __user * userbuf,size_t count,loff_t * ppos,ssize_t (* write)(struct ieee80211_link_data * link,const char *,int)) ieee80211_if_write_link() argument
155 struct ieee80211_link_data *link = file->private_data; ieee80211_if_write_link() local
169 IEEE80211_IF_FMT(name,type,field,format_string) global() argument
176 IEEE80211_IF_FMT_DEC(name,type,field) global() argument
178 IEEE80211_IF_FMT_HEX(name,type,field) global() argument
180 IEEE80211_IF_FMT_LHEX(name,type,field) global() argument
183 IEEE80211_IF_FMT_HEXARRAY(name,type,field) global() argument
198 IEEE80211_IF_FMT_ATOMIC(name,type,field) global() argument
206 IEEE80211_IF_FMT_MAC(name,type,field) global() argument
214 IEEE80211_IF_FMT_JIFFIES_TO_MS(name,type,field) global() argument
223 _IEEE80211_IF_FILE_OPS(name,_read,_write) global() argument
230 _IEEE80211_IF_FILE_R_FN(name) global() argument
240 _IEEE80211_IF_FILE_W_FN(name) global() argument
250 IEEE80211_IF_FILE_R(name) global() argument
254 IEEE80211_IF_FILE_W(name) global() argument
258 IEEE80211_IF_FILE_RW(name) global() argument
264 IEEE80211_IF_FILE(name,field,format) global() argument
268 _IEEE80211_IF_LINK_R_FN(name) global() argument
278 _IEEE80211_IF_LINK_W_FN(name) global() argument
288 IEEE80211_IF_LINK_FILE_R(name) global() argument
292 IEEE80211_IF_LINK_FILE_W(name) global() argument
296 IEEE80211_IF_LINK_FILE_RW(name) global() argument
302 IEEE80211_IF_LINK_FILE(name,field,format) global() argument
379 ieee80211_set_smps(struct ieee80211_link_data * link,enum ieee80211_smps_mode smps_mode) ieee80211_set_smps() argument
414 ieee80211_if_fmt_smps(const struct ieee80211_link_data * link,char * buf,int buflen) ieee80211_if_fmt_smps() argument
424 ieee80211_if_parse_smps(struct ieee80211_link_data * link,const char * buf,int buflen) ieee80211_if_parse_smps() argument
803 DEBUGFS_ADD_MODE(name,mode) global() argument
820 DEBUGFS_ADD(name) global() argument
886 MESHSTATS_ADD(name) add_mesh_stats() argument
902 MESHPARAMS_ADD(name) add_mesh_config() argument
977 DEBUGFS_ADD_MODE(dentry,name,mode) global() argument
981 DEBUGFS_ADD(dentry,name) global() argument
983 add_link_files(struct ieee80211_link_data * link,struct dentry * dentry) add_link_files() argument
1044 ieee80211_link_debugfs_add(struct ieee80211_link_data * link) ieee80211_link_debugfs_add() argument
1066 ieee80211_link_debugfs_remove(struct ieee80211_link_data * link) ieee80211_link_debugfs_remove() argument
1083 ieee80211_link_debugfs_drv_add(struct ieee80211_link_data * link) ieee80211_link_debugfs_drv_add() argument
1093 ieee80211_link_debugfs_drv_remove(struct ieee80211_link_data * link) ieee80211_link_debugfs_drv_remove() argument
[all...]
/linux/drivers/usb/gadget/function/
H A Du_ether.h1 /* 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 …]
/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 Ddual_vxlan_bridge.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +--------------------+ +----------------------+
11 # +----|---------------+ +--|-------------------+
13 # +----|--------------------------------------------------|--------------------+
15 # | +--|-------------------------------+ +----------------|------------------+ |
25 # | +--------------------------------- + +-----------------------------------+ |
32 # +----|-----------------------------------------------------------------------+
34 # +----|--------------------------------------------------------+
43 # +----|---------------------------------------|----------------+
45 # +----|------------------------------+ +----|------------------------------+
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dmt8195-mt6359.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mt8195-mt6359.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Trevor Wu <trevor.wu@mediatek.com>
16 - $ref: sound-card-common.yaml#
21 - mediatek,mt8195_mt6359_rt1019_rt5682
22 - mediatek,mt8195_mt6359_rt1011_rt5682
23 - mediatek,mt8195_mt6359_max98390_rt5682
24 - mediatek,mt8195_mt6359
[all …]
H A Dgoogle,sc7280-herobrine.yaml1 # 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 - Judy Hsiao <judyhsiao@chromium.org>
16 - $ref: sound-card-common.yaml#
21 - google,sc7280-herobrine
23 "#address-cells":
26 "#size-cells":
[all …]
H A Dmt8192-mt6359-rt1015-rt5682.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/mt8192-mt6359-rt1015-rt5682.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jiaxin Yu <jiaxin.yu@mediatek.com>
11 - Shane Chien <shane.chien@mediatek.com>
17 - $ref: sound-card-common.yaml#
22 - mediatek,mt8192_mt6359_rt1015_rt5682
23 - mediatek,mt8192_mt6359_rt1015p_rt5682
24 - mediatek,mt8192_mt6359_rt1015p_rt5682s
[all …]
H A Dgoogle,sc7180-trogdor.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/google,sc7180-trogdor.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Google SC7180-Trogdor ASoC sound card driver
10 - Rohit kumar <quic_rohkumar@quicinc.com>
11 - Cheng-Yi Chiang <cychiang@chromium.org>
17 - $ref: sound-card-common.yaml#
22 - google,sc7180-trogdor
23 - google,sc7180-coachz
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8996-oneplus-common.dtsi1 // 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 …]
/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/Documentation/ABI/testing/
H A Dconfigfs-most9 # 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 …]

12345678910>>...41