| /linux/drivers/block/rnbd/ |
| H A D | README | 6 ------------ 9 (client and server) that allow for remote access of a block device on 10 the server over RTRS protocol using the RDMA (InfiniBand, RoCE, iWARP) 12 on the client side as local block devices. 14 I/O is transferred between client and server by the RTRS transport 19 ------------ 24 ----------- 26 Server side: 29 Client side: 32 /sys/devices/virtual/rnbd-client/ctl/map_device [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-or-later 15 RTRS protocol from a target system where RNBD server is running. 20 tristate "RDMA Network Block Device driver server" 24 RNBD server is the server side of RNBD using rdma transport. 26 RNBD server allows for exporting local block devices to a remote client
|
| /linux/drivers/infiniband/ulp/rtrs/ |
| H A D | README | 7 between client and server machines using RDMA (InfiniBand, RoCE, iWarp) 11 possibility to either write data from an sg list to the remote side 12 or to request ("read") data transfer from the remote side into a given 15 RTRS provides I/O fail-over and load-balancing capabilities by using 17 Documentation/ABI/testing/sysfs-class-rtrs-client). 26 -------- 27 An established connection between a client and a server is called rtrs 29 server side for a given client for rdma transfer. A session 31 between client and server. Those are used for load balancing and failover. 36 chunks reserved for him on the server side. Their number, size and addresses [all …]
|
| H A D | rtrs-pri.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (c) 2014 - 2018 ProfitBricks GmbH. All rights reserved. 6 * Copyright (c) 2018 - 2019 1&1 IONOS Cloud GmbH. All rights reserved. 7 * Copyright (c) 2019 - 2020 1&1 IONOS SE. All rights reserved. 29 * So the maximum sess_queue_depth is 65535 (2^16 - 1) in theory 38 MAX_IMM_TYPE_MASK = ((1 << MAX_IMM_TYPE_BITS) - 1), 40 MAX_IMM_PAYL_MASK = ((1 << MAX_IMM_PAYL_BITS) - 1), 44 RTRS_IO_REQ_IMM = 0, /* client to server */ 45 RTRS_IO_RSP_IMM = 1, /* server to client */ 46 RTRS_IO_RSP_W_INV_IMM = 2, /* server to client */ [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | cgroup_tcp_skb.c | 1 // SPDX-License-Identifier: GPL-2.0 29 if (skb->protocol != bpf_htons(ETH_P_IPV6)) in needed_tcp_pkt() 40 if (tcph->source != bpf_htons(g_sock_port) && in needed_tcp_pkt() 41 tcph->dest != bpf_htons(g_sock_port)) in needed_tcp_pkt() 51 if (tcph->fin || !tcph->syn || !tcph->ack) in egress_accept() 65 if (!tcph->syn || tcph->fin || tcph->ack) in ingress_accept() 71 if (tcph->fin || tcph->syn || !tcph->ack) in ingress_accept() 87 if (!tcph->syn || tcph->fin || tcph->ack) in egress_connect() 100 if (tcph->fin || !tcph->syn || !tcph->ack) in ingress_connect() 117 if (tcph->fin || tcph->syn || !tcph->ack) in egress_close_remote() [all …]
|
| /linux/Documentation/networking/ |
| H A D | snmp_counter.rst | 17 .. _RFC1213 ipInReceives: https://tools.ietf.org/html/rfc1213#page-26 30 .. _RFC1213 ipInDelivers: https://tools.ietf.org/html/rfc1213#page-28 41 .. _RFC1213 ipOutRequests: https://tools.ietf.org/html/rfc1213#page-28 60 .. _Explicit Congestion Notification: https://tools.ietf.org/html/rfc3168#page-6 73 .. _RFC1213 ipInHdrErrors: https://tools.ietf.org/html/rfc1213#page-27 81 .. _RFC1213 ipInAddrErrors: https://tools.ietf.org/html/rfc1213#page-27 98 .. _RFC1213 ipInUnknownProtos: https://tools.ietf.org/html/rfc1213#page-27 111 .. _RFC1213 ipInDiscards: https://tools.ietf.org/html/rfc1213#page-28 118 .. _RFC1213 ipOutDiscards: https://tools.ietf.org/html/rfc1213#page-28 125 .. _RFC1213 ipOutNoRoutes: https://tools.ietf.org/html/rfc1213#page-29 [all …]
|
| /linux/tools/usb/usbip/ |
| H A D | README | 2 # README for usbip-utils 5 # 2005-2008 Takahiro Hirofuchi 8 USB/IP protocol allows to pass USB device from server to client over the 9 network. Server is a machine which provides (shares) a USB device. Client is 10 a machine which uses USB device provided by server over the network. 11 The USB device may be either physical device connected to a server or 12 software entity created on a server using USB gadget subsystem. 15 - usbip-vhci 16 A client side kerne [all...] |
| /linux/drivers/char/tpm/ |
| H A D | tpm_vtpm_proxy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Maintained by: <tpmdd-devel@lists.sourceforge.net> 58 * Functions related to 'server side' 62 * vtpm_proxy_fops_read - Read TPM commands on 'server side' 75 struct proxy_dev *proxy_dev = filp->private_data; in vtpm_proxy_fops_read() 79 sig = wait_event_interruptible(proxy_dev->wq, in vtpm_proxy_fops_read() 80 proxy_dev->req_len != 0 || in vtpm_proxy_fops_read() 81 !(proxy_dev->state & STATE_OPENED_FLAG)); in vtpm_proxy_fops_read() 83 return -EINTR; in vtpm_proxy_fops_read() 85 mutex_lock(&proxy_dev->buf_lock); in vtpm_proxy_fops_read() [all …]
|
| /linux/tools/net/sunrpc/xdrgen/ |
| H A D | xdrgen | 9 __license__ = "GPL-2.0 only" 29 def main() -> int: 30 """Parse command-line options""" 37 License GPLv2: <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt> 42 "--version", 54 "--annotate", 60 "- [all...] |
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-rnbd-client | 1 What: /sys/class/rnbd-client 5 Description: Provide information about RNBD-client. 6 All sysfs files that are not read-only provide the usage information on read: 10 # cat /sys/class/rnbd-client/ctl/map_device 13 > [path=<[srcaddr,]dstaddr>] device_path=<full path on remote side> 18 What: /sys/class/rnbd-client/ctl/map_device 26 device_path=<full path on remote side> 33 a given session on the client and on the server. 34 I.e. "clt_hostname-srv_hostname" could be a natural choice. 37 describes a connection between the client and the server by [all …]
|
| H A D | sysfs-class-rnbd-server | 1 What: /sys/class/rnbd-server 5 Description: provide information about RNBD-server. 7 What: /sys/class/rnbd-server/ctl/ 12 block device is created under /sys/class/rnbd-server/ctl/devices/. 14 What: /sys/class/rnbd-server/ctl/devices/<device_name>/block_dev 21 block_dev -> ../../../../class/block/ram0 23 What: /sys/class/rnbd-server/ctl/devices/<device_name>/sessions/ 30 /sys/class/rnbd-server/ctl/devices/<device_name>/sessions/<session-name>/ 34 What: /sys/class/rnbd-server/ctl/devices/<device_name>/sessions/<session-name>/read_only 38 Description: Contains '1' if device is mapped read-only, otherwise '0'. [all …]
|
| H A D | sysfs-class-rtrs-server | 1 What: /sys/class/rtrs-server 5 Description: When a user of RTRS API creates a new session on a client side, a 8 What: /sys/class/rtrs-server/<session-name>/paths/ 12 Description: When new path is created by writing to "add_path" entry on client side, 14 on server. 16 What: /sys/class/rtrs-server/<session-name>/paths/<src@dst>/disconnect 21 Operations is non-blocking and returns control immediately to the caller. 23 What: /sys/class/rtrs-server/<session-name>/paths/<src@dst>/hca_name 29 What: /sys/class/rtrs-server/<session-name>/paths/<src@dst>/hca_port 35 What: /sys/class/rtrs-server/<session-name>/paths/<src@dst>/src_addr [all …]
|
| /linux/tools/net/sunrpc/xdrgen/subcmds/ |
| H A D | source.py | 33 def emit_source_decoder(node: _XdrAst, language: str, peer: str) -> None: 52 def emit_source_encoder(node: _XdrAst, language: str, peer: str) -> None: 71 def generate_server_source(filename: str, root: Specification, language: str) -> None: 72 """Generate server-side source code""" 74 gen = XdrSourceTopGenerator(language, "server") 79 passthru_gen = XdrPassthruGenerator(language, "server") 82 emit_source_decoder(definition.value, language, "server") 85 emit_source_encoder(definition.value, language, "server") 88 def generate_client_source(filename: str, root: Specification, language: str) -> None: 89 """Generate client-side source code""" [all …]
|
| /linux/tools/testing/vsock/ |
| H A D | vsock_diag_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * vsock_diag_test - vsock_diag.ko test suite 29 /* Per-socket status */ 96 print_vsock_addr(fp, st->msg.vdiag_src_cid, st->msg.vdiag_src_port); in print_vsock_stat() 98 print_vsock_addr(fp, st->msg.vdiag_dst_cid, st->msg.vdiag_dst_port); in print_vsock_stat() 100 sock_type_str(st->msg.vdiag_type), in print_vsock_stat() 101 sock_state_str(st->msg.vdiag_state), in print_vsock_stat() 102 sock_shutdown_str(st->msg.vdiag_shutdown), in print_vsock_stat() 103 st->msg.vdiag_ino); in print_vsock_stat() 125 if (st->msg.vdiag_ino == stat.st_ino) in find_vsock_stat() [all …]
|
| H A D | vsock_uring_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 47 /* Middle element has both non-page aligned base and size. */ 69 fd = vsock_stream_connect(opts->peer_cid, opts->peer_port); in vsock_io_uring_client() 78 iovec = alloc_test_iovec(test_data->vecs, test_data->vecs_cnt); in vsock_io_uring_client() 83 if (io_uring_register_buffers(&ring, iovec, test_data->vecs_cnt)) in vsock_io_uring_client() 88 msg.msg_iovlen = test_data->vecs_cnt; in vsock_io_uring_client() 104 control_writeulong(iovec_hash_djb2(iovec, test_data->vecs_cnt)); in vsock_io_uring_client() 108 free_test_iovec(test_data->vecs, iovec, test_data->vecs_cnt); in vsock_io_uring_client() 123 fd = vsock_stream_accept(VMADDR_CID_ANY, opts->peer_port, NULL); in vsock_io_uring_server() 129 data_len = iovec_bytes(test_data->vecs, test_data->vecs_cnt); in vsock_io_uring_server() [all …]
|
| /linux/Documentation/networking/device_drivers/ethernet/microsoft/ |
| H A D | netvsc.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Hyper-V network driver 10 This driver is compatible with Windows Server 2012 R2, 2016 and 17 ---------------- 19 Hyper-V host version does. Windows Server 2016 and Azure 21 IPv6. Windows Server 2012 only supports checksum offload for TCP. 23 Receive Side Scaling 24 -------------------- 25 Hyper-V supports receive side scaling. For TCP & UDP, packets can 41 ethtool -N eth0 rx-flow-hash udp4 sdfn [all …]
|
| /linux/Documentation/filesystems/smb/ |
| H A D | smbdirect.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 SMB Direct - SMB3 over RDMA 7 This document describes how to set up the Linux SMB client and server to 16 SMB Direct on the Linux SMB client can be tested against KSMBD - a 17 kernel-space SMB server. 21 - Install an RDMA device. As long as the RDMA device driver is supported 25 - Install a kernel with SMB Direct support. The first kernel release to 26 support SMB Direct on both the client and server side is 5.15. Therefore, 29 - Install cifs-utils, which provides the `mount.cifs` command to mount SMB 32 - Configure the RDMA stack [all …]
|
| /linux/Documentation/security/tpm/ |
| H A D | tpm_vtpm_proxy.rst | 24 character device ``/dev/tpmX`` (with X=0,1,2...) and a 'server side' file 35 The result of the ioctl are the file descriptor for the 'server side' 47 .. kernel-doc:: include/uapi/linux/vtpm_proxy.h 49 .. kernel-doc:: drivers/char/tpm/tpm_vtpm_proxy.c
|
| /linux/tools/testing/selftests/rdma/ |
| H A D | rxe_rping_between_netns.sh | 5 VETH_A="veth-a" 6 VETH_B="veth-b" 15 # --- Cleanup Routine --- 22 modprobe -r rdma_rxe 2>/dev/null 26 # --- Prerequisite Checks --- 27 if [[ $EUID -ne 0 ]]; then 39 # --- Setup Network Topology --- 45 # Configure Namespace side (test1) 50 # Configure Host side 54 # --- RXE Link Creation --- [all …]
|
| /linux/Documentation/admin-guide/cifs/ |
| H A D | todo.rst | 21 are currently the only two server side copy mechanisms supported) 35 roundtrips to the server and improve performance. Various cases 52 i) Add support for tree connect contexts (see MS-SMB2) a new SMB3.1.1 protocol 55 j) Create UID mapping facility so server UIDs can be mapped on a per 56 mount or a per server basis to client UIDs or nobody if no mapping 62 directly from user space) Add tools to make setting various non-POSIX 64 in smb-info tool). 67 encrypted on the server is reported, but changing the attribute is not 78 move, and server network adapter changes. Currently only notifications by 79 the witness protocol for server move is supported by the Linux client. [all …]
|
| /linux/net/dccp/ |
| H A D | feat.c | |
| /linux/drivers/usb/usbip/ |
| H A D | usbip_common.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2003-2008 Takahiro Hirofuchi 4 * Copyright (C) 2015-2016 Samsung Electronics 47 return -EINVAL; in usbip_debug_store() 54 print_hex_dump(KERN_DEBUG, "usbip-core", DUMP_PREFIX_OFFSET, 16, 4, in usbip_dump_buffer() 88 struct device *dev = &udev->dev; in usbip_dump_usb_device() 92 udev->devnum, udev->devpath, usb_speed_string(udev->speed)); in usbip_dump_usb_device() 94 pr_debug("tt hub ttport %d\n", udev->ttport); in usbip_dump_usb_device() 103 pr_debug(" %2u", (udev->toggle[0] & (1 << i)) ? 1 : 0); in usbip_dump_usb_device() 108 pr_debug(" %2u", (udev->toggle[1] & (1 << i)) ? 1 : 0); in usbip_dump_usb_device() [all …]
|
| /linux/fs/lockd/ |
| H A D | lockd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 71 * Internal-use status codes, not to be placed on the wire. 80 * Lockd host handle (used both by the client and server personality). 93 h_server : 1, /* server side, not client side */ 98 u32 h_state; /* pseudo-state counter */ 118 * The largest string sm_addrbuf should hold is a full-size IPv6 address 120 * hold eight groups of colon-separated four-hex-digit numbers, a 143 return (struct sockaddr *)&host->h_addr; in nlm_addr() 148 return (struct sockaddr *)&host->h_srcaddr; in nlm_srcaddr() 152 * Map an fl_owner_t into a unique 32-bit "pid" [all …]
|
| /linux/tools/testing/selftests/net/packetdrill/ |
| H A D | tcp_inq_client.pkt | 1 // SPDX-License-Identifier: GPL-2.0 2 // Test TCP_INQ and TCP_CM_INQ on the client side. 4 --mss=1000 9 // Create a socket and set it to non-blocking. 14 // Connect to the server and enable TCP_INQ. 15 +0 connect(3, ..., ...) = -1 EINPROGRESS (Operation now in progress) 41 // Server sends more data and closes the connections.
|
| /linux/fs/smb/client/ |
| H A D | sess.c | 1 // SPDX-License-Identifier: LGPL-2.1 33 spin_lock(&ses->chan_lock); in is_ses_using_iface() 34 for (i = 0; i < ses->chan_count; i++) { in is_ses_using_iface() 35 if (ses->chans[i].iface == iface) { in is_ses_using_iface() 36 spin_unlock(&ses->chan_lock); in is_ses_using_iface() 40 spin_unlock(&ses->chan_lock); in is_ses_using_iface() 48 struct TCP_Server_Info *server) in cifs_ses_get_chan_index() argument 53 if (server && server->terminate) in cifs_ses_get_chan_index() 56 for (i = 0; i < ses->chan_count; i++) { in cifs_ses_get_chan_index() 57 if (ses->chans[i].server == server) in cifs_ses_get_chan_index() [all …]
|