diff options
author | Shannon Nelson <shannon.nelson@amd.com> | 2023-04-19 10:04:25 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-04-21 08:29:13 +0100 |
commit | 10659034c622738bc1bfab8a76fc576c52d5acce (patch) | |
tree | 4009f76ef53a9fcb607b2d9038c5747dc5878f5d /include/linux/pds/pds_auxbus.h | |
parent | 40ced89445364baa8620e92fba5b3fff8d9742b9 (diff) |
pds_core: add the aux client API
Add the client API operations for running adminq commands.
The core registers the client with the FW, then the client
has a context for requesting adminq services. We expect
to add additional operations for other clients, including
requesting additional private adminqs and IRQs, but don't have
the need yet.
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/pds/pds_auxbus.h')
-rw-r--r-- | include/linux/pds/pds_auxbus.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/pds/pds_auxbus.h b/include/linux/pds/pds_auxbus.h index 493f75b1995e..214ef12302d0 100644 --- a/include/linux/pds/pds_auxbus.h +++ b/include/linux/pds/pds_auxbus.h @@ -11,4 +11,10 @@ struct pds_auxiliary_dev { struct pci_dev *vf_pdev; u16 client_id; }; + +int pds_client_adminq_cmd(struct pds_auxiliary_dev *padev, + union pds_core_adminq_cmd *req, + size_t req_len, + union pds_core_adminq_comp *resp, + u64 flags); #endif /* _PDSC_AUXBUS_H_ */ |