adf_cfg_strings.h 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /*
  2. This file is provided under a dual BSD/GPLv2 license. When using or
  3. redistributing this file, you may do so under either license.
  4. GPL LICENSE SUMMARY
  5. Copyright(c) 2014 Intel Corporation.
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of version 2 of the GNU General Public License as
  8. published by the Free Software Foundation.
  9. This program is distributed in the hope that it will be useful, but
  10. WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. General Public License for more details.
  13. Contact Information:
  14. qat-linux@intel.com
  15. BSD LICENSE
  16. Copyright(c) 2014 Intel Corporation.
  17. Redistribution and use in source and binary forms, with or without
  18. modification, are permitted provided that the following conditions
  19. are met:
  20. * Redistributions of source code must retain the above copyright
  21. notice, this list of conditions and the following disclaimer.
  22. * Redistributions in binary form must reproduce the above copyright
  23. notice, this list of conditions and the following disclaimer in
  24. the documentation and/or other materials provided with the
  25. distribution.
  26. * Neither the name of Intel Corporation nor the names of its
  27. contributors may be used to endorse or promote products derived
  28. from this software without specific prior written permission.
  29. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  30. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  31. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  32. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  33. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  34. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  35. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  36. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  37. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  38. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  39. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  40. */
  41. #ifndef ADF_CFG_STRINGS_H_
  42. #define ADF_CFG_STRINGS_H_
  43. #define ADF_GENERAL_SEC "GENERAL"
  44. #define ADF_KERNEL_SEC "KERNEL"
  45. #define ADF_ACCEL_SEC "Accelerator"
  46. #define ADF_NUM_CY "NumberCyInstances"
  47. #define ADF_NUM_DC "NumberDcInstances"
  48. #define ADF_RING_SYM_SIZE "NumConcurrentSymRequests"
  49. #define ADF_RING_ASYM_SIZE "NumConcurrentAsymRequests"
  50. #define ADF_RING_DC_SIZE "NumConcurrentRequests"
  51. #define ADF_RING_ASYM_TX "RingAsymTx"
  52. #define ADF_RING_SYM_TX "RingSymTx"
  53. #define ADF_RING_ASYM_RX "RingAsymRx"
  54. #define ADF_RING_SYM_RX "RingSymRx"
  55. #define ADF_RING_DC_TX "RingTx"
  56. #define ADF_RING_DC_RX "RingRx"
  57. #define ADF_ETRMGR_BANK "Bank"
  58. #define ADF_RING_BANK_NUM "BankNumber"
  59. #define ADF_CY "Cy"
  60. #define ADF_DC "Dc"
  61. #define ADF_ETRMGR_COALESCING_ENABLED "InterruptCoalescingEnabled"
  62. #define ADF_ETRMGR_COALESCING_ENABLED_FORMAT \
  63. ADF_ETRMGR_BANK "%d" ADF_ETRMGR_COALESCING_ENABLED
  64. #define ADF_ETRMGR_COALESCE_TIMER "InterruptCoalescingTimerNs"
  65. #define ADF_ETRMGR_COALESCE_TIMER_FORMAT \
  66. ADF_ETRMGR_BANK "%d" ADF_ETRMGR_COALESCE_TIMER
  67. #define ADF_ETRMGR_COALESCING_MSG_ENABLED "InterruptCoalescingNumResponses"
  68. #define ADF_ETRMGR_COALESCING_MSG_ENABLED_FORMAT \
  69. ADF_ETRMGR_BANK "%d" ADF_ETRMGR_COALESCING_MSG_ENABLED
  70. #define ADF_ETRMGR_CORE_AFFINITY "CoreAffinity"
  71. #define ADF_ETRMGR_CORE_AFFINITY_FORMAT \
  72. ADF_ETRMGR_BANK "%d" ADF_ETRMGR_CORE_AFFINITY
  73. #define ADF_ACCEL_STR "Accelerator%d"
  74. #endif