File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -175,6 +175,29 @@ struct mctp_ctrl_resp_resolve_endpoint_id {
175
175
// ... uint8_t physical_address[N]
176
176
} __attribute__((__packed__ ));
177
177
178
+ typedef enum {
179
+ alloc_eid = 0 ,
180
+ force_alloc = 1 ,
181
+ get_alloc_info = 2 ,
182
+ reserved = 3
183
+ } mctp_ctrl_cmd_alloc_eid_op ;
184
+
185
+ struct mctp_ctrl_cmd_alloc_eid {
186
+ struct mctp_ctrl_msg_hdr ctrl_hdr ;
187
+ mctp_ctrl_cmd_alloc_eid_op alloc_eid_op : 2 ;
188
+ uint8_t : 6 ;
189
+ uint8_t pool_size ;
190
+ uint8_t start_eid ;
191
+ } __attribute__((__packed__ ));
192
+
193
+ struct mctp_ctrl_resp_alloc_eid {
194
+ struct mctp_ctrl_msg_hdr ctrl_hdr ;
195
+ uint8_t completion_code ;
196
+ uint8_t status : 2 ;
197
+ uint8_t : 6 ;
198
+ uint8_t eid_pool_size ;
199
+ uint8_t eid_set ;
200
+ } __attribute__((__packed__ ));
178
201
179
202
#define MCTP_CTRL_HDR_MSG_TYPE 0
180
203
#define MCTP_CTRL_HDR_FLAG_REQUEST (1 << 7)
You can’t perform that action at this time.
0 commit comments