Kconfig 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. menuconfig FSL_DPAA
  3. bool "QorIQ DPAA1 framework support"
  4. depends on ((FSL_SOC_BOOKE || ARCH_LAYERSCAPE) && ARCH_DMA_ADDR_T_64BIT)
  5. select GENERIC_ALLOCATOR
  6. help
  7. The Freescale Data Path Acceleration Architecture (DPAA) is a set of
  8. hardware components on specific QorIQ multicore processors.
  9. This architecture provides the infrastructure to support simplified
  10. sharing of networking interfaces and accelerators by multiple CPUs.
  11. The major h/w blocks composing DPAA are BMan and QMan.
  12. The Buffer Manager (BMan) is a hardware buffer pool management block
  13. that allows software and accelerators on the datapath to acquire and
  14. release buffers in order to build frames.
  15. The Queue Manager (QMan) is a hardware queue management block
  16. that allows software and accelerators on the datapath to enqueue and
  17. dequeue frames in order to communicate.
  18. if FSL_DPAA
  19. config FSL_DPAA_CHECKING
  20. bool "Additional driver checking"
  21. help
  22. Compiles in additional checks, to sanity-check the drivers and
  23. any use of the exported API. Not recommended for performance.
  24. config FSL_BMAN_TEST
  25. tristate "BMan self-tests"
  26. help
  27. Compile the BMan self-test code. These tests will
  28. exercise the BMan APIs to confirm functionality
  29. of both the software drivers and hardware device.
  30. config FSL_BMAN_TEST_API
  31. bool "High-level API self-test"
  32. depends on FSL_BMAN_TEST
  33. default y
  34. help
  35. This requires the presence of cpu-affine portals, and performs
  36. high-level API testing with them (whichever portal(s) are affine
  37. to the cpu(s) the test executes on).
  38. config FSL_QMAN_TEST
  39. tristate "QMan self-tests"
  40. help
  41. Compile self-test code for QMan.
  42. config FSL_QMAN_TEST_API
  43. bool "QMan high-level self-test"
  44. depends on FSL_QMAN_TEST
  45. default y
  46. help
  47. This requires the presence of cpu-affine portals, and performs
  48. high-level API testing with them (whichever portal(s) are affine to
  49. the cpu(s) the test executes on).
  50. config FSL_QMAN_TEST_STASH
  51. bool "QMan 'hot potato' data-stashing self-test"
  52. depends on FSL_QMAN_TEST
  53. default y
  54. help
  55. This performs a "hot potato" style test enqueuing/dequeuing a frame
  56. across a series of FQs scheduled to different portals (and cpus), with
  57. DQRR, data and context stashing always on.
  58. endif # FSL_DPAA