summaryrefslogtreecommitdiffstats
path: root/include/linux/pds
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@amd.com>2023-05-19 14:56:24 -0700
committerMichael S. Tsirkin <mst@redhat.com>2023-06-27 10:47:08 -0400
commita16291b5bcbbd75586c8396555a0ee9fd4183372 (patch)
tree130f6927abe4aab55544e0f6e26f9cb2fd359639 /include/linux/pds
parent5d7d82d39eb4cab2c7d0d85baaee0fc45d2c7900 (diff)
downloadlinux-stable-a16291b5bcbbd75586c8396555a0ee9fd4183372.tar.gz
linux-stable-a16291b5bcbbd75586c8396555a0ee9fd4183372.tar.bz2
linux-stable-a16291b5bcbbd75586c8396555a0ee9fd4183372.zip
pds_vdpa: Add new vDPA driver for AMD/Pensando DSC
This is the initial auxiliary driver framework for a new vDPA device driver, an auxiliary_bus client of the pds_core driver. The pds_core driver supplies the PCI services for the VF device and for accessing the adminq in the PF device. This patch adds the very basics of registering for the auxiliary device and setting up debugfs entries. Signed-off-by: Shannon Nelson <shannon.nelson@amd.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20230519215632.12343-4-shannon.nelson@amd.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/linux/pds')
-rw-r--r--include/linux/pds/pds_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pds/pds_common.h b/include/linux/pds/pds_common.h
index 060331486d50..2a0d1669cfd0 100644
--- a/include/linux/pds/pds_common.h
+++ b/include/linux/pds/pds_common.h
@@ -39,6 +39,8 @@ enum pds_core_vif_types {
#define PDS_DEV_TYPE_RDMA_STR "RDMA"
#define PDS_DEV_TYPE_LM_STR "LM"
+#define PDS_VDPA_DEV_NAME PDS_CORE_DRV_NAME "." PDS_DEV_TYPE_VDPA_STR
+
#define PDS_CORE_IFNAMSIZ 16
/**