Date: Thu, 14 Jan 2021 16:46:19 GMT From: Mark Johnston <markj@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 6483fc224b1a - main - qat: Free counters during detach Message-ID: <202101141646.10EGkJKN023703@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=6483fc224b1a68528a65c16e9d8e55e2b5535ee9 commit 6483fc224b1a68528a65c16e9d8e55e2b5535ee9 Author: Mark Johnston <markj@FreeBSD.org> AuthorDate: 2021-01-14 16:41:28 +0000 Commit: Mark Johnston <markj@FreeBSD.org> CommitDate: 2021-01-14 16:41:28 +0000 qat: Free counters during detach MFC after: 3 days Sponsored by: Rubicon Communications, LLC (Netgate) --- sys/dev/qat/qat.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/dev/qat/qat.c b/sys/dev/qat/qat.c index 6f74ff3b4bc1..1e533d1bebcc 100644 --- a/sys/dev/qat/qat.c +++ b/sys/dev/qat/qat.c @@ -1611,6 +1611,11 @@ qat_crypto_deinit(struct qat_softc *sc) struct qat_crypto_bank *qcb; int bank; + counter_u64_free(sc->sc_sym_alloc_failures); + counter_u64_free(sc->sc_ring_full_restarts); + counter_u64_free(sc->sc_gcm_aad_updates); + counter_u64_free(sc->sc_gcm_aad_restarts); + if (qcy->qcy_banks != NULL) { for (bank = 0; bank < qcy->qcy_num_banks; bank++) { qcb = &qcy->qcy_banks[bank];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101141646.10EGkJKN023703>