Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: iaa - fix decomp_bytes_in stats

Decomp stats should use slen, not dlen. Change both the global and
per-wq stats to use the correct value.

Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Tom Zanussi and committed by
Herbert Xu
19b0ed5d f0bbfc39

+2 -2
+2 -2
drivers/crypto/intel/iaa/iaa_crypto_main.c
··· 1079 1079 update_total_comp_bytes_out(ctx->req->dlen); 1080 1080 update_wq_comp_bytes(iaa_wq->wq, ctx->req->dlen); 1081 1081 } else { 1082 - update_total_decomp_bytes_in(ctx->req->dlen); 1083 - update_wq_decomp_bytes(iaa_wq->wq, ctx->req->dlen); 1082 + update_total_decomp_bytes_in(ctx->req->slen); 1083 + update_wq_decomp_bytes(iaa_wq->wq, ctx->req->slen); 1084 1084 } 1085 1085 1086 1086 if (ctx->compress && compression_ctx->verify_compress) {