File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed
Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,27 @@ struct mctp_ctrl_resp_resolve_endpoint_id {
177177 // ... uint8_t physical_address[N]
178178} __attribute__((__packed__ ));
179179
180+ typedef enum {
181+ mctp_ctrl_cmd_alloc_eid_alloc_eid = 0 ,
182+ mctp_ctrl_cmd_alloc_eid_force_alloc = 1 ,
183+ mctp_ctrl_cmd_alloc_eid_get_alloc_info = 2 ,
184+ mctp_ctrl_cmd_alloc_eid_reserved = 3
185+ } mctp_ctrl_cmd_alloc_eid_op ;
186+
187+ struct mctp_ctrl_cmd_alloc_eid {
188+ struct mctp_ctrl_msg_hdr ctrl_hdr ;
189+ uint8_t alloc_eid_op ;
190+ uint8_t pool_size ;
191+ uint8_t start_eid ;
192+ } __attribute__((__packed__ ));
193+
194+ struct mctp_ctrl_resp_alloc_eid {
195+ struct mctp_ctrl_msg_hdr ctrl_hdr ;
196+ uint8_t completion_code ;
197+ uint8_t status ;
198+ uint8_t eid_pool_size ;
199+ uint8_t eid_set ;
200+ } __attribute__((__packed__ ));
180201
181202#define MCTP_CTRL_HDR_MSG_TYPE 0
182203#define MCTP_CTRL_HDR_FLAG_REQUEST (1 << 7)
You can’t perform that action at this time.
0 commit comments