You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
2.1 KiB
73 lines
2.1 KiB
4 months ago
|
/****************************************************************************
|
||
|
****************************************************************************
|
||
|
***
|
||
|
*** This header was automatically generated from a Linux kernel header
|
||
|
*** of the same name, to make information necessary for userspace to
|
||
|
*** call into the kernel available to libc. It contains only constants,
|
||
|
*** structures, and macros generated from the original header, and thus,
|
||
|
*** contains no copyrightable information.
|
||
|
***
|
||
|
*** To edit the content of this header, modify the corresponding
|
||
|
*** source file (e.g. under external/kernel-headers/original/) then
|
||
|
*** run bionic/libc/kernel/tools/update_all.py
|
||
|
***
|
||
|
*** Any manual change here will be lost the next time this script will
|
||
|
*** be run. You've been warned!
|
||
|
***
|
||
|
****************************************************************************
|
||
|
****************************************************************************/
|
||
|
#ifndef _LINUX__HFI1_IOCTL_H
|
||
|
#define _LINUX__HFI1_IOCTL_H
|
||
|
#include <linux/types.h>
|
||
|
struct hfi1_user_info {
|
||
|
__u32 userversion;
|
||
|
__u32 pad;
|
||
|
__u16 subctxt_cnt;
|
||
|
__u16 subctxt_id;
|
||
|
__u8 uuid[16];
|
||
|
};
|
||
|
struct hfi1_ctxt_info {
|
||
|
__aligned_u64 runtime_flags;
|
||
|
__u32 rcvegr_size;
|
||
|
__u16 num_active;
|
||
|
__u16 unit;
|
||
|
__u16 ctxt;
|
||
|
__u16 subctxt;
|
||
|
__u16 rcvtids;
|
||
|
__u16 credits;
|
||
|
__u16 numa_node;
|
||
|
__u16 rec_cpu;
|
||
|
__u16 send_ctxt;
|
||
|
__u16 egrtids;
|
||
|
__u16 rcvhdrq_cnt;
|
||
|
__u16 rcvhdrq_entsize;
|
||
|
__u16 sdma_ring_size;
|
||
|
};
|
||
|
struct hfi1_tid_info {
|
||
|
__aligned_u64 vaddr;
|
||
|
__aligned_u64 tidlist;
|
||
|
__u32 tidcnt;
|
||
|
__u32 length;
|
||
|
};
|
||
|
struct hfi1_base_info {
|
||
|
__u32 hw_version;
|
||
|
__u32 sw_version;
|
||
|
__u16 jkey;
|
||
|
__u16 padding1;
|
||
|
__u32 bthqp;
|
||
|
__aligned_u64 sc_credits_addr;
|
||
|
__aligned_u64 pio_bufbase_sop;
|
||
|
__aligned_u64 pio_bufbase;
|
||
|
__aligned_u64 rcvhdr_bufbase;
|
||
|
__aligned_u64 rcvegr_bufbase;
|
||
|
__aligned_u64 sdma_comp_bufbase;
|
||
|
__aligned_u64 user_regbase;
|
||
|
__aligned_u64 events_bufbase;
|
||
|
__aligned_u64 status_bufbase;
|
||
|
__aligned_u64 rcvhdrtail_base;
|
||
|
__aligned_u64 subctxt_uregbase;
|
||
|
__aligned_u64 subctxt_rcvegrbuf;
|
||
|
__aligned_u64 subctxt_rcvhdrbuf;
|
||
|
};
|
||
|
#endif
|