mirror of
https://github.com/torvalds/linux
synced 2024-09-21 19:47:35 +00:00
crypto: sun8i-ce - Add stat_bytes debugfs
This patch adds a new stat_bytes counter in the sun8i-ce debugfs. Signed-off-by: Corentin Labbe <clabbe@baylibre.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
56f6d5aee8
commit
5c394170d8
|
@ -280,6 +280,7 @@ struct sun8i_ce_hash_reqctx {
|
||||||
* @alg: one of sub struct must be used
|
* @alg: one of sub struct must be used
|
||||||
* @stat_req: number of request done on this template
|
* @stat_req: number of request done on this template
|
||||||
* @stat_fb: number of request which has fallbacked
|
* @stat_fb: number of request which has fallbacked
|
||||||
|
* @stat_bytes: total data size done by this template
|
||||||
*/
|
*/
|
||||||
struct sun8i_ce_alg_template {
|
struct sun8i_ce_alg_template {
|
||||||
u32 type;
|
u32 type;
|
||||||
|
@ -293,6 +294,7 @@ struct sun8i_ce_alg_template {
|
||||||
#ifdef CONFIG_CRYPTO_DEV_SUN8I_CE_DEBUG
|
#ifdef CONFIG_CRYPTO_DEV_SUN8I_CE_DEBUG
|
||||||
unsigned long stat_req;
|
unsigned long stat_req;
|
||||||
unsigned long stat_fb;
|
unsigned long stat_fb;
|
||||||
|
unsigned long stat_bytes;
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue