1. 03 May, 2021 3 commits
    • Parav Pandit's avatar
      vdpa: Follow kdoc comment style · d0f9164e
      Parav Pandit authored
      Follow comment style mentioned in the Writing kernel-doc document [1].
      
      Following warnings are fixed.
      $ scripts/kernel-doc -v -none include/linux/vdpa.h
      include/linux/vdpa.h:11: warning: missing initial short description on line:
       * vDPA callback definition.
      include/linux/vdpa.h:11: info: Scanning doc for vDPA
      include/linux/vdpa.h:15: warning: cannot understand function prototype: 'struct vdpa_callback '
      include/linux/vdpa.h:21: warning: missing initial short description on line:
       * vDPA notification area
      include/linux/vdpa.h:21: info: Scanning doc for vDPA
      include/linux/vdpa.h:25: warning: cannot understand function prototype: 'struct vdpa_notification_area '
      include/linux/vdpa.h:31: warning: missing initial short description on line:
       * vDPA vq_state definition
      include/linux/vdpa.h:31: info: Scanning doc for vDPA
      include/linux/vdpa.h:34: warning: cannot understand function prototype: 'struct vdpa_vq_state '
      include/linux/vdpa.h:41: info: Scanning doc for vDPA device
      include/linux/vdpa.h:51: warning: cannot understand function prototype: 'struct vdpa_device '
      include/linux/vdpa.h:62: info: Scanning doc for vDPA IOVA range
      include/linux/vdpa.h:66: warning: cannot understand function prototype: 'struct vdpa_iova_range '
      include/linux/vdpa.h:72: info: Scanning doc for vDPA_config_ops
      include/linux/vdpa.h:203: warning: cannot understand function prototype: 'struct vdpa_config_ops '
      include/linux/vdpa.h:270: info: Scanning doc for vdpa_driver
      include/linux/vdpa.h:275: warning: cannot understand function prototype: 'struct vdpa_driver '
      include/linux/vdpa.h:347: info: Scanning doc for vdpa_mgmtdev_ops
      include/linux/vdpa.h:360: warning: cannot understand function prototype: 'struct vdpa_mgmtdev_ops '
      
      After this fix:
      
      scripts/kernel-doc -v -none include/linux/vdpa.h
      include/linux/vdpa.h:11: info: Scanning doc for struct vdpa_calllback
      include/linux/vdpa.h:21: info: Scanning doc for struct vdpa_notification_area
      include/linux/vdpa.h:31: info: Scanning doc for struct vdpa_vq_state
      include/linux/vdpa.h:41: info: Scanning doc for struct vdpa_device
      include/linux/vdpa.h:62: info: Scanning doc for struct vdpa_iova_range
      include/linux/vdpa.h:72: info: Scanning doc for struct vdpa_config_ops
      include/linux/vdpa.h:270: info: Scanning doc for struct vdpa_driver
      include/linux/vdpa.h:347: info: Scanning doc for struct vdpa_mgmtdev_ops
      
      [1] https://www.kernel.org/doc/html/latest/doc-guide/kernel-doc.htmlSigned-off-by: default avatarParav Pandit <parav@nvidia.com>
      Reviewed-by: default avatarEli Cohen <elic@nvidia.com>
      Link: https://lore.kernel.org/r/20210406170457.98481-2-parav@nvidia.comSigned-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      Acked-by: default avatarJason Wang <jasowang@redhat.com>
      Acked-by: default avatarJason Wang <jasowang@redhat.com>
      d0f9164e
    • Eli Cohen's avatar
      vdpa/mlx5: Enable user to add/delete vdpa device · 58926c8a
      Eli Cohen authored
      Allow to control vdpa device creation and destruction using the vdpa
      management tool.
      
      Examples:
      1. List the management devices
      $ vdpa mgmtdev show
      pci/0000:3b:00.1:
        supported_classes net
      
      2. Create vdpa instance
      $ vdpa dev add mgmtdev pci/0000:3b:00.1 name vdpa0
      
      3. Show vdpa devices
      $ vdpa dev show
      vdpa0: type network mgmtdev pci/0000:3b:00.1 vendor_id 5555 max_vqs 16 \
      max_vq_size 256
      Signed-off-by: default avatarEli Cohen <elic@nvidia.com>
      Reviewed-by: default avatarParav Pandit <parav@nvidia.com>
      Acked-by: default avatarJason Wang <jasowang@redhat.com>
      Link: https://lore.kernel.org/r/20210408091320.4600-1-elic@nvidia.comSigned-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      58926c8a
    • Jason Wang's avatar
      vdpa: introduce virtio pci driver · 64b9f64f
      Jason Wang authored
      This patch introduce a vDPA driver for virtio-pci device. It bridges
      the virtio-pci control command to the vDPA bus. This will be used for
      features prototyping and testing.
      
      Note that get/restore virtqueue state is not supported which needs
      extension on the virtio specification.
      Signed-off-by: default avatarJason Wang <jasowang@redhat.com>
      Link: https://lore.kernel.org/r/20210223061905.422659-4-jasowang@redhat.comSigned-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      64b9f64f
  2. 25 Apr, 2021 6 commits
  3. 24 Apr, 2021 3 commits
  4. 23 Apr, 2021 17 commits
  5. 22 Apr, 2021 8 commits
  6. 21 Apr, 2021 3 commits