/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | fib_offload_lib.sh | 1 # SPDX-License-Identifier: GPL-2.0 13 ip -n $ns -j -p -$family route show $route \ 14 | jq -e '.[]["flags"] | contains(["trap"])' &> /dev/null 17 if [[ $ret -ne 0 ]]; then 63 ip -n $ns link add name dummy$i type dummy 64 ip -n $ns link set dev dummy$i up 67 ip -n $ns route add 192.0.2.0/24 dev dummy1 tos 0 metric 1024 71 ip -n $ns route append 192.0.2.0/24 dev dummy2 tos 0 metric 1024 75 ip -n $ns route prepend 192.0.2.0/24 dev dummy3 tos 0 metric 1024 85 ip -n $ns link del dev dummy$i [all …]
|
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | fib_notifications.sh | 2 # SPDX-License-Identifier: GPL-2.0 34 head -n 1 $outfile | grep -q "rt_offload_failed" 35 if [[ $? -eq 0 ]]; then 39 head -n 2 $outfile | tail -n 1 | grep -q "rt_offload_failed" 49 head -n 1 $outfile | grep -q "rt_trap" 50 if [[ $? -eq 0 ]]; then 54 head -n 2 $outfile | tail -n 1 | grep -q "rt_trap" 61 local offload_failed=${1:-0}; shift 64 lines=`wc -l $outfile | cut "-d " -f1` 65 test $lines -eq $expected_num_lines [all …]
|
H A D | nexthop.sh | 2 # SPDX-License-Identifier: GPL-2.0 61 out=$($IP nexthop show ${nharg} | sed -e 's/ *$//') 82 grep "trap" | wc -l) 95 occ=$($DEVLINK -jp resource show $DEVLINK_DEV \ 98 if [ $expected_occ -ne $occ ]; then 118 nexthop_check "id 1" "id 1 via 192.0.2.2 dev dummy1 scope link trap" 128 log_test "Single nexthop add and delete" 145 log_test "Single nexthop add failure" 385 for index in $($IP -j nexthop bucket show id $group_id nhid $nhid | 386 jq '.[].bucket.index' | head -n ${count:--0}) [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | fib_tests.sh | 2 # SPDX-License-Identifier: GPL-2.0 8 # Kselftest framework requirement - SKIP code is 4. 11 # all tests in this script. Can be overridden with -t option 21 IP="$(which ip) -netns ns1" 32 if [ ${rc} -eq ${expected} ]; then 33 printf " TEST: %-60s [ OK ]\n" "${msg}" 38 printf " TEST: %-60s [FAIL]\n" "${msg}" 57 set -e 60 $IP link set dev lo up 61 ip netns exec ns1 sysctl -qw net.ipv4.ip_forward=1 [all …]
|
/openbmc/linux/Documentation/networking/dsa/ |
H A D | configuration.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 .. _dsa-config-showcases: 13 ----------------------- 18 *single port* 42 - when a DSA slave interface is brought up, the master interface is 44 - when the master interface is brought down, all DSA slave interfaces are 70 *single port* 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 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` 56 single port and gateway configuration, while there is no need to add an extra 59 single port [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 50 * single "physical" one. 96 /* gether_setup - initialize one ethernet-over-usb link 99 * host side of the link is recorded [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | ti,sn65dsi83.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marek Vasut <marex@denx.de> 13 Texas Instruments SN65DSI83 1x Single-link MIPI DSI 14 to 1x Single-link LVDS 16 Texas Instruments SN65DSI84 1x Single-link MIPI DSI 17 to 1x Dual-link or 2x Single-link LVDS 23 - ti,sn65dsi83 24 - ti,sn65dsi84 [all …]
|
H A D | lontium,lt9211.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marek Vasut <marex@denx.de> 13 The LT9211 are bridge devices which convert Single/Dual-Link DSI/LVDS 14 or Single DPI to Single/Dual-Link DSI/LVDS or Single DPI. 19 - lontium,lt9211 27 reset-gpios: 31 vccio-supply: 41 Primary MIPI DSI port-1 for MIPI input or [all …]
|
/openbmc/linux/drivers/net/wireless/ti/wl18xx/ |
H A D | wl18xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 43 /* number of keys requiring extra spare mem-blocks */ 63 * is short lived, for multi-channel Tx requirements. 72 /* number of packets to queue up for a link in PS */ 75 /* number of packet to queue up for a suspended link */ 79 * link to qualify as high priority link 84 * link to qualify as high priority link 89 * link before we stop queuing up packets for it. 94 * link before we stop queuing up packets for it. 114 /* Tx rate or Tx rate estimate pre-calculated by fw in mbps units */ [all …]
|
/openbmc/linux/Documentation/scsi/ |
H A D | bfa.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 ------------------ 20 1657:0017:1657:0014 415 4Gbps single port FC HBA 21 1657:0017:1657:0014 815 8Gbps single port FC HBA 22 1657:0017:103c:1741 HP 41B 4Gbps single port FC HBA 23 1657:0017:103c 1743 HP 81B 8Gbps single port FC HBA 24 1657:0021:103c:1779 804 8Gbps FC HBA for HP Bladesystem c-class 26 1657:0014:1657:0014 1010 10Gbps single port CNA - FCOE 27 1657:0014:1657:0014 1020 10Gbps dual port CNA - FCOE 28 1657:0014:1657:0014 1007 10Gbps dual port CNA - FCOE [all …]
|
/openbmc/u-boot/board/freescale/mpc8610hpcd/ |
H A D | mpc8610hpcd_diu.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2007-2011 Freescale Semiconductor, Inc. 22 volatile ccsr_gur_t *gur = &immap->im_gur; in diu_set_pixel_clock() 23 volatile unsigned int *guts_clkdvdr = &gur->clkdvdr; in diu_set_pixel_clock() 47 temp = in_8(&pixis->brdcfg0); in platform_diu_init() 50 /* Dual link LVDS */ in platform_diu_init() 53 name = "Dual-Link LVDS"; in platform_diu_init() 55 /* Single link LVDS */ in platform_diu_init() 57 name = "Single-Link LVDS"; in platform_diu_init() 60 if (in_8(&pixis->ver) == 1) /* Board version */ in platform_diu_init() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-pci-devices-aer_stats | 2 -------------------------- 7 counters may increment at its link partner (e.g. root port) because the 8 errors may be "seen" / reported by the link partner and not the 15 Contact: linux-pci@vger.kernel.org, rajatja@google.com 18 be reported using a single ERR_COR message, thus 28 Advisory Non-Fatal 0 36 Contact: linux-pci@vger.kernel.org, rajatja@google.com 39 be reported using a single ERR_FATAL message, thus 45 Data Link Protocol 0 66 Contact: linux-pci@vger.kernel.org, rajatja@google.com [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_synproxy.c | 1 // SPDX-License-Identifier: LGPL-2.1 OR BSD-2-Clause 60 int server_fd = -1, client_fd = -1, accept_fd = -1; in test_synproxy() 69 SYS(out, "ip link add tmp0 type veth peer name tmp1"); in test_synproxy() 70 SYS(out, "ip link set tmp1 netns synproxy"); in test_synproxy() 71 SYS(out, "ip link set tmp0 up"); in test_synproxy() 77 SYS(out, "ethtool -K tmp0 tx off"); in test_synproxy() 80 SYS(out, "ip link set tmp0 xdp object xdp_dummy.bpf.o section xdp 2> /dev/null"); in test_synproxy() 86 SYS(out, "ip link set lo up"); in test_synproxy() 87 SYS(out, "ip link set tmp1 up"); in test_synproxy() 89 SYS(out, "sysctl -w net.ipv4.tcp_syncookies=2"); in test_synproxy() [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | sysfs-rules.rst | 4 The kernel-exported sysfs exports internal kernel implementation details 11 low-level userspace applications, with a new kernel release, the users 12 of sysfs must follow some rules to use an as-abstract-as-possible way to 21 - Do not use libsysfs 23 offer any abstraction, it exposes all the kernel driver-core 31 - sysfs is always at ``/sys`` 38 - devices are only "devices" 39 There is no such thing like class-, bus-, physical devices, 41 just simply a "device". Class-, bus-, physical, ... types are just 47 - devpath (``/devices/pci0000:00/0000:00:1d.1/usb2/2-2/2-2:1.0``) [all …]
|
/openbmc/linux/Documentation/userspace-api/media/mediactl/ |
H A D | media-controller-model.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _media-controller-model: 14 - An **entity** is a basic media hardware or software building block. 17 hardware devices (a building block in a System-on-Chip image 20 - An **interface** is a graph representation of a Linux Kernel 24 - A **pad** is a data connection endpoint through which an entity can 30 - A **data link** is a point-to-point oriented connection between two 34 - An **interface link** is a point-to-point bidirectional control 37 - An **ancillary link** is a point-to-point connection denoting that two 38 entities form a single logical unit. For example this could represent the [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | bonding.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 Corrections, HA extensions: 2000/10/03-15: 13 - Willy Tarreau <willy at meta-x.org> 14 - Constantine Gavrilov <const-g at xpert.com> 15 - Chad N. Tindel <ctindel at ieee dot org> 16 - Janice Girouard <girouard at us dot ibm dot com> 17 - Jay Vosburgh <fubar at us dot ibm dot com> 22 - Mitch Williams <mitch.a.williams at intel.com> 28 multiple network interfaces into a single logical "bonded" interface. 31 Additionally, link integrity monitoring may be performed. [all …]
|
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | ti-sn65dsi83.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * - SN65DSI83 7 * = 1x Single-link DSI ~ 1x Single-link LVDS 8 * - Supported 9 * - Single-link LVDS mode tested 10 * - SN65DSI84 11 * = 1x Single-link DSI ~ 2x Single-link or 1x Dual-link LVDS 12 * - Supported 13 * - Dual-link LVDS mode tested 14 * - 2x Single-link LVDS mode unsupported [all …]
|
/openbmc/qemu/qapi/ |
H A D | cxl.json | 1 # -*- Mode: Python -*- 32 # @cxl-inject-general-media-event: 42 # @flags: Event Record Flags. See CXL r3.0 Table 8-42 Common Event 46 # lower bits include some flags. See CXL r3.0 Table 8-43 General 50 # information. See CXL r3.0 Table 8-43 General Media Event 53 # @type: Type of memory event that occurred. See CXL r3.0 Table 8-43 57 # @transaction-type: Type of first transaction that caused the event 58 # to occur. See CXL r3.0 Table 8-43 General Media Event Record, 70 # @component-id: Device specific component identifier for the event. 71 # May describe a field replaceable sub-component of the device. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/fsi/ |
H A D | fsi.txt | 4 The FSI bus is probe-able, so the OS is able to enumerate FSI slaves, and 6 nodes to probed engines. This allows for fsi engines to expose non-probeable 8 that is an I2C master - the I2C bus can be described by the device tree under 13 the fsi-master-* binding specifications. 18 fsi-master { 19 /* top-level of FSI bus topology, bound to an FSI master driver and 22 fsi-slave@<link,id> { 26 fsi-slave-engine@<addr> { 32 fsi-slave-engine@<addr> { 39 Note that since the bus is probe-able, some (or all) of the topology may [all …]
|
/openbmc/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/ |
H A D | switch-driver.rst | 1 .. SPDX-License-Identifier: GPL-2.0 24 [dpaa2-eth] [dpaa2-eth] [ dpaa2-switch ] 30 | ---------- | [DPMAC] [DPMAC] 31 ------------------------------- | | 38 The dpaa2-switch driver probes on DPSW devices found on the fsl-mc bus. These 40 file - DataPath Layout (DPL) - or at runtime using the DPAA2 object APIs 43 At the moment, the dpaa2-switch driver imposes the following restrictions on 70 Besides the configuration of the actual DPSW object, the dpaa2-switch driver 73 * 1 DPMCP - A Management Command Portal object is needed for any interraction 76 * 1 DPBP - A Buffer Pool is used for seeding buffers intended for the Rx path [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_parser.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. 39 struct platform_device *pdev = parser->pdev; in dp_parser_ctrl_res() 40 struct dp_io *io = &parser->io; in dp_parser_ctrl_res() 41 struct dss_io_data *dss = &io->dp_controller; in dp_parser_ctrl_res() 43 dss->ahb.base = dp_ioremap(pdev, 0, &dss->ahb.len); in dp_parser_ctrl_res() 44 if (IS_ERR(dss->ahb.base)) in dp_parser_ctrl_res() 45 return PTR_ERR(dss->ahb.base); in dp_parser_ctrl_res() 47 dss->aux.base = dp_ioremap(pdev, 1, &dss->aux.len); in dp_parser_ctrl_res() 48 if (IS_ERR(dss->aux.base)) { in dp_parser_ctrl_res() [all …]
|
/openbmc/linux/Documentation/sound/designs/ |
H A D | timestamping.rst | 7 - Trigger_tstamp is the system time snapshot taken when the .trigger 11 estimate with a delay. In the latter two cases, the low-level driver 17 - tstamp is the current system timestamp updated during the last 19 The difference (tstamp - trigger_tstamp) defines the elapsed time. 29 - ``avail`` reports how much can be written in the ring buffer 30 - ``delay`` reports the time it will take to hear a new sample after all 43 ascii-art, this could be represented as follows (for the playback 47 --------------------------------------------------------------> time 50 analog link dma app FullBuffer 53 |< codec delay >|<--hw delay-->|<queued samples>|<---avail->| [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | dev-subdev.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 6 Sub-device Interface 13 components as software blocks called sub-devices. 15 V4L2 sub-devices are usually kernel-only objects. If the V4L2 driver 17 media entities. Applications will be able to enumerate the sub-devices 21 In addition to make sub-devices discoverable, drivers can also choose to 23 sub-device driver and the V4L2 device driver support this, sub-devices 26 - query, read and write sub-devices controls 28 - subscribe and unsubscribe to events and retrieve them 30 - negotiate image formats on individual pads [all …]
|
/openbmc/linux/include/sound/ac97/ |
H A D | controller.h | 1 /* SPDX-License-Identifier: GPL-2.0 18 * struct ac97_controller - The AC97 controller of the AC-Link 21 * @adap: the shell device ac97-%d, ie. ac97 adapter 43 * struct ac97_controller_ops - The AC97 operations 44 * @reset: Cold reset of the AC97 AC-Link. 45 * @warm_reset: Warm reset of the AC97 AC-Link. 46 * @read: Read of a single AC97 register. 48 * @write: Write of a single AC97 register. 74 return ERR_PTR(-ENODEV); in snd_ac97_controller_register()
|