1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note*/
2 /*
3  * Copyright (c) 2022, Ampere Computing LLC.
4  */
5 
6 #ifndef _UAPI_LINUX_IPMI_SSIF_BMC_H
7 #define _UAPI_LINUX_IPMI_SSIF_BMC_H
8 
9 #include <linux/types.h>
10 
11 /* Max length of ipmi ssif message included netfn and cmd field */
12 #define IPMI_SSIF_PAYLOAD_MAX         254
13 struct ipmi_ssif_msg {
14 	unsigned int len;
15 	__u8    payload[IPMI_SSIF_PAYLOAD_MAX];
16 };
17 
18 #endif /* _UAPI_LINUX_IPMI_SSIF_BMC_H */
19