Re: [PATCH v12 13/14] crypto: iaa - Add IAA Compression Accelerator stats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
> > ---
> 
> > +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






[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux