mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-25 00:52:45 -04:00
pds_vdpa: subscribe to the pds_core events
Register for the pds_core's notification events, primarily to find out when the FW has been reset so we can pass this on back up the chain. Signed-off-by: Shannon Nelson <shannon.nelson@amd.com> Acked-by: Jason Wang <jasowang@redhat.com> Message-Id: <20230519215632.12343-11-shannon.nelson@amd.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
committed by
Michael S. Tsirkin
parent
151cc834f3
commit
67f27b8b3a
@@ -40,6 +40,7 @@ struct pds_vdpa_device {
|
||||
u8 vdpa_index; /* rsvd for future subdevice use */
|
||||
u8 num_vqs; /* num vqs in use */
|
||||
struct vdpa_callback config_cb;
|
||||
struct notifier_block nb;
|
||||
};
|
||||
|
||||
#define PDS_VDPA_PACKED_INVERT_IDX 0x8000
|
||||
|
||||
Reference in New Issue
Block a user