Home
last modified time | relevance | path

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

12345678910>>...45

/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
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 Du_ether.c1 // 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 Dreliable-stacktrace.rst19 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 Dbridge_mdb.sh2 # 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 Dbridge_igmp.sh2 # SPDX-License-Identifier: GPL-2.0
73 ip link add dev br0 type bridge mcast_snooping 1 mcast_querier 1
75 ip link set dev $swp1 master br0
76 ip link set dev $swp2 master br0
78 ip link set dev br0 up
79 ip link set dev $swp1 up
80 ip link set dev $swp2 up
85 ip link se
[all...]
H A Dbridge_mld.sh2 # SPDX-License-Identifier: GPL-2.0
102 ip link add dev br0 type bridge mcast_snooping 1 mcast_query_response_interval 100 \
106 ip link set dev $swp1 master br0
107 ip link set dev $swp2 master br0
109 ip link set dev br0 up
110 ip link set dev $swp1 up
111 ip link set dev $swp2 up
119 ip link se
[all...]
H A Dlib.sh2 # SPDX-License-Identifier: GPL-2.0
7 declare -A NETIFS=(
42 # Constants for netdevice bring-up:
46 # Like INTERFACE_TIMEOUT, but default for ad-hoc waiting in testing scripts.
83 # Whether the machine is "slow" -- i.e. might be incapable of running tests
85 # e.g. a low-powe
[all...]
/linux/drivers/infiniband/hw/hfi1/
H A Dmad.h1 /* 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 */
146 * The default link width is multiplied by 1000
299 * struct cc_state combines the (active) per-port congestion control
300 * table, and the (active) per-SL congestion settings. cc_state data
389 #define COUNTER_MASK(q, n) (q << ((9 - n) * 3))
403 * get_link_speed - determine whether 12.5G or 25G speed
[all …]
/linux/Documentation/networking/device_drivers/ethernet/netronome/
H A Dnfp.rst1 .. 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 Dixgbe.rst1 .. 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/devicetree/bindings/net/
H A Dnixge.txt4 - 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/Documentation/ABI/testing/
H A Dsysfs-class-net35 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 …]
H A Dsysfs-driver-xdata1 What: /sys/class/misc/drivers/dw-xdata-pcie.<device>/write
6 will create write TLPs frames - from the Root Complex to the
12 Usage e.g.
13 echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/write
15 echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/write
17 The user can read the current PCIe link throughput generated
20 Usage e.g.
21 cat /sys/class/misc/dw-xdata-pcie.<device>/write
26 What: /sys/class/misc/dw-xdata-pcie.<device>/read
31 will create read TLPs frames - from the Endpoint to the Root
[all …]
/linux/tools/lib/bpf/
H A Dusdt.c1 // 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-t
807 struct bpf_link link; global() member
817 struct bpf_link *link; global() member
823 bpf_link_usdt_detach(struct bpf_link * link) bpf_link_usdt_detach() argument
883 bpf_link_usdt_dealloc(struct bpf_link * link) bpf_link_usdt_dealloc() argument
903 allocate_spec_id(struct usdt_manager * man,struct hashmap * specs_hash,struct bpf_link_usdt * link,struct usdt_target * target,int * spec_id,bool * is_new) allocate_spec_id() argument
966 struct bpf_link_usdt *link = NULL; usdt_manager_attach_usdt() local
[all...]
/linux/Documentation/networking/
H A Drepresentors.rst1 .. 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 Dport.c14 * - 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()
101 err = -EINVAL; in mlx5e_port_linkspeed()
104 *speed = info->speed; in mlx5e_port_linkspeed()
118 return -ENOMEM; in mlx5e_port_query_pbmc()
135 return -ENOMEM; in mlx5e_port_set_pbmc()
229 err = -ENOMEM; in mlx5e_port_query_priority2buffer()
261 err = -ENOMEM; in mlx5e_port_set_priority2buffer()
315 #define MLX5E_FEC_OVERRIDE_ADMIN_POLICY(buf, policy, write, link) \ argument
[all …]
/linux/drivers/staging/most/Documentation/
H A Ddriver_usage.txt5 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 Dcdnsp-mem.c1 // 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/tools/perf/scripts/perl/Perf-Trace-Util/
H A DMakefile.PL1 # 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/drivers/net/phy/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
16 PHYlink models the link between the PHY and MAC, allowing fixed
37 bool "Support LED triggers for tracking link state"
40 Adds support for a set of LED trigger events per-PHY. Link
42 LED class driver. There are triggers for each link speed currently
43 supported by the PHY and also a one common "link" trigger as a
44 logical-or of all the link speed ones.
49 <Speed in megabits>Mbps OR <Speed in gigabits>Gbps OR link
63 tristate "MDIO Bus/PHY emulation with fixed speed/link PHYs"
69 Currently tested with mpc866ads and mpc8349e-mitx.
[all …]
/linux/include/linux/soundwire/
H A Dsdw_intel.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
43 #define SDW_SHIM_SYNC_SYNCPRD_VAL_24 (24000 / SDW_CADENCE_GSYNC_KHZ - 1)
44 #define SDW_SHIM_SYNC_SYNCPRD_VAL_24_576 (24576 / SDW_CADENCE_GSYNC_KHZ - 1)
45 #define SDW_SHIM_SYNC_SYNCPRD_VAL_38_4 (38400 / SDW_CADENCE_GSYNC_KHZ - 1)
46 #define SDW_SHIM_SYNC_SYNCPRD_VAL_96 (96000 / SDW_CADENCE_GSYNC_KHZ - 1)
117 * ACE2.x definitions for SHIM registers - only accessible when the
118 * HDAudio extended link LCTL.SPA/CPA = 1.
120 /* x variable is link index */
126 /* Read-only capabilities */
[all …]
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dqcom,glink-rpm-edge.yaml1 # 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 …]
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_port.c1 // 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/Documentation/networking/device_drivers/wwan/
H A Diosm.rst1 .. SPDX-License-Identifier: GPL-2.0-only
3 .. Copyright (C) 2020-21 Intel Corporation
24 - mbimcli (included with the libmbim [2] library), and
25 - Modem Manager [3]
29 - open the MBIM control channel
30 - configure network connection settings
31 - connect to network
32 - configure IP network interface
37 described in [1] Mobile Broadband Interface Model v1.0 Errata-1.
40 ----------------------------------
[all …]
/linux/drivers/acpi/
H A Dnhlt.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright(c) 2023-2024 Intel Corporation
28 * acpi_nhlt_get_gbl_table - Retrieve a pointer to the first NHLT table.
47 * acpi_nhlt_put_gbl_table - Release the global NHLT table.
56 * acpi_nhlt_endpoint_match - Verify if an endpoint matches criteria.
58 * @link_type: the hardware link type, e.g.: PDM or SSP.
72 (link_type < 0 || ep->link_type == link_type) && in acpi_nhlt_endpoint_match()
73 (dev_type < 0 || ep->device_type == dev_type) && in acpi_nhlt_endpoint_match()
74 (bus_id < 0 || ep->virtual_bus_id == bus_id) && in acpi_nhlt_endpoint_match()
75 (dir < 0 || ep->direction == dir); in acpi_nhlt_endpoint_match()
[all …]

12345678910>>...45