• Jerry Snitselaar's avatar
    crypto: iaa - Fix some errors in IAA documentation · 616ce45c
    Jerry Snitselaar authored
    This cleans up the following issues I ran into when trying to use the
    scripts and commands in the iaa-crypto.rst document.
    
    - Fix incorrect arguments being passed to accel-config
      config-wq.
        - Replace --device_name with --driver-name.
        - Replace --driver_name with --driver-name.
        - Replace --size with --wq-size.
        - Add missing --priority argument.
    - Add missing accel-config config-engine command after the
      config-wq commands.
    - Fix wq name passed to accel-config config-wq.
    - Add rmmod/modprobe of iaa_crypto to script that disables,
      then enables all devices and workqueues to avoid enable-wq
      failing with -EEXIST when trying to register to compression
      algorithm.
    - Fix device name in cases where iaa was used instead of iax.
    
    Cc: Jonathan Corbet <corbet@lwn.net>
    Cc: linux-crypto@vger.kernel.org
    Cc: linux-doc@vger.kernel.org
    Signed-off-by: default avatarJerry Snitselaar <jsnitsel@redhat.com>
    Reviewed-by: default avatarTom Zanussi <tom.zanussi@linux.intel.com>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    616ce45c
iaa-crypto.rst 29 KB