struct hfi1_ctxt_info {
__aligned_u64 runtime_flags; /* chip/drv runtime flags (HFI1_CAP_*) */
__u32 rcvegr_size; /* size of each eager buffer */
__u16 num_active; /* number of active units */
__u16 unit; /* unit (chip) assigned to caller */
__u16 ctxt; /* ctxt on unit assigned to caller */
__u16 subctxt; /* subctxt on unit assigned to caller */
__u16 rcvtids; /* number of Rcv TIDs for this context */
__u16 credits; /* number of PIO credits for this context */
__u16 numa_node; /* NUMA node of the assigned device */
__u16 rec_cpu; /* cpu # for affinity (0xffff if none) */
__u16 send_ctxt; /* send context in use by this user context */
__u16 egrtids; /* number of RcvArray entries for Eager Rcvs */
__u16 rcvhdrq_cnt; /* number of RcvHdrQ entries */
__u16 rcvhdrq_entsize; /* size (in bytes) for each RcvHdrQ entry */
__u16 sdma_ring_size; /* number of entries in SDMA request ring */
};
struct hfi1_tid_info { /* virtual address of first page in transfer */
__aligned_u64 vaddr; /* pointer to tid array. this array is big enough */
__aligned_u64 tidlist; /* number of tids programmed by this request */
__u32 tidcnt; /* length of transfer buffer programmed by this request */
__u32 length;
};
/* *Thisstructureisreturnedbythedriverimmediatelyafter *opentogetimplementation-specificinfo,andinfospecifictothis *instance. * *Thisstructmusthaveexplicitpadfieldswheretypesizes *mayresultindifferentalignmentsbetween32and64bit *programs,sincethe64bit*bitkernelrequirestheusercode *tohavematchingoffsets
*/ struct hfi1_base_info { /* version of hardware, for feature checking. */
__u32 hw_version; /* version of software, for feature checking. */
__u32 sw_version; /* Job key */
__u16 jkey;
__u16 padding1; /* *ThespecialQP(queuepair)valuethatidentifiesPSM *protocolpacketfromstandardIBpackets.
*/
__u32 bthqp; /* PIO credit return address, */
__aligned_u64 sc_credits_addr; /* *Baseaddressofwrite-onlypiobuffersforthisprocess. *Eachbufferhassendpio_credits*64bytes.
*/
__aligned_u64 pio_bufbase_sop; /* *Baseaddressofwrite-onlypiobuffersforthisprocess. *Eachbufferhassendpio_credits*64bytes.
*/
__aligned_u64 pio_bufbase; /* address where receive buffer queue is mapped into */
__aligned_u64 rcvhdr_bufbase; /* base address of Eager receive buffers. */
__aligned_u64 rcvegr_bufbase; /* base address of SDMA completion ring */
__aligned_u64 sdma_comp_bufbase; /* *Userregisterbaseforinitcode,nottobeuseddirectlyby *protocolorapplications.Alwaysmapsrealchipregisterspace. *theregisteraddressesare: *ur_rcvhdrhead,ur_rcvhdrtail,ur_rcvegrhead,ur_rcvegrtail, *ur_rcvtidflow
*/
__aligned_u64 user_regbase; /* notification events */
__aligned_u64 events_bufbase; /* status page */
__aligned_u64 status_bufbase; /* rcvhdrtail update */
__aligned_u64 rcvhdrtail_base; /* *sharedmemorypagesforsubctxtsifctxtisshared;thesecover *alltheprocessesinthegroupsharingasinglecontext. *allhaveenoughspaceforthenum_subcontextsvalueonthisjob.
*/
__aligned_u64 subctxt_uregbase;
__aligned_u64 subctxt_rcvegrbuf;
__aligned_u64 subctxt_rcvhdrbuf;
}; #endif/* _LINIUX__HFI1_IOCTL_H */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet am 2026-09-28)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.