HFI1: move tid_rb_node to header
This commit is contained in:
@ -77,6 +77,13 @@ struct tid_group {
|
|||||||
u8 map;
|
u8 map;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct tid_rb_node {
|
||||||
|
uintptr_t phys;
|
||||||
|
u32 len;
|
||||||
|
u32 rcventry;
|
||||||
|
struct tid_group *grp;
|
||||||
|
};
|
||||||
|
|
||||||
struct tid_pageset {
|
struct tid_pageset {
|
||||||
u16 idx;
|
u16 idx;
|
||||||
u16 count;
|
u16 count;
|
||||||
|
|||||||
@ -67,13 +67,6 @@ static int set_rcvarray_entry(struct hfi1_filedata *, uintptr_t,
|
|||||||
static int unprogram_rcvarray(struct hfi1_filedata *, u32, struct tid_group **);
|
static int unprogram_rcvarray(struct hfi1_filedata *, u32, struct tid_group **);
|
||||||
static void clear_tid_node(struct hfi1_filedata *, struct tid_rb_node *);
|
static void clear_tid_node(struct hfi1_filedata *, struct tid_rb_node *);
|
||||||
|
|
||||||
struct tid_rb_node {
|
|
||||||
uintptr_t phys;
|
|
||||||
u32 len;
|
|
||||||
u32 rcventry;
|
|
||||||
struct tid_group *grp;
|
|
||||||
};
|
|
||||||
|
|
||||||
struct kmalloc_cache_header tidlist_cache = { NULL };
|
struct kmalloc_cache_header tidlist_cache = { NULL };
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user