On Thu, Jul 25, 2019 at 11:33:51AM +0200, Johannes Thumshirn wrote: > From: David Sterba <dste...@suse.com> > > Export supported checksum algorithms via sysfs.
I wonder if we should also export the implementation that would be used. This could be crross referenced with /proc/crypto, but having it in one place would be IMHO convenient. Also for the case when the kernel module is missing. Currently the hash names are printed as comma separated values so we'd need bit something structured: crc32c: crc32c-intel xxhash64: xxhash-generic or if there's some other format in common use.