pds_vdpa: add vdpa config client commands
authorShannon Nelson <shannon.nelson@amd.com>
Fri, 19 May 2023 21:56:29 +0000 (14:56 -0700)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 27 Jun 2023 14:47:09 +0000 (10:47 -0400)
commitc16d5a412ed4e0e6e0b02f69c2c65187869659f2
treee0d2aec696999a4a654c74bf7ce90a5768786a60
parent94591894df81ce443b0696440b9198fda6615c45
pds_vdpa: add vdpa config client commands

These are the adminq commands that will be needed for
setting up and using the vDPA device.  There are a number
of commands defined in the FW's API, but by making use of
the FW's virtio BAR we only need a few of these commands
for vDPA support.

Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20230519215632.12343-9-shannon.nelson@amd.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/pds/Makefile
drivers/vdpa/pds/cmds.c [new file with mode: 0644]
drivers/vdpa/pds/cmds.h [new file with mode: 0644]
drivers/vdpa/pds/vdpa_dev.h