public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tom Zanussi <tom.zanussi@linux.intel.com>
To: Christophe JAILLET <christophe.jaillet@wanadoo.fr>,
	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, 07 Dec 2023 13:59:39 -0600	[thread overview]
Message-ID: <ae9e4984a50842e056363cbae73ea01a745aebb6.camel@linux.intel.com> (raw)
In-Reply-To: <4f53df8e-0957-44b6-b18e-e4362800e180@wanadoo.fr>

Hi Christophe,

On Thu, 2023-12-07 at 07:22 +0100, Christophe JAILLET wrote:
> 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.
> 

Good eye, thanks for pointing it out.

Tom

> > +               max_adecomp_delay_ns = time_diff;
> > +}
> 
> CJ


  reply	other threads:[~2023-12-07 19:59 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
2023-12-07 19:59     ` Tom Zanussi [this message]
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=ae9e4984a50842e056363cbae73ea01a745aebb6.camel@linux.intel.com \
    --to=tom.zanussi@linux.intel.com \
    --cc=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=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