Home
last modified time | relevance | path

Searched refs:vdpa (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/vhost/
H A Dvdpa.c50 struct vdpa_device *vdpa; member
110 if (asid >= v->vdpa->nas) in vhost_vdpa_alloc_as()
137 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_reset_map() local
138 const struct vdpa_config_ops *ops = vdpa->config; in vhost_vdpa_reset_map()
141 ops->reset_map(vdpa, asid); in vhost_vdpa_reset_map()
171 const struct vdpa_config_ops *ops = v->vdpa->config; in handle_vq_kick()
173 ops->kick_vq(v->vdpa, vq - v->vqs); in handle_vq_kick()
201 const struct vdpa_config_ops *ops = v->vdpa->config; in vhost_vdpa_setup_vq_irq()
202 struct vdpa_device *vdpa = v->vdpa; in vhost_vdpa_setup_vq_irq() local
208 irq = ops->get_vq_irq(vdpa, qid); in vhost_vdpa_setup_vq_irq()
[all …]
H A DMakefile14 vhost_vdpa-y := vdpa.o
/linux/drivers/vdpa/alibaba/
H A Deni_vdpa.c39 struct vdpa_device vdpa; member
49 static struct eni_vdpa *vdpa_to_eni(struct vdpa_device *vdpa) in vdpa_to_eni() argument
51 return container_of(vdpa, struct eni_vdpa, vdpa); in vdpa_to_eni()
54 static struct virtio_pci_legacy_device *vdpa_to_ldev(struct vdpa_device *vdpa) in vdpa_to_ldev() argument
56 struct eni_vdpa *eni_vdpa = vdpa_to_eni(vdpa); in vdpa_to_ldev()
61 static u64 eni_vdpa_get_device_features(struct vdpa_device *vdpa) in eni_vdpa_get_device_features() argument
63 struct virtio_pci_legacy_device *ldev = vdpa_to_ldev(vdpa); in eni_vdpa_get_device_features()
72 static int eni_vdpa_set_driver_features(struct vdpa_device *vdpa, u64 features) in eni_vdpa_set_driver_features() argument
74 struct virtio_pci_legacy_device *ldev = vdpa_to_ldev(vdpa); in eni_vdpa_set_driver_features()
87 static u64 eni_vdpa_get_driver_features(struct vdpa_device *vdpa) in eni_vdpa_get_driver_features() argument
[all …]
/linux/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim_blk.c83 dev_dbg(&vdpasim->vdpa.dev, in vdpasim_blk_check_range()
89 dev_dbg(&vdpasim->vdpa.dev, in vdpasim_blk_check_range()
96 dev_dbg(&vdpasim->vdpa.dev, in vdpasim_blk_check_range()
129 dev_dbg(&vdpasim->vdpa.dev, "missing headers - out_iov: %u in_iov %u\n", in vdpasim_blk_handle_req()
135 dev_dbg(&vdpasim->vdpa.dev, "request in header too short\n"); in vdpasim_blk_handle_req()
149 dev_dbg(&vdpasim->vdpa.dev, "request out header too short\n"); in vdpasim_blk_handle_req()
162 dev_dbg(&vdpasim->vdpa.dev, in vdpasim_blk_handle_req()
183 dev_dbg(&vdpasim->vdpa.dev, in vdpasim_blk_handle_req()
206 dev_dbg(&vdpasim->vdpa.dev, in vdpasim_blk_handle_req()
219 dev_dbg(&vdpasim->vdpa.dev, in vdpasim_blk_handle_req()
[all …]
H A Dvdpa_sim_net.c420 struct vdpasim *vdpasim = container_of(dev, struct vdpasim, vdpa); in vdpasim_net_set_attr()
510 ret = _vdpa_register_device(&simdev->vdpa, VDPASIM_NET_VQ_NUM); in vdpasim_net_dev_add()
517 put_device(&simdev->vdpa.dev); in vdpasim_net_dev_add()
524 struct vdpasim *simdev = container_of(dev, struct vdpasim, vdpa); in vdpasim_net_dev_del()
526 _vdpa_unregister_device(&simdev->vdpa); in vdpasim_net_dev_del()
H A Dvdpa_sim.h58 struct vdpa_device vdpa; member
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-vdpa1 What: /sys/bus/vdpa/drivers_autoprobe
13 What: /sys/bus/vdpa/driver_probe
20 This can be useful when /sys/bus/vdpa/drivers_autoprobe is
23 What: /sys/bus/vdpa/drivers/.../bind
31 What: /sys/bus/vdpa/drivers/.../unbind
39 What: /sys/bus/vdpa/devices/.../driver_override
47 driver_override file (echo vhost-vdpa > driver_override) and may
/linux/Documentation/networking/device_drivers/ethernet/amd/
H A Dpds_vdpa.rst36 modprobe vdpa
48 PDS_VDPA_MGMT=`vdpa mgmtdev show | grep vDPA | head -1 | cut -d: -f1`
51 vdpa dev add name vdpa1 mgmtdev $PDS_VDPA_MGMT mac 00:11:22:33:44:55
53 # Set up an ethernet interface on the vdpa device
/linux/drivers/vdpa/pds/
H A Dcmds.c43 .vdpa.opcode = PDS_VDPA_CMD_RESET, in pds_vdpa_cmd_reset()
44 .vdpa.vdpa_index = pdsv->vdpa_index, in pds_vdpa_cmd_reset()
45 .vdpa.vf_id = cpu_to_le16(pdsv->vdpa_aux->vf_id), in pds_vdpa_cmd_reset()
50 err = pds_client_adminq_cmd(padev, &cmd, sizeof(cmd.vdpa), &comp, 0); in pds_vdpa_cmd_reset()
/linux/drivers/vdpa/ifcvf/
H A Difcvf_main.c354 return container_of(vdpa_dev, struct ifcvf_adapter, vdpa); in vdpa_to_adapter()
562 static u32 ifcvf_vdpa_get_vq_group(struct vdpa_device *vdpa, u16 idx) in ifcvf_vdpa_get_vq_group() argument
707 adapter = vdpa_alloc_device(struct ifcvf_adapter, vdpa, in ifcvf_vdpa_dev_add()
716 adapter->vdpa.dma_dev = &pdev->dev; in ifcvf_vdpa_dev_add()
717 adapter->vdpa.mdev = mdev; in ifcvf_vdpa_dev_add()
719 vdpa_dev = &adapter->vdpa; in ifcvf_vdpa_dev_add()
737 ret = _vdpa_register_device(&adapter->vdpa, vf->nr_vring); in ifcvf_vdpa_dev_add()
739 put_device(&adapter->vdpa.dev); in ifcvf_vdpa_dev_add()
H A Difcvf_base.h94 struct vdpa_device vdpa; member
/linux/drivers/vdpa/octeon_ep/
H A Doctep_vdpa_main.c23 struct vdpa_device vdpa; member
42 oct_vdpa = container_of(vdpa_dev, struct octep_vdpa, vdpa); in vdpa_to_octep_hw()
508 oct_vdpa = vdpa_alloc_device(struct octep_vdpa, vdpa, &pdev->dev, &octep_vdpa_ops, 1, 1, in octep_vdpa_dev_add()
511 dev_err(&pdev->dev, "Failed to allocate vDPA structure for octep vdpa device"); in octep_vdpa_dev_add()
516 oct_vdpa->vdpa.dma_dev = &pdev->dev; in octep_vdpa_dev_add()
517 oct_vdpa->vdpa.mdev = mdev; in octep_vdpa_dev_add()
519 vdpa_dev = &oct_vdpa->vdpa; in octep_vdpa_dev_add()
546 ret = dev_set_name(&vdpa_dev->dev, "vdpa%u", vdpa_dev->index); in get_device_ready_status()
548 ret = _vdpa_register_device(&oct_vdpa->vdpa, oct_hw->nr_vring);
556 put_device(&oct_vdpa->vdpa in octep_vdpa_setup_task()
[all...]
/linux/drivers/vdpa/mlx5/
H A DMakefile1 subdir-ccflags-y += -I$(srctree)/drivers/vdpa/mlx5/core
/linux/drivers/vdpa/
H A DMakefile2 obj-$(CONFIG_VDPA) += vdpa.o
H A DKconfig87 cat /sys/kernel/debug/mlx5/mlx5_core.sf.1/vdpa-0/rx/untagged/ucast/packets
88 cat /sys/kernel/debug/mlx5/mlx5_core.sf.1/vdpa-0/rx/untagged/mcast/bytes
/linux/drivers/vdpa/solidrun/
H A Dsnet_vdpa.h56 struct vdpa_device vdpa; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A DKconfig190 device can support RDMA, netdevice and vdpa device.
200 and vdpa device. It is similar to a SRIOV VF but it doesn't require
/linux/drivers/
H A DMakefile50 obj-$(CONFIG_VDPA) += vdpa/
H A DKconfig142 source "drivers/vdpa/Kconfig"
/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
H A Dswitchdev.rst68 mlx5 supports ETH,rdma and vdpa (vnet) auxiliary devices devlink params (see :ref:`Documentation/ne…
81 devices (netdev, rdma, vdpa, etc.) of the subfunction accesses only assigned
H A Dkconfig.rst125 | and vdpa device. It is similar to a SRIOV VF but it doesn't require
/linux/include/linux/pds/
H A Dpds_adminq.h1199 struct pds_vdpa_cmd vdpa; member
/linux/Documentation/userspace-api/
H A Dvduse.rst46 The netlink messages can be sent via vdpa tool in iproute2 or use the
/linux/
H A DMAINTAINERS11189 F: drivers/vdpa/ifcvf/
14134 F: drivers/vdpa/octeon_ep/
15086 F: drivers/vdpa/mlx5/
18493 F: drivers/vdpa/pds/
21915 F: drivers/vdpa/solidrun/
25102 F: Documentation/ABI/testing/sysfs-bus-vdpa
25109 F: drivers/vdpa/
25111 F: include/linux/vdpa.h