xref: /linux/include/uapi/fwctl/bnxt.h (revision 98f21c54f99519329c18e2625b0ea6db14524d09)
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3  * Copyright (c) 2026, Broadcom Inc
4  */
5 
6 #ifndef _UAPI_FWCTL_BNXT_H_
7 #define _UAPI_FWCTL_BNXT_H_
8 
9 #include <linux/types.h>
10 
11 enum fwctl_bnxt_commands {
12 	FWCTL_BNXT_INLINE_COMMANDS = 0,
13 	FWCTL_BNXT_QUERY_COMMANDS,
14 	FWCTL_BNXT_SEND_COMMANDS,
15 	FWCTL_BNXT_DMA_COMMANDS,
16 };
17 
18 /**
19  * struct fwctl_info_bnxt - ioctl(FWCTL_INFO) out_device_data
20  * @uctx_caps: The command capabilities driver accepts.
21  *
22  * Return basic information about the FW interface available.
23  */
24 struct fwctl_info_bnxt {
25 	__u32 uctx_caps;
26 };
27 
28 #define FWCTL_BNXT_MAX_DMABUF	0x10000   /* 64 KiB */
29 
30 #endif
31