DMA Engine development
 help / color / mirror / Atom feed
From: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
To: Tom Zanussi <tom.zanussi@linux.intel.com>,
	herbert@gondor.apana.org.au, davem@davemloft.net,
	fenghua.yu@intel.com, vkoul@kernel.org
Cc: dave.jiang@intel.com, tony.luck@intel.com,
	wajdi.k.feghali@intel.com, james.guilford@intel.com,
	kanchana.p.sridhar@intel.com, vinodh.gopal@intel.com,
	giovanni.cabiddu@intel.com, pavel@ucw.cz,
	linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org,
	dmaengine@vger.kernel.org
Subject: Re: [PATCH v12 13/14] crypto: iaa - Add IAA Compression Accelerator stats
Date: Thu, 7 Dec 2023 07:22:12 +0100	[thread overview]
Message-ID: <4f53df8e-0957-44b6-b18e-e4362800e180@wanadoo.fr> (raw)
In-Reply-To: <20231205212530.285671-14-tom.zanussi@linux.intel.com>

Le 05/12/2023 à 22:25, Tom Zanussi a écrit :
> Add support for optional debugfs statistics support for the IAA
> Compression Accelerator.  This is enabled by the kernel config item:
> 
>    CRYPTO_DEV_IAA_CRYPTO_STATS
> 
> When enabled, the IAA crypto driver will generate statistics which can
> be accessed at /sys/kernel/debug/iaa-crypto/.
> 
> See Documentation/driver-api/crypto/iax/iax-crypto.rst for details.
> 
> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
> ---

> +void update_max_adecomp_delay_ns(u64 start_time_ns)
> +{
> +	u64 time_diff;
> +
> +	time_diff = ktime_get_ns() - start_time_ns;
> +
> +	if (time_diff > max_adecomp_delay_ns)
> +

Nit: unneeded NL.

> +		max_adecomp_delay_ns = time_diff;
> +}

CJ

  reply	other threads:[~2023-12-07  6:22 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-05 21:25 [PATCH v12 00/14] crypto: Add Intel Analytics Accelerator (IAA) crypto compression driver Tom Zanussi
2023-12-05 21:25 ` [PATCH v12 01/14] dmaengine: idxd: add external module driver support for dsa_bus_type Tom Zanussi
2023-12-05 21:25 ` [PATCH v12 02/14] dmaengine: idxd: Rename drv_enable/disable_wq to idxd_drv_enable/disable_wq, and export Tom Zanussi
2023-12-05 21:25 ` [PATCH v12 03/14] dmaengine: idxd: Export descriptor management functions Tom Zanussi
2023-12-05 21:25 ` [PATCH v12 04/14] dmaengine: idxd: Export wq resource " Tom Zanussi
2023-12-05 21:25 ` [PATCH v12 05/14] dmaengine: idxd: Add wq private data accessors Tom Zanussi
2023-12-05 21:25 ` [PATCH v12 06/14] dmaengine: idxd: add callback support for iaa crypto Tom Zanussi
2023-12-05 21:25 ` [PATCH v12 07/14] crypto: iaa - Add IAA Compression Accelerator Documentation Tom Zanussi
2023-12-05 21:25 ` [PATCH v12 08/14] crypto: iaa - Add Intel IAA Compression Accelerator crypto driver core Tom Zanussi
2023-12-05 21:25 ` [PATCH v12 09/14] crypto: iaa - Add per-cpu workqueue table with rebalancing Tom Zanussi
2023-12-05 21:25 ` [PATCH v12 10/14] crypto: iaa - Add compression mode management along with fixed mode Tom Zanussi
2023-12-05 21:25 ` [PATCH v12 11/14] crypto: iaa - Add support for deflate-iaa compression algorithm Tom Zanussi
2023-12-05 21:25 ` [PATCH v12 12/14] crypto: iaa - Add irq support for the crypto async interface Tom Zanussi
2023-12-05 21:25 ` [PATCH v12 13/14] crypto: iaa - Add IAA Compression Accelerator stats Tom Zanussi
2023-12-07  6:22   ` Christophe JAILLET [this message]
2023-12-07 19:59     ` Tom Zanussi
2023-12-05 21:25 ` [PATCH v12 14/14] dmaengine: idxd: Add support for device/wq defaults Tom Zanussi
2023-12-15  9:57 ` [PATCH v12 00/14] crypto: Add Intel Analytics Accelerator (IAA) crypto compression driver Herbert Xu
2023-12-15 16:55   ` Tom Zanussi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4f53df8e-0957-44b6-b18e-e4362800e180@wanadoo.fr \
    --to=christophe.jaillet@wanadoo.fr \
    --cc=dave.jiang@intel.com \
    --cc=davem@davemloft.net \
    --cc=dmaengine@vger.kernel.org \
    --cc=fenghua.yu@intel.com \
    --cc=giovanni.cabiddu@intel.com \
    --cc=herbert@gondor.apana.org.au \
    --cc=james.guilford@intel.com \
    --cc=kanchana.p.sridhar@intel.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=tom.zanussi@linux.intel.com \
    --cc=tony.luck@intel.com \
    --cc=vinodh.gopal@intel.com \
    --cc=vkoul@kernel.org \
    --cc=wajdi.k.feghali@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox