Home
last modified time | relevance | path

Searched +full:add +full:- +full:vdpa (Results 1 – 15 of 15) sorted by relevance

/linux-6.8/Documentation/networking/device_drivers/ethernet/amd/
Dpds_vdpa.rst1 .. SPDX-License-Identifier: GPL-2.0+
2 .. note: can be edited and viewed with /usr/bin/formiko-vim
5 PCI vDPA driver for the AMD/Pensando(R) DSC adapter family
8 AMD/Pensando vDPA VF Device Driver
16 a vDPA device for use by the virtio network stack. It is used with
17 the Pensando Virtual Function devices that offer vDPA and virtio queue
25 depends on the ``pds_core`` driver to create and enable SR-IOV Virtual
26 Function devices. After the VFs are enabled, we enable the vDPA service
31 .. code-block:: bash
36 modprobe vdpa
[all …]
/linux-6.8/include/linux/
Dvdpa.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 * struct vdpa_callback - vDPA callback definition.
17 * When it is set, the vDPA driver must guarantee that
19 * the callback. Then vDPA parent can signal it directly
29 * struct vdpa_notification_area - vDPA notification area
39 * struct vdpa_vq_state_split - vDPA split virtqueue state
47 * struct vdpa_vq_state_packed - vDPA packed virtqueue state
70 * struct vdpa_device - representation of a vDPA device
103 * struct vdpa_iova_range - the IOVA range support by the device
123 * struct vdpa_map_file - file area for device memory mapping
[all …]
/linux-6.8/Documentation/userspace-api/
Dvduse.rst2 VDUSE - "vDPA Device in Userspace"
5 vDPA (virtio data path acceleration) device is a device that uses a
7 specific control path. vDPA devices can be both physically located on
9 possible to implement software-emulated vDPA devices in userspace. And
10 to make the device emulation more secure, the emulated vDPA device's
21 ----------------------------
31 messages will arrive while attaching the VDUSE instance to vDPA bus.
34 instance to vDPA bus.
39 instance from vDPA bus.
46 The netlink messages can be sent via vdpa tool in iproute2 or use the
[all …]
Diommufd.rst1 .. SPDX-License-Identifier: GPL-2.0+
20 I/O page tables for all IOMMUs, with room in the design to add non-generic
31 --------------------
35 - IOMMUFD_OBJ_IOAS, representing an I/O address space (IOAS), allowing map/unmap
41 - IOMMUFD_OBJ_DEVICE, representing a device that is bound to iommufd by an
44 - IOMMUFD_OBJ_HW_PAGETABLE, representing an actual hardware I/O page table
50 All user-visible objects are destroyed via the IOMMU_DESTROY uAPI.
52 The diagram below shows relationship between user-visible objects and kernel
68 | | IOAS |<--| |<------| | |
82 |------------>|iommu_domain| |struct device|
[all …]
/linux-6.8/drivers/vdpa/
Dvdpa.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * vDPA bus.
13 #include <linux/vdpa.h>
14 #include <uapi/linux/vdpa.h>
20 /* A global mutex that protects vdpa management device and device level operations. */
26 down_write(&vdev->cf_lock); in vdpa_set_status()
27 vdev->config->set_status(vdev, status); in vdpa_set_status()
28 up_write(&vdev->cf_lock); in vdpa_set_status()
37 struct vdpa_driver *drv = drv_to_vdpa(vdev->dev.driver); in vdpa_dev_probe()
38 const struct vdpa_config_ops *ops = vdev->config; in vdpa_dev_probe()
[all …]
/linux-6.8/include/uapi/linux/
Dvhost_types.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 /* Userspace interface for in-kernel virtio accelerators. */
26 int fd; /* Pass -1 to unbind from file. */
132 * Used by QEMU userspace to ensure a consistent vhost-scsi ABI.
134 * ABI Rev 0: July 2012 version starting point for v3.6-rc merge candidate +
135 * RFC-v2 vhost-scsi userspace. Add GET_ABI_VERSION ioctl usage
157 /* vhost vdpa IOVA range
158 * @first: First address that can be mapped by vhost-vDPA
159 * @last: Last address that can be mapped by vhost-vDPA
169 /* vhost-net should add virtio_net_hdr for RX, and strip for TX packets. */
/linux-6.8/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
Dkconfig.rst1 .. SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
19 | This will provide the ability to add representors of mlx5 uplink and VF
34 | built-in into mlx5_core.ko.
39 …g (DCB) Support <https://enterprise-support.nvidia.com/s/article/howto-auto-config-pfc-and-ets-on-
53 | Flow-based classifiers, such as those registered through
54 | `tc-flower(8)`, are processed by the device, rather than the
61 | Enables Hardware-accelerated receive flow steering (arfs) support, and ntuple filtering.
62 | https://enterprise-support.nvidia.com/s/article/howto-configure-arfs-on-connectx-4
67 | Enables :ref:`IPSec XFRM cryptography-offload acceleration <xfrm_device>`.
72 | Build support for MACsec cryptography-offload acceleration in the NIC.
[all …]
Dswitchdev.rst1 .. SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
19 - Change device to switchdev mode::
23 - Attach mlx5 switchdev representor 'enp8s0f0' to bridge netdev 'bridge1'::
28 -----
32 - VLAN filtering (including multiple VLANs per port)::
35 $ bridge vlan add dev enp8s0f0 vid 2-3
37 - VLAN push on bridge ingress::
39 $ bridge vlan add dev enp8s0f0 vid 3 pvid
41 - VLAN pop on bridge egress::
43 $ bridge vlan add dev enp8s0f0 vid 3 untagged
[all …]
/linux-6.8/Documentation/networking/devlink/
Ddevlink-params.rst1 .. SPDX-License-Identifier: GPL-2.0
8 level device functionality. Since devlink can operate at the device-wide
13 across multiple drivers. Each driver is also free to add their own
22 .. list-table:: Possible configuration modes
25 * - Name
26 - Description
27 * - ``runtime``
28 - set while the driver is running, and takes effect immediately. No
30 * - ``driverinit``
31 - applied while the driver initializes. Requires the user to restart
[all …]
/linux-6.8/Documentation/networking/
Drepresentors.rst1 .. SPDX-License-Identifier: GPL-2.0
8 used to control internal switching on SmartNICs. For the closely-related port
9 representors on physical (multi-port) switches, see
13 ----------
15 Since the mid-2010s, network cards have started offering more complex
16 virtualisation capabilities than the legacy SR-IOV approach (with its simple
17 MAC/VLAN-based switching model) can support. This led to a desire to offload
18 software-defined networks (such as OpenVSwitch) to these NICs to specify the
23 virtual switches and IOV devices. Just as each physical port of a Linux-
41 -----------
[all …]
/linux-6.8/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
5 #include <linux/vdpa.h>
9 #include <uapi/linux/vdpa.h>
25 MODULE_DESCRIPTION("Mellanox VDPA driver");
47 #define MLX5_FEATURE(_mvdev, _feature) (!!((_mvdev)->actual_features & BIT_ULL(_feature)))
137 if (!(mvdev->actual_features & BIT_ULL(VIRTIO_NET_F_MQ))) { in is_index_valid()
138 if (!(mvdev->actual_features & BIT_ULL(VIRTIO_NET_F_CTRL_VQ))) in is_index_valid()
144 return idx <= mvdev->max_idx; in is_index_valid()
168 /* TODO: cross-endian support */
172 (mvdev->actual_features & BIT_ULL(VIRTIO_F_VERSION_1)); in mlx5_vdpa_is_little_endian()
[all …]
/linux-6.8/drivers/vhost/
Dvhost.c1 // SPDX-License-Identifier: GPL-2.0-only
49 #define vhost_used_event(vq) ((__virtio16 __user *)&vq->avail->ring[vq->num])
50 #define vhost_avail_event(vq) ((__virtio16 __user *)&vq->used->ring[vq->num])
55 vq->user_be = !virtio_legacy_is_little_endian(); in vhost_disable_cross_endian()
60 vq->user_be = true; in vhost_enable_cross_endian_big()
65 vq->user_be = false; in vhost_enable_cross_endian_little()
72 if (vq->private_data) in vhost_set_vring_endian()
73 return -EBUSY; in vhost_set_vring_endian()
76 return -EFAULT; in vhost_set_vring_endian()
80 return -EINVAL; in vhost_set_vring_endian()
[all …]
/linux-6.8/
DMAINTAINERS5 ---------------------------------------------------
21 W: *Web-page* with status/info
23 B: URI for where to file *bugs*. A web-page with detailed bug
28 patches to the given subsystem. This is either an in-tree file,
29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst
46 N: [^a-z]tegra all files whose path contains tegra
64 ----------------
83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS)
85 L: linux-scsi@vger.kernel.org
88 F: drivers/scsi/3w-*
[all …]
/linux-6.8/drivers/net/ethernet/sfc/siena/
Dmcdi_pcol.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2009-2018 Solarflare Communications Inc.
5 * Copyright 2019-2020 Xilinx Inc.
13 /* Power-on reset state */
35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */
38 /* The rest of these are firmware-defined */
46 /* Values to be written to the per-port status dword in shared
71 * | | \--- Response
72 * | \------- Error
73 * \------------------------------ Resync (always set)
[all …]
/linux-6.8/drivers/net/ethernet/sfc/
Dmcdi_pcol.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright 2009-2018 Solarflare Communications Inc.
5 * Copyright 2019-2020 Xilinx Inc.
13 /* Power-on reset state */
35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */
38 /* The rest of these are firmware-defined */
46 /* Values to be written to the per-port status dword in shared
71 * | | \--- Response
72 * | \------- Error
73 * \------------------------------ Resync (always set)
[all …]