From nobody Fri Sep 02 21:53:08 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MKBVX5q15z4bQK6; Fri, 2 Sep 2022 21:53:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MKBVX49WNz431K; Fri, 2 Sep 2022 21:53:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662155588; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=G20m2RR79nBRpufZLOm/ZUX5ahrsHtaeF/+taAX6SXo=; b=hmnfKkG4bVtpZ9hbkubl3hLGL/CN7pMl0PnLMLwwKxFVr1SxZsBC+eHwEz9956fZ7SYwcM spbi5SV/9oDJ6E7urqafGuiWz7FS2k9E6f8whZEvpenkgsiBOUGEClANNlN6JJJwZqNF3R A8nj0hsP3zNRN2RiwdHM5kldNygPY3A/qpwdUjizxzV0d6IvLYmvCi0/uwEXnbHIzOSuiX U64395yaksEEHHdfFxcx2pAMitSePI50IRn28YgMjDSfnOVS1dx1WTmGhUzFLwhexgiHRO YI7HD1bKbxSvz7xIDL8oUnvbwJdeNKstzvLH1FQ3IRmXMcFqZbplDqS3vpGRgQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MKBVX3Dtnzx9F; Fri, 2 Sep 2022 21:53:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 282Lr8MY041041; Fri, 2 Sep 2022 21:53:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 282Lr84F041040; Fri, 2 Sep 2022 21:53:08 GMT (envelope-from git) Date: Fri, 2 Sep 2022 21:53:08 GMT Message-Id: <202209022153.282Lr84F041040@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 50f1a377da0e - main - qat: Add a prototype for icp_adf_is_dev_in_error. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 50f1a377da0e758399ee30d75323e846d4a0b913 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662155588; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=G20m2RR79nBRpufZLOm/ZUX5ahrsHtaeF/+taAX6SXo=; b=bJa2KJunyHw1aMR4v2fTlZKCB0coT59oiv94UAF9E5jeaV6WWpV6yZYPz1zYrMV9/SMZwX LxsxfUsD2gEXSB+WU3jVzSfWIgr7oJcH3KYHhGpJzVTSLIA5WVG0+Dxxd/eS4rTEAOBRc8 4kA1wjYU8VpVZsElpRJnDI/x0PtLQNQ3ZSlRTXJOpgMKkh8X9W2nMfe/KbOvbZ+vpCCQVh G19sR00GM3JxRjo2aSpF7uKZOl/nG8MWLdjfMOO6GzvMv+g50gaEd3jBoIJ8aSui/PewXj xQEl+qejpimrw1Du2wsiPoc+sc2tsOq3A9J7Jd10asDXniSUGKNXo8ROuXM+oA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662155588; a=rsa-sha256; cv=none; b=RMjv85iJd0R/WBuusoHa3YsECzWpwtb/rJCgO9JmewNKSvKCpiXMYl8MJpF+DgKKcu38AF 8niUMxvNVmmtgEe63LVzXgW3JKpTUM95lj7BI3LxudzhU2Do3X7vwJ0Zr7rs6QzBOEu/p6 yJ3B+vqk5dpAJMmjnZZOchzAajOLvVx7pO56SOjF2zGSIMUmCKCX67lYS7xp4+P1H9YU/7 6DlMI2u0d6M/Hsvnnn5hkwMI0mYTP/FN/a2Ctm1NLe+8wkSUdZc3+SsTvPpCufnpYrugRM SQ2Z2l9WwkUuPoVBU3fLtTp6jc86V9EvNbgrYufWxYDqEIHUN3eyDmRBJujNAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=50f1a377da0e758399ee30d75323e846d4a0b913 commit 50f1a377da0e758399ee30d75323e846d4a0b913 Author: John Baldwin AuthorDate: 2022-09-02 21:50:09 +0000 Commit: John Baldwin 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 *