summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSi-Wei Liu <si-wei.liu@oracle.com>2022-10-10 10:27:03 -0700
committerMichael S. Tsirkin <mst@redhat.com>2022-12-28 05:09:46 -0500
commitb9e05399d9273c8c066e73db1e6e85364003030c (patch)
tree9ab70486e37488c4ec7d447a488289fc7de4830d /include
parent1b929c02afd37871d5afb9d498426f83432e71c2 (diff)
downloadlinux-b9e05399d9273c8c066e73db1e6e85364003030c.tar.bz2
vdpa: merge functionally duplicated dev_features attributes
We can merge VDPA_ATTR_VDPA_DEV_SUPPORTED_FEATURES with VDPA_ATTR_DEV_FEATURES which is functionally equivalent. While at it, tweak the comment in header file to make user provioned device features distinguished from those supported by the parent mgmtdev device: the former of which can be inherited as a whole from the latter, or can be a subset of the latter if explicitly specified. Signed-off-by: Si-Wei Liu <si-wei.liu@oracle.com> Message-Id: <1665422823-18364-1-git-send-email-si-wei.liu@oracle.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/vdpa.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/uapi/linux/vdpa.h b/include/uapi/linux/vdpa.h
index 9bd79235c875..54b649ab0f22 100644
--- a/include/uapi/linux/vdpa.h
+++ b/include/uapi/linux/vdpa.h
@@ -53,11 +53,9 @@ enum vdpa_attr {
VDPA_ATTR_DEV_VENDOR_ATTR_NAME, /* string */
VDPA_ATTR_DEV_VENDOR_ATTR_VALUE, /* u64 */
+ /* virtio features that are provisioned to the vDPA device */
VDPA_ATTR_DEV_FEATURES, /* u64 */
- /* virtio features that are supported by the vDPA device */
- VDPA_ATTR_VDPA_DEV_SUPPORTED_FEATURES, /* u64 */
-
/* new attributes must be added above here */
VDPA_ATTR_MAX,
};