/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 91 struct eth_dev *gether_setup_name(struct usb_gadget *g, 96 /* gether_setup - initialize one ethernet-over-usb link 97 * @g: gadget to associated with these links [all …]
|
H A D | u_ether.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * u_ether.c -- Ethernet-over-USB link layer utilities for Gadget stack 5 * Copyright (C) 2003-2005,2008 David Brownell 6 * Copyright (C) 2003-2004 Robert Schwebel, Benedikt Spranger 27 * This component encapsulates the Ethernet link glue needed to provide 28 * one (!) network link through the USB gadget stack, normally "usb0". 35 * Link level addressing is handled by this component using module 36 * parameters; if no such parameters are provided, random link level 37 * addresses are used. Each end of the link uses one address. The 41 * The driver which assembles each configuration using such a link is [all …]
|
/linux/Documentation/livepatch/ |
H A D | reliable-stacktrace.rst | 19 functions with live state, and best-effort approaches which can be helpful for 38 * The return code is non-zero to indicate that the trace is not reliable. 47 function should attempt to detect such cases and return a non-zero error 52 3. Compile-time analysis 76 -------------------------------------- 84 * Dynamically generated code (e.g. eBPF) or foreign code (e.g. EFI runtime 89 architectures verify that a stacktrace ends at an expected location, e.g. 95 * On a specific stack expected for a kernel entry point (e.g. if the 99 ------------------------------- 101 Unwinding typically relies on code following specific conventions (e.g. [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | bridge_mdb.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +-----------------------+ +------------------------+ 15 # +----|------------------+ +----|-------------------+ 17 # +----|--------------------------------------------------|-------------------+ 19 # | +--|--------------------------------------------------|-----------------+ | 24 # | +-----------------------------------------------------------------------+ | 25 # +---------------------------------------------------------------------------+ 67 ip link add name br0 type bridge vlan_filtering 1 vlan_default_pvid 0 \ 71 ip link set dev br0 up 73 ip link set dev $swp1 master br0 [all …]
|
H A D | bridge_igmp.sh | 2 # SPDX-License-Identifier: GPL-2.0 59 ip link add dev br0 type bridge mcast_snooping 1 mcast_querier 1 61 ip link set dev $swp1 master br0 62 ip link set dev $swp2 master br0 64 ip link set dev br0 up 65 ip link set dev $swp1 up 66 ip link set dev $swp2 up 71 ip link set dev $swp2 down 72 ip link set dev $swp1 down 74 ip link del dev br0 [all …]
|
H A D | bridge_mld.sh | 2 # SPDX-License-Identifier: GPL-2.0 89 ip link add dev br0 type bridge mcast_snooping 1 mcast_query_response_interval 100 \ 93 ip link set dev $swp1 master br0 94 ip link set dev $swp2 master br0 96 ip link set dev br0 up 97 ip link set dev $swp1 up 98 ip link set dev $swp2 up 106 ip link set dev $swp2 down 107 ip link set dev $swp1 down 109 ip link del dev br0 [all …]
|
/linux/drivers/infiniband/hw/hfi1/ |
H A D | mad.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright(c) 2015 - 2017 Intel Corporation. 38 #define OPA_NOTICE_TRAP_LWDE_CHG 0x08 /* Link Width Downgrade Enable 41 #define OPA_NOTICE_TRAP_LSE_CHG 0x04 /* Link Speed Enable changed */ 42 #define OPA_NOTICE_TRAP_LWE_CHG 0x02 /* Link Width Enable changed */ 147 * The default link width is multiplied by 1000 300 * struct cc_state combines the (active) per-port congestion control 301 * table, and the (active) per-SL congestion settings. cc_state data 390 #define COUNTER_MASK(q, n) (q << ((9 - n) * 3)) 404 * get_link_speed - determine whether 12.5G or 25G speed [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/netronome/ |
H A D | nfp.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 14 - `Overview`_ 15 - `Acquiring Firmware`_ 16 - `Devlink Info`_ 17 - `Configure Device`_ 18 - `Statistics`_ 25 are also incorporated in the companies' family of Agilio SmartNICs. The SR-IOV 35 Firmware files on the host filesystem contain card type (`AMDA-*` string), media 40 `linux-firmware.git` repository. 46 ----------------- [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/intel/ |
H A D | ixgbe.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 8 Copyright(c) 1999-2018 Intel Corporation. 13 - Identifying Your Adapter 14 - Command Line Parameters 15 - Additional Configurations 16 - Known Issues 17 - Support 36 ---------------------------------- 38 82599-BASED ADAPTERS 41 - If your 82599-based Intel(R) Network Adapter came with Intel optics or is an [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-net | 35 Values vary based on the lower-level protocol used by the 45 Format is a string, e.g: 00:11:22:33:44:55 for an Ethernet MAC 53 Bitmask to allow forwarding of link local frames with address 54 01-80-C2-00-00-0X on a bridge device. Only values that set bits 57 Default value 0 does not forward any link local frames. 62 0 01-80-C2-00-00-00 Bridge Group Address used for STP 63 1 01-80-C2-00-00-01 (MAC Control) 802.3 used for MAC PAUSE 64 2 01-80-C2-00-00-02 (Link Aggregation) 802.3ad 68 care when forwarding control frames e.g. 802.1X-PAE or LLDP. 76 string, e.g: ff:ff:ff:ff:ff:ff for an Ethernet broadcast MAC [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | nixge.txt | 4 - compatible: Should be "ni,xge-enet-3.00", but can be "ni,xge-enet-2.00" for 5 older device trees with DMA engines co-located in the address map, 7 - reg: Address and length of the register set for the device. It contains the 8 information of registers in the same order as described by reg-names. 9 - reg-names: Should contain the reg names 12 - interrupts: Should contain tx and rx interrupt 13 - interrupt-names: Should be "rx" and "tx" 14 - phy-mode: See ethernet.txt file in the same directory. 15 - nvmem-cells: Phandle of nvmem cell containing the MAC address 16 - nvmem-cell-names: Should be "address" [all …]
|
/linux/tools/lib/bpf/ |
H A D | usdt.c | 1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 24 /* libbpf's USDT support consists of BPF-side state/code and user-space 25 * state/code working together in concert. BPF-side parts are defined in 26 * usdt.bpf.h header library. User-space state is encapsulated by struct 30 * and IP-to-spec-ID map, which is auxiliary map necessary for kernels that 38 * USDT-related until the very first call to bpf_program__attach_usdt(), which 42 * store it in bpf_object. USDT manager is per-BPF object construct, as each 44 * the expected USDT-related state. There is no coordination between two 46 * existence and libbpf is just oblivious, dealing with bpf_object-specific 51 * From user-space application's point of view, USDT is essentially just [all …]
|
/linux/Documentation/networking/ |
H A D | representors.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 used to control internal switching on SmartNICs. For the closely-related port 10 representors on physical (multi-port) switches, see 14 ---------- 16 Since the mid-2010s, network cards have started offering more complex 17 virtualisation capabilities than the legacy SR-IOV approach (with its simple 18 MAC/VLAN-based switching model) can support. This led to a desire to offload 19 software-defined networks (such as OpenVSwitch) to these NICs to specify the 24 virtual switches and IOV devices. Just as each physical port of a Linux- 36 As a virtual link endpoint, the representor can be configured like any other [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | port.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 64 return -EPERM; in mlx5_port_set_eth_ptys() 99 err = -EINVAL; in mlx5e_port_linkspeed() 113 return -ENOMEM; in mlx5e_port_query_pbmc() 130 return -ENOMEM; in mlx5e_port_set_pbmc() 224 err = -ENOMEM; in mlx5e_port_query_priority2buffer() 256 err = -ENOMEM; in mlx5e_port_set_priority2buffer() 305 #define MLX5E_FEC_OVERRIDE_ADMIN_POLICY(buf, policy, write, link) \ argument 311 MLX5_SET(pplm_reg, _buf, fec_override_admin_##link, *_policy); \ [all …]
|
/linux/drivers/staging/most/Documentation/ |
H A D | driver_usage.txt | 5 access a MOST network: The Automotive Information Backbone and the de-facto 6 standard for high-bandwidth automotive multimedia networking. 9 for the efficient and low-cost transport of control, real-time and packet 43 interfaces (e.g. USB, MediaLB, I2C) the hardware provides. 76 of the embedded struct device (e.g. the bus this device belongs to and 104 Standard networking applications (e.g. iperf) can by used to access 108 Standard video applications (e.g. VLC) can by used to access the 112 Standard sound applications (e.g. aplay, arecord, audacity) can by 118 Section 2.1 Configuration and Data Link 125 directory will be used as a reference for the link and it will contain the [all …]
|
/linux/drivers/usb/cdns3/ |
H A D | cdnsp-mem.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/dma-mapping.h> 18 #include "cdnsp-gadget.h" 19 #include "cdnsp-trace.h" 42 seg->trbs = dma_pool_zalloc(pdev->segment_pool, flags, &dma); in cdnsp_segment_alloc() 43 if (!seg->trbs) { in cdnsp_segment_alloc() 49 seg->bounce_buf = kzalloc(max_packet, flags | GFP_DMA); in cdnsp_segment_alloc() 50 if (!seg->bounce_buf) in cdnsp_segment_alloc() 57 seg->trbs[i].link.control |= cpu_to_le32(TRB_CYCLE); in cdnsp_segment_alloc() 59 seg->dma = dma; in cdnsp_segment_alloc() [all …]
|
/linux/drivers/gpu/drm/i915/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 44 including 830M, 845G, 852GM, 855GM, 865G, 915G, 945G, 965G, 76 Use "<pci-id>[,<pci-id>,...]" to force probe the i915 for listed 96 https://drm.pages.freedesktop.org/intel-docs/how-to-file-i915-bugs.html 124 tristate "Enable KVM host support Intel GVT-g graphics virtualization" 134 Choose this option if you want to enable Intel GVT-g graphics 136 With GVT-g, it's possible to have one integrated graphics 141 https://github.com/intel/gvt-linux/wiki. 165 resolution allowed by the link BW on all displays sharing the 166 link BW, for instance on a Thunderbolt link.
|
/linux/include/uapi/linux/ |
H A D | mdio.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * Copyright 2006-2009 Solarflare Communications Inc. 25 #define MDIO_MMD_AN 7 /* Auto-Negotiation */ 39 #define MDIO_CTRL2 7 /* 10G control 2 */ 40 #define MDIO_STAT2 8 /* 10G status 2 */ 41 #define MDIO_PMA_TXDIS 9 /* 10G PMA/PMD transmit disable */ 42 #define MDIO_PMA_RXDET 10 /* 10G PMA/PMD receive signal detect */ 43 #define MDIO_PMA_EXTABLE 11 /* 10G PMA/PMD extended ability */ 50 #define MDIO_PMA_NG_EXTABLE 21 /* 2.5G/5G PMA/PMD extended ability */ 54 #define MDIO_AN_EEE_LPABLE 61 /* EEE link partner ability */ [all …]
|
/linux/Documentation/networking/device_drivers/wwan/ |
H A D | t7xx.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 3 .. Copyright (C) 2020-21 Intel Corporation 8 t7xx driver for MTK PCIe based T700 5G modem 11 for data exchange over PCIe interface between Host platform & MediaTek's T700 5G modem. 13 application (e.g. Modem Manager) could easily manage the MBIM interface to enable 26 - mbimcli (included with the libmbim [2] library), and 27 - Modem Manager [3] 32 - open the MBIM control channel 33 - configure network connection settings 34 - connect to network [all …]
|
/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_port.c | 1 // SPDX-License-Identifier: GPL-2.0+ 31 status->an_complete = true; in decode_sgmii_word() 33 status->link = false; in decode_sgmii_word() 39 status->speed = SPEED_10; in decode_sgmii_word() 42 status->speed = SPEED_100; in decode_sgmii_word() 45 status->speed = SPEED_1000; in decode_sgmii_word() 48 status->link = false; in decode_sgmii_word() 52 status->duplex = DUPLEX_FULL; in decode_sgmii_word() 54 status->duplex = DUPLEX_HALF; in decode_sgmii_word() 59 status->link = !(lp_abil & ADVERTISE_RFAULT) && status->link; in decode_cl37_word() [all …]
|
/linux/include/linux/ |
H A D | phylink.h | 22 MLO_AN_FIXED, /* Fixed-link mode */ 23 MLO_AN_INBAND, /* In-band protocol */ 26 * PHYLINK_PCS_NEG_NONE - protocol has no inband capability 27 * PHYLINK_PCS_NEG_OUTBAND - some out of band or fixed link setting 28 * PHYLINK_PCS_NEG_INBAND_DISABLED - inband mode disabled, e.g. 29 * 1000base-X with autoneg off 30 * PHYLINK_PCS_NEG_INBAND_ENABLED - inband mode enabled 32 * PHYLINK_PCS_NEG_INBAND - inband mode selected 33 * PHYLINK_PCS_NEG_ENABLED - negotiation mode enabled 102 * struct phylink_link_state - link state structure [all …]
|
/linux/tools/perf/scripts/perl/Perf-Trace-Util/ |
H A D | Makefile.PL | 1 # SPDX-License-Identifier: GPL-2.0 9 PREREQ_PM => {}, # e.g., Module::Name => 1.1 13 LIBS => [''], # e.g., '-lm' 14 DEFINE => '-I ../..', # e.g., '-DHAVE_SOMETHING' 15 INC => '-I.', # e.g., '-I. -I/usr/include/other' 16 # Un-comment this if you add C files to link with later: 17 OBJECT => 'Context.o', # link all the C files too
|
/linux/include/linux/soundwire/ |
H A D | sdw_intel.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2 /* Copyright(c) 2015-17 Intel Corporation. */ 42 #define SDW_SHIM_SYNC_SYNCPRD_VAL_24 (24000 / SDW_CADENCE_GSYNC_KHZ - 1) 43 #define SDW_SHIM_SYNC_SYNCPRD_VAL_24_576 (24576 / SDW_CADENCE_GSYNC_KHZ - 1) 44 #define SDW_SHIM_SYNC_SYNCPRD_VAL_38_4 (38400 / SDW_CADENCE_GSYNC_KHZ - 1) 45 #define SDW_SHIM_SYNC_SYNCPRD_VAL_96 (96000 / SDW_CADENCE_GSYNC_KHZ - 1) 116 * ACE2.x definitions for SHIM registers - only accessible when the 117 * HDAudio extended link LCTL.SPA/CPA = 1. 119 /* x variable is link index */ 125 /* Read-only capabilities */ [all …]
|
/linux/drivers/net/phy/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 PHYlink models the link between the PHY and MAC, allowing fixed 32 bool "Support LED triggers for tracking link state" 35 Adds support for a set of LED trigger events per-PHY. Link 37 LED class driver. There are triggers for each link speed currently 38 supported by the PHY and also a one common "link" trigger as a 39 logical-or of all the link speed ones. 44 <Speed in megabits>Mbps OR <Speed in gigabits>Gbps OR link 58 tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs" 64 Currently tested with mpc866ads and mpc8349e-mitx. [all …]
|
/linux/Documentation/devicetree/bindings/remoteproc/ |
H A D | qcom,glink-rpm-edge.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/qcom,glink-rpm-edge.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm G-Link RPM edge 10 Qualcomm G-Link edge, a FIFO based mechanism for communication with Resource 14 - Bjorn Andersson <andersson@kernel.org> 18 const: qcom,glink-rpm 30 - description: rpm_hlos mailbox in APCS 32 qcom,remote-pid: [all …]
|