Manojkiran Eda | e8fd5fb | 2023-07-14 18:39:08 +0530 | [diff] [blame] | 1 | # PLDM daemon options |
| 2 | option( |
| 3 | 'tests', |
| 4 | type: 'feature', |
| 5 | value: 'enabled', |
| 6 | description: 'Build tests' |
| 7 | ) |
Lei YU | 31fc47e | 2020-02-27 11:41:45 +0800 | [diff] [blame] | 8 | |
Manojkiran Eda | e8fd5fb | 2023-07-14 18:39:08 +0530 | [diff] [blame] | 9 | option( |
| 10 | 'oe-sdk', |
| 11 | type: 'feature', |
Patrick Williams | 7bc0a15 | 2023-11-29 07:11:46 -0600 | [diff] [blame^] | 12 | value: 'disabled', |
Manojkiran Eda | e8fd5fb | 2023-07-14 18:39:08 +0530 | [diff] [blame] | 13 | description: 'Enable OE SDK' |
| 14 | ) |
Tom Joseph | 74f27c7 | 2021-05-16 07:58:53 -0700 | [diff] [blame] | 15 | |
Manojkiran Eda | e8fd5fb | 2023-07-14 18:39:08 +0530 | [diff] [blame] | 16 | option( |
| 17 | 'utilities', |
| 18 | type: 'feature', |
| 19 | value: 'enabled', |
| 20 | description: 'Enable debug utilities' |
| 21 | ) |
Brad Bishop | adbb245 | 2021-08-19 16:33:53 -0400 | [diff] [blame] | 22 | |
Manojkiran Eda | e8fd5fb | 2023-07-14 18:39:08 +0530 | [diff] [blame] | 23 | option( |
| 24 | 'libpldmresponder', |
| 25 | type: 'feature', |
| 26 | value: 'enabled', |
| 27 | description: 'Enable libpldmresponder' |
| 28 | ) |
Sagar Srinivas | a6a8ccd | 2021-04-01 07:58:33 -0500 | [diff] [blame] | 29 | |
Manojkiran Eda | e8fd5fb | 2023-07-14 18:39:08 +0530 | [diff] [blame] | 30 | option( |
| 31 | 'systemd', |
| 32 | type: 'feature', |
| 33 | value: 'enabled', |
| 34 | description: 'Include systemd support' |
| 35 | ) |
Manojkiran Eda | cc5f158 | 2021-09-29 17:03:06 +0530 | [diff] [blame] | 36 | |
Rashmica Gupta | 1ed5f7a | 2023-05-22 13:56:42 +1000 | [diff] [blame] | 37 | option( |
| 38 | 'transport-implementation', |
| 39 | type: 'combo', |
| 40 | choices: ['mctp-demux', 'af-mctp'], |
| 41 | description: 'transport via af-mctp or mctp-demux' |
| 42 | ) |
| 43 | |
vkaverap@in.ibm.com | c0b0e7b | 2023-07-18 00:06:40 -0500 | [diff] [blame] | 44 | # As per PLDM spec DSP0240 version 1.1.0, in Timing Specification for PLDM messages (Table 6), |
| 45 | # the instance ID for a given response will expire and become reusable if a response has not been |
| 46 | # received within a maximum of 6 seconds after a request is sent. By setting the dbus timeout |
| 47 | # value to 5 seconds we ensure that PLDM does not wait for a response from a dbus call even after |
| 48 | # the instance ID has expired. If the option is set to 5 seconds, any dbus call originated from |
| 49 | # PLDM daemon will timeout after 5 seconds. |
Manojkiran Eda | e8fd5fb | 2023-07-14 18:39:08 +0530 | [diff] [blame] | 50 | option( |
| 51 | 'dbus-timeout-value', |
| 52 | type: 'integer', |
| 53 | min: 3, |
| 54 | max: 10, |
| 55 | value: 5, |
| 56 | description: '''The amount of time pldm waits to get a response for a dbus |
| 57 | message before timing out''' |
| 58 | ) |
| 59 | |
| 60 | option( |
| 61 | 'heartbeat-timeout-seconds', |
| 62 | type: 'integer', |
| 63 | value: 120, |
| 64 | description: '''The amount of time host waits for BMC to respond to pings |
| 65 | from host, as part of host-bmc surveillance''' |
| 66 | ) |
| 67 | |
| 68 | # Flight Recorder for PLDM Daemon |
| 69 | option( |
| 70 | 'flightrecorder-max-entries', |
| 71 | type:'integer', |
| 72 | min:0, |
| 73 | max:30, |
| 74 | value: 10, |
| 75 | description: '''The max number of pldm messages that can be stored in the |
| 76 | recorder, this feature will be disabled if it is set to 0''' |
| 77 | ) |
| 78 | |
| 79 | # PLDM Daemon Terminus options |
| 80 | option( |
| 81 | 'terminus-id', |
| 82 | type:'integer', |
| 83 | min:0, |
| 84 | max: 255, |
| 85 | value:1, |
| 86 | description: '''The terminus id value of the device that is running this |
| 87 | pldm stack''' |
| 88 | ) |
| 89 | |
| 90 | option( |
| 91 | 'terminus-handle', |
| 92 | type:'integer', |
| 93 | min:0, |
| 94 | max:65535, |
| 95 | value:1, |
| 96 | description: '''The terminus handle value of the device that is running this |
| 97 | pldm stack''' |
| 98 | ) |
| 99 | |
| 100 | # Timing specification options for PLDM messages |
| 101 | option( |
| 102 | 'number-of-request-retries', |
| 103 | type: 'integer', |
| 104 | min: 2, |
| 105 | max: 30, |
| 106 | value: 2, |
| 107 | description: '''The number of times a requester is obligated to retry a |
| 108 | request''' |
| 109 | ) |
| 110 | |
| 111 | option( |
| 112 | 'instance-id-expiration-interval', |
| 113 | type: 'integer', |
| 114 | min: 5, |
| 115 | max: 6, |
| 116 | value: 5, |
| 117 | description: 'Instance ID expiration interval in seconds' |
| 118 | ) |
| 119 | |
| 120 | # Default response-time-out set to 2 seconds to facilitate a minimum retry of |
| 121 | # the request of 2. |
| 122 | option( |
| 123 | 'response-time-out', |
| 124 | type: 'integer', |
| 125 | min: 300, |
| 126 | max: 4800, |
| 127 | value: 2000, |
| 128 | description: '''The amount of time a requester has to wait for a response |
| 129 | message in milliseconds''' |
| 130 | ) |
Manojkiran Eda | cc5f158 | 2021-09-29 17:03:06 +0530 | [diff] [blame] | 131 | |
Tom Joseph | ef90b0d | 2021-08-17 07:12:49 -0700 | [diff] [blame] | 132 | # Firmware update configuration parameters |
Manojkiran Eda | e8fd5fb | 2023-07-14 18:39:08 +0530 | [diff] [blame] | 133 | option( |
| 134 | 'maximum-transfer-size', |
| 135 | type: 'integer', |
| 136 | min: 16, |
| 137 | max: 4294967295, |
| 138 | value: 4096, |
| 139 | description: '''Maximum size in bytes of the variable payload allowed to be |
| 140 | requested by the FD, via RequestFirmwareData command''' |
| 141 | ) |
| 142 | |
| 143 | # PLDM Soft Power off options |
| 144 | option( |
| 145 | 'softoff', |
| 146 | type: 'feature', |
| 147 | value: 'enabled', |
| 148 | description: 'Build soft power off application' |
| 149 | ) |
| 150 | |
| 151 | option( |
| 152 | 'softoff-timeout-seconds', |
| 153 | type: 'integer', |
| 154 | value: 7200, |
| 155 | description: 'softoff: Time to wait for host to gracefully shutdown' |
| 156 | ) |
| 157 | |
| 158 | # Vendor Specific Options |
| 159 | |
| 160 | ## OEM IBM Options |
| 161 | option( |
| 162 | 'oem-ibm', |
| 163 | type: 'feature', |
| 164 | value: 'enabled', |
| 165 | description: 'Enable IBM OEM PLDM' |
| 166 | ) |
| 167 | |
| 168 | option( |
| 169 | 'oem-ibm-dma-maxsize', |
| 170 | type: 'integer', |
| 171 | min:4096, |
| 172 | max: 16773120, |
| 173 | value: 8384512, |
| 174 | description: 'OEM-IBM: max DMA size' |
| 175 | ) |