git: 50f1a377da0e - main - qat: Add a prototype for icp_adf_is_dev_in_error.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Sep 2022 21:53:08 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=50f1a377da0e758399ee30d75323e846d4a0b913 commit 50f1a377da0e758399ee30d75323e846d4a0b913 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-09-02 21:50:09 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-09-02 21:51:39 +0000 qat: Add a prototype for icp_adf_is_dev_in_error. Reviewed by: MichalX.Gulbicki_intel.com, markj Sponsored by: DARPA Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D36330 --- sys/dev/qat/qat_api/qat_direct/include/icp_adf_accel_mgr.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/sys/dev/qat/qat_api/qat_direct/include/icp_adf_accel_mgr.h b/sys/dev/qat/qat_api/qat_direct/include/icp_adf_accel_mgr.h index 43d154433fe0..9fcc07a1ffd8 100644 --- a/sys/dev/qat/qat_api/qat_direct/include/icp_adf_accel_mgr.h +++ b/sys/dev/qat/qat_api/qat_direct/include/icp_adf_accel_mgr.h @@ -44,10 +44,20 @@ CpaStatus icp_adf_reset_dev(icp_accel_dev_t *accel_dev, * * Returns: * CPA_TRUE device is in reset state - * CPA_FALS device is not in reset state + * CPA_FALSE device is not in reset state */ CpaBoolean icp_adf_is_dev_in_reset(icp_accel_dev_t *accel_dev); +/* + * icp_adf_is_dev_in_error + * Check if device is in error state. + * + * Returns: + * CPA_TRUE device is in error state + * CPA_FALSE device is not in error state + */ +CpaBoolean icp_adf_is_dev_in_error(icp_accel_dev_t *accel_dev); + /* * icp_amgr_getNumInstances *