diff options
author | Alvaro Karsz <alvaro.karsz@solid-run.com> | 2023-05-02 15:10:48 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-06-27 16:47:08 +0200 |
commit | ef9da01c121120f89d89b2bdde59a23bf507a39f (patch) | |
tree | ba3405637b00220dc0923c8cc96f8d19bbc76a5b /drivers/vdpa/solidrun/snet_vdpa.h | |
parent | vdpa: solidrun: constify pointers to hwmon_channel_info (diff) | |
download | linux-ef9da01c121120f89d89b2bdde59a23bf507a39f.tar.xz linux-ef9da01c121120f89d89b2bdde59a23bf507a39f.zip |
vdpa/snet: implement the resume vDPA callback
The callback sends a resume command to the DPU through
the control mechanism.
Signed-off-by: Alvaro Karsz <alvaro.karsz@solid-run.com>
Message-Id: <20230502131048.61134-1-alvaro.karsz@solid-run.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/vdpa/solidrun/snet_vdpa.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vdpa/solidrun/snet_vdpa.h b/drivers/vdpa/solidrun/snet_vdpa.h index 3c78d4e7d485..36ac285835ea 100644 --- a/drivers/vdpa/solidrun/snet_vdpa.h +++ b/drivers/vdpa/solidrun/snet_vdpa.h @@ -204,5 +204,6 @@ void snet_ctrl_clear(struct snet *snet); int snet_destroy_dev(struct snet *snet); int snet_read_vq_state(struct snet *snet, u16 idx, struct vdpa_vq_state *state); int snet_suspend_dev(struct snet *snet); +int snet_resume_dev(struct snet *snet); #endif //_SNET_VDPA_H_ |