| /linux/Documentation/networking/ |
| H A D | af_xdp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 20 XDP programs to redirect frames to a memory buffer in a user-space 23 An AF_XDP socket (XSK) is created with the normal socket() 25 TX ring. A socket can receive packets on the RX ring and it can send 28 to have at least one of these rings for each socket. An RX or TX 53 The socket is then finally bound with a bind() call to a device and a 61 with as well as its own newly created XSK socket. The new process will 64 single-consumer / single-producer (for performance reasons), the new 65 process has to create its own socket with associated RX and TX rings, 72 user-space application can place an XSK at an arbitrary place in this [all …]
|
| H A D | j1939.rst | 1 .. SPDX-License-Identifier: (GPL-2.0 OR MIT) 14 ISO-11783 (ISOBUS). This last one specifies the so-called ETP (Extended 16 results in a maximum packet size of ((2 ^ 24) - 1) * 7 bytes == 111 MiB. 19 ------------------- 21 * SAE J1939-21 : data link layer 22 * SAE J1939-81 : network management 23 * ISO 11783-6 : Virtual Terminal (Extended Transport Protocol) 25 .. _j1939-motivation: 56 ...). In-kernel code for these would not contribute to protocol stability. 61 Since such a library does not communicate with the in-kernel implementation, care [all …]
|
| H A D | iso15765-2.rst | 1 .. SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 4 ISO 15765-2 (ISO-TP) 10 ISO 15765-2, also known as ISO-TP, is a transport protocol specifically defined 12 industry, for example as the transport protocol for UDSonCAN (ISO 14229-3) or 13 emission-related diagnostic services (ISO 15031-5). 15 ISO-TP can be used both on CAN CC (aka Classical CAN) and CAN FD (CAN with 21 ------------------- 23 * ISO 15765-2:2024 : Road vehicles - Diagnostic communication over Controller 27 ---------- 29 In its simplest form, ISO-TP is based on two kinds of addressing modes for the [all …]
|
| H A D | can.rst | 2 SocketCAN - Controller Area Network 13 socket API, the Linux network stack and implements the CAN device 14 drivers as network interfaces. The CAN socket API has been designed 20 .. _socketcan-motivation: 22 Motivation / Why Using the Socket API 29 functionality. Usually, there is only a hardware-specific device 32 Queueing of frames and higher-level transport protocols like ISO-TP 34 character-device implementations support only one single process to 41 protocol family has been implemented which provides a socket interface 47 protocol family module and also vice-versa. Also, the protocol family [all …]
|
| H A D | scaling.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 multi-processor systems. 17 - RSS: Receive Side Scaling 18 - RPS: Receive Packet Steering 19 - RFS: Receive Flow Steering 20 - Accelerated Receive Flow Steering 21 - XPS: Transmit Packet Steering 28 (multi-queue). On reception, a NIC can send different packets to different 33 generally known as “Receive-side Scaling” (RSS). The goal of RSS and 35 Multi-queue distribution can also be used for traffic prioritization, but [all …]
|
| /linux/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-cgroup.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 bpftool-cgroup 6 ------------------------------------------------------------------------------- 8 ------------------------------------------------------------------------------- 19 *OPTIONS* := { |COMMON_OPTIONS| | { **-f** | **--bpffs** } } 48 | *ATTACH_FLAGS* := { **multi** | **override** } 78 *ATTACH_FLAGS* can be one of: **override** if a sub-cgroup installs some 79 bpf program, the program in this cgroup yields to sub-cgroup program; 80 **multi** if a sub-cgroup installs some bpf program, that cgroup program 87 Multiple programs are allowed to be attached to a cgroup with **multi**. [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sk_lookup.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 4 * Test BPF attach point for INET socket lookup (BPF_SK_LOOKUP). 7 * - attaching/detaching/querying programs to BPF_SK_LOOKUP hook, 8 * - redirecting socket lookup to a socket selected by BPF program, 9 * - failing a socket lookup on BPF program's request, 10 * - error scenarios for selecting a socket from BPF program, 11 * - accessing BPF program context, 12 * - attaching and running multiple BPF programs. 74 bool reuseport_has_conns; /* Add a connected socket to reuseport group */ 96 errno = -prog_fd; in attach_reuseport() [all …]
|
| /linux/drivers/tty/serial/8250/ |
| H A D | serial_cs.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) 69 /* Table of multi-port card ID's */ 74 int multi; /* 1 = multifunction, > 1 = # ports */ member 84 int multi; member 94 * vers_1 5.0, "Brain Boxes", "2-Port RS232 card", "r6" 104 uart->port.uartclk = 14745600; in quirk_setup_brainboxes_0104() 122 return -ENODEV; in quirk_post_ibm() 127 * be handled by setting the quirk entry .multi = 0 | 1 ? 131 struct serial_info *info = link->priv; in quirk_config_nokia() 133 if (info->multi > 1) in quirk_config_nokia() [all …]
|
| /linux/Documentation/driver-api/media/drivers/ |
| H A D | tuners.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ------------------------ 12 - L= LG_API (VHF_LO=0x01, VHF_HI=0x02, UHF=0x08, radio=0x04) 13 - P= PHILIPS_API (VHF_LO=0xA0, VHF_HI=0x90, UHF=0x30, radio=0x04) 14 - T= TEMIC_API (VHF_LO=0x02, VHF_HI=0x04, UHF=0x01) 15 - A= ALPS_API (VHF_LO=0x14, VHF_HI=0x12, UHF=0x11) 16 - M= PHILIPS_MK3 (VHF_LO=0x01, VHF_HI=0x02, UHF=0x04, radio=0x19) 19 ------------------- 21 - Samsung Tuner identification: (e.g. TCPM9091PD27) 23 .. code-block:: none [all …]
|
| /linux/Documentation/security/ |
| H A D | SCTP.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 -------------- 26 Passes the ``@asoc`` and ``@chunk->skb`` of the association INIT packet to the 30 @asoc - pointer to sctp association structure. 31 @skb - pointer to skbuff of association packet. 42 @sk - Pointer to sock structure. 43 @optname - Name of the option to validate. 44 @address - One or more ipv4 / ipv6 addresses. 45 @addrlen - The total length of address(s). This is calculated on each 49 ------------------------------------------------------------------ [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/emeraldrapids/ |
| H A D | uncore-memory.json | 3 "BriefDescription": "Cycles - at UCLK", 228 "BriefDescription": "Multi-socket cacheline Directory lookups (any state found)", 238 "BriefDescription": "Multi-socket cacheline Directory lookups (cacheline found in A state)", 248 "BriefDescription": "Multi-socket cacheline Directory lookup (cacheline found in I state)", 258 "BriefDescription": "Multi-socket cacheline Directory lookup (cacheline found in S state)", 348 "BriefDescription": "Multi-socket cacheline Directory update from A to I", 358 "BriefDescription": "Multi-socket cacheline Directory update from A to S", 368 "BriefDescription": "Multi-socket cacheline Directory update from/to Any state", 377 "BriefDescription": "Multi-socket cacheline Directory Updates", 390 "BriefDescription": "Multi-socket cacheline Directory Updates", [all …]
|
| H A D | uncore-interconnect.json | 31 "BriefDescription": "FAF - request insert from TC.", 47 "BriefDescription": "FAF allocation -- sent to ADQ", 84 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 94 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 104 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 114 "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", 124 "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Requests", 134 … "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Transfers From Primary to Secondary", 144 … "BriefDescription": "Counts Timeouts - Set 0 : Prefetch Ack Hints From Primary to Secondary", 154 "BriefDescription": "Counts Timeouts - Set 0 : Slow path fwpf didn't find prefetch", [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/sapphirerapids/ |
| H A D | uncore-memory.json | 3 "BriefDescription": "Cycles - at UCLK", 228 "BriefDescription": "Multi-socket cacheline Directory lookups (any state found)", 238 "BriefDescription": "Multi-socket cacheline Directory lookups (cacheline found in A state)", 248 "BriefDescription": "Multi-socket cacheline Directory lookup (cacheline found in I state)", 258 "BriefDescription": "Multi-socket cacheline Directory lookup (cacheline found in S state)", 348 "BriefDescription": "Multi-socket cacheline Directory update from A to I", 358 "BriefDescription": "Multi-socket cacheline Directory update from A to S", 368 "BriefDescription": "Multi-socket cacheline Directory update from/to Any state", 377 "BriefDescription": "Multi-socket cacheline Directory Updates", 390 "BriefDescription": "Multi-socket cacheline Directory Updates", [all …]
|
| H A D | uncore-interconnect.json | 31 "BriefDescription": "FAF - request insert from TC.", 47 "BriefDescription": "FAF allocation -- sent to ADQ", 84 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 94 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 104 … "BriefDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 114 "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", 124 "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Requests", 134 … "BriefDescription": "Counts Timeouts - Set 0 : Fastpath Transfers From Primary to Secondary", 144 … "BriefDescription": "Counts Timeouts - Set 0 : Prefetch Ack Hints From Primary to Secondary", 154 "BriefDescription": "Counts Timeouts - Set 0 : Slow path fwpf didn't find prefetch", [all …]
|
| /linux/drivers/isdn/mISDN/ |
| H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 obj-$(CONFIG_MISDN) += mISDN_core.o 7 obj-$(CONFIG_MISDN_DSP) += mISDN_dsp.o 8 obj-$(CONFIG_MISDN_L1OIP) += l1oip.o 10 # multi objects 12 mISDN_core-objs := core.o fsm.o socket.o clock.o hwchannel.o stack.o layer1.o layer2.o tei.o timerd… 13 mISDN_dsp-objs := dsp_core.o dsp_cmx.o dsp_tones.o dsp_dtmf.o dsp_audio.o dsp_blowfish.o dsp_pipeli… 14 l1oip-objs := l1oip_core.o l1oip_codec.o
|
| H A D | l1oip_core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 Value 3 = BRI (multi channel frame, not supported yet) 16 Value 4 = PRI (multi channel frame, not supported yet) 17 A multi channel frame reduces overhead to a single frame for all 18 b-channels, but increases delay. 19 (NOTE: Multi channel frames are not implemented yet.) 28 0 = we use a-Law (default) 29 1 = we use u-Law 32 limitation of B-channels to control bandwidth (1...126) 34 PRI: 1-30, 31-126 (126, because dchannel ist not counted here) [all …]
|
| /linux/drivers/pcmcia/ |
| H A D | ds.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ds.c -- 16-bit PCMCIA core support 10 * (C) 2003 - 2010 Dominik Brodowski 23 #include <linux/dma-mapping.h> 45 const struct pcmcia_device_id *did = p_drv->id_table; in pcmcia_check_driver() 49 if (!p_drv->probe || !p_drv->remove) in pcmcia_check_driver() 51 "function\n", p_drv->name); in pcmcia_check_driver() 53 while (did && did->match_flags) { in pcmcia_check_driver() 55 if (!did->prod_id[i]) in pcmcia_check_driver() 58 hash = crc32(0, did->prod_id[i], strlen(did->prod_id[i])); in pcmcia_check_driver() [all …]
|
| /linux/tools/usb/ |
| H A D | p9_fwd.py | 2 # SPDX-License-Identifier: GPL-2.0 7 import socket 23 return f"{dev.bus}-{dev_path}" 69 # we have to detach the usb-storage driver from multi gadget since 99 # create and connect socket 100 self.s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 124 data += self.ep_in.read(size - len(data)) 138 data += self.s.recv(size - len(data)) 158 if (time.monotonic() - self.stats_logged) < interval: 167 with open(f"/sys/bus/usb/devices/{dev.bus}-{dev.address}/{name}") as f: [all …]
|
| /linux/include/uapi/linux/ |
| H A D | psp-dbc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ 24 * struct dbc_user_nonce - Nonce exchange structure (input/output). 27 * 1: authentication: PSP will return multi-use nonce. 39 * struct dbc_user_setuid - UID exchange structure (input). 49 * struct dbc_user_param - Parameter exchange structure (input/output). 53 * - When sending a message this is to be created by software 55 * - For interpreting results, this signature is updated by the 70 * -EINVAL: invalid input 71 * -E2BIG: excess data passed 72 * -EFAULT: failed to copy to/from userspace [all …]
|
| H A D | if_xdp.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * if_xdp: XDP socket user-space interface 17 #define XDP_COPY (1 << 1) /* Force copy-mode */ 18 #define XDP_ZEROCOPY (1 << 2) /* Force zero-copy mode */ 30 * multi-buffer XDP frames into multiple Rx descriptors. Without this set 44 /* Request to reserve tx_metadata_len bytes of per-chunk metadata. 73 /* XDP socket options */ 118 ((1ULL << XSK_UNALIGNED_BUF_OFFSET_SHIFT) - 1) 132 * transmission at a pre-determined time called launch time. The value of 148 /* Offset from desc->addr where checksumming should start. */
|
| /linux/Documentation/virt/uml/ |
| H A D | user_mode_linux_howto_v2.rst | 1 .. SPDX-License-Identifier: GPL-2.0 25 Most OSes today have built-in support for a number of "fake" 27 User Mode Linux takes this concept to the ultimate extreme - there 30 concepts which map onto something provided by the host - files, sockets, 36 The UML kernel is just a process running on Linux - same as any other 57 * You can run a usermode kernel as a non-root user (you may need to 99 This is extremely easy on Debian - you can do it using debootstrap. It is 100 also easy on OpenWRT - the build process can build UML images. All other 101 distros - YMMV. 114 or by running ``tune2fs -o discard /dev/ubdXX`` will request UML to [all …]
|
| /linux/tools/include/uapi/linux/ |
| H A D | if_xdp.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * if_xdp: XDP socket user-space interface 17 #define XDP_COPY (1 << 1) /* Force copy-mode */ 18 #define XDP_ZEROCOPY (1 << 2) /* Force zero-copy mode */ 30 * multi-buffer XDP frames into multiple Rx descriptors. Without this set 44 /* Request to reserve tx_metadata_len bytes of per-chunk metadata. 73 /* XDP socket options */ 118 ((1ULL << XSK_UNALIGNED_BUF_OFFSET_SHIFT) - 1) 132 * transmission at a pre-determined time called launch time. The value of 148 /* Offset from desc->addr where checksumming should start. */
|
| /linux/drivers/eisa/ |
| H A D | eisa.ids | 6 # Marc Zyngier <maz@wild-wind.fr.eu.org> 10 ABP0510 "Advansys ABP-510 ISA SCSI Host Adapter" 11 ABP0540 "Advansys ABP-540/542 ISA SCSI Host Adapter" 12 ABP7401 "AdvanSys ABP-740/742 EISA Single Channel SCSI Host Adapter" 13 ABP7501 "AdvanSys ABP-750/752 EISA Dual Channel SCSI Host Adapter" 14 ACC1200 "ACCTON EtherCombo-32 Ethernet Adapter" 15 ACC120A "ACCTON EtherCombo-32 Ethernet Adapter" 25 ACE7010 "ACME Multi-Function Board" 39 ACR1711 "AcerFrame 1000 486/33 SYSTEM-2" 41 ACR3211 "AcerFrame 3000MP 486 SYSTEM-1" [all …]
|
| /linux/tools/testing/ktest/examples/ |
| H A D | vmware.conf | 5 # ------------- 6 # - Edit the Virtual Machine ("Edit virtual machine settings") 7 # - Add a Serial Port 8 # - You almost certainly want it set "Connect at power on" 9 # - Select "Use socket (named pipe)" 10 # - Select a name that you'll recognize, like 'ktestserialpipe' 11 # - From: Server 12 # - To: A Virtual Machine 13 # - Save 14 # - Make sure you note the name, it will be in the base directory of the [all …]
|
| /linux/Documentation/arch/x86/ |
| H A D | topology.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 The architecture-agnostic topology definitions are in 12 Documentation/admin-guide/cputopology.rst. This file holds x86-specific 17 Needless to say, code should use the generic functions - this file is *only* 27 socket has no relevance to software. It's an electromechanical component. In 28 the past a socket always contained a single package (see below), but with the 29 advent of Multi Chip Modules (MCM) a socket can hold more than one package. So 35 - packages 36 - cores 37 - threads [all …]
|