Kconfig 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. config CRYPTO_DEV_FSL_CAAM
  2. tristate "Freescale CAAM-Multicore driver backend"
  3. depends on FSL_SOC
  4. help
  5. Enables the driver module for Freescale's Cryptographic Accelerator
  6. and Assurance Module (CAAM), also known as the SEC version 4 (SEC4).
  7. This module adds a job ring operation interface, and configures h/w
  8. to operate as a DPAA component automatically, depending
  9. on h/w feature availability.
  10. To compile this driver as a module, choose M here: the module
  11. will be called caam.
  12. config CRYPTO_DEV_FSL_CAAM_RINGSIZE
  13. int "Job Ring size"
  14. depends on CRYPTO_DEV_FSL_CAAM
  15. range 2 9
  16. default "9"
  17. help
  18. Select size of Job Rings as a power of 2, within the
  19. range 2-9 (ring size 4-512).
  20. Examples:
  21. 2 => 4
  22. 3 => 8
  23. 4 => 16
  24. 5 => 32
  25. 6 => 64
  26. 7 => 128
  27. 8 => 256
  28. 9 => 512
  29. config CRYPTO_DEV_FSL_CAAM_INTC
  30. bool "Job Ring interrupt coalescing"
  31. depends on CRYPTO_DEV_FSL_CAAM
  32. default y
  33. help
  34. Enable the Job Ring's interrupt coalescing feature.
  35. config CRYPTO_DEV_FSL_CAAM_INTC_COUNT_THLD
  36. int "Job Ring interrupt coalescing count threshold"
  37. depends on CRYPTO_DEV_FSL_CAAM_INTC
  38. range 1 255
  39. default 255
  40. help
  41. Select number of descriptor completions to queue before
  42. raising an interrupt, in the range 1-255. Note that a selection
  43. of 1 functionally defeats the coalescing feature, and a selection
  44. equal or greater than the job ring size will force timeouts.
  45. config CRYPTO_DEV_FSL_CAAM_INTC_TIME_THLD
  46. int "Job Ring interrupt coalescing timer threshold"
  47. depends on CRYPTO_DEV_FSL_CAAM_INTC
  48. range 1 65535
  49. default 2048
  50. help
  51. Select number of bus clocks/64 to timeout in the case that one or
  52. more descriptor completions are queued without reaching the count
  53. threshold. Range is 1-65535.
  54. config CRYPTO_DEV_FSL_CAAM_CRYPTO_API
  55. tristate "Register algorithm implementations with the Crypto API"
  56. depends on CRYPTO_DEV_FSL_CAAM
  57. default y
  58. select CRYPTO_ALGAPI
  59. select CRYPTO_AUTHENC
  60. help
  61. Selecting this will offload crypto for users of the
  62. scatterlist crypto API (such as the linux native IPSec
  63. stack) to the SEC4 via job ring.
  64. To compile this as a module, choose M here: the module
  65. will be called caamalg.