Config.in 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. config BR2_PACKAGE_PERFTEST_ARCH_SUPPORTS
  2. bool
  3. # Accurate cycle measurement in perftest is implemented for a
  4. # limited set of architectures, see:
  5. # https://github.com/linux-rdma/perftest/blob/v4.5-0.20/src/get_clock.h
  6. # Note: the package has also a fallback to use "asm/timex.h"
  7. # from the Kernel, in
  8. # "$(LINUX_DIR)/arch/$(KERNEL_ARCH)/include". It is not
  9. # reflected here as this path is not well tested.
  10. default y if BR2_i386 || BR2_x86_64
  11. default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5 && !BR2_ARM_CPU_ARMV6
  12. default y if BR2_aarch64
  13. default y if BR2_powerpc || BR2_powerpc64 || BR2_powerpc64le
  14. default y if BR2_s390x
  15. default y if BR2_sparc || BR2_sparc64
  16. default y if BR2_riscv
  17. depends on BR2_USE_MMU # rdma-core
  18. depends on BR2_TOOLCHAIN_HAS_SYNC_4 # rdma-core
  19. config BR2_PACKAGE_PERFTEST
  20. bool "perftest"
  21. depends on BR2_PACKAGE_PERFTEST_ARCH_SUPPORTS
  22. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # rdma-core
  23. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # rdma-core
  24. depends on !BR2_STATIC_LIBS # rdma-core
  25. # musl does not define sysconf(_SC_LEVEL1_DCACHE_LINESIZE)
  26. depends on !BR2_TOOLCHAIN_USES_MUSL
  27. select BR2_PACKAGE_PCIUTILS
  28. select BR2_PACKAGE_RDMA_CORE
  29. help
  30. Open Fabrics Performance Tests.
  31. This is a collection of tests written over uverbs intended
  32. for use as a performance micro-benchmark. The tests may be
  33. used for HW or SW tuning as well as for functional testing.
  34. https://github.com/linux-rdma/perftest
  35. comment "perftest needs a glibc or uClibc toolchain w/ threads, dynamic library"
  36. depends on BR2_PACKAGE_PERFTEST_ARCH_SUPPORTS
  37. depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
  38. || BR2_TOOLCHAIN_USES_MUSL