diff options
Diffstat (limited to 'drivers/infiniband/hw/qib/qib.h')
-rw-r--r-- | drivers/infiniband/hw/qib/qib.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/qib/qib.h b/drivers/infiniband/hw/qib/qib.h index ee993e725d38..97e623383e1a 100644 --- a/drivers/infiniband/hw/qib/qib.h +++ b/drivers/infiniband/hw/qib/qib.h | |||
@@ -171,7 +171,9 @@ struct qib_ctxtdata { | |||
171 | /* how many alloc_pages() chunks in rcvegrbuf_pages */ | 171 | /* how many alloc_pages() chunks in rcvegrbuf_pages */ |
172 | u32 rcvegrbuf_chunks; | 172 | u32 rcvegrbuf_chunks; |
173 | /* how many egrbufs per chunk */ | 173 | /* how many egrbufs per chunk */ |
174 | u32 rcvegrbufs_perchunk; | 174 | u16 rcvegrbufs_perchunk; |
175 | /* ilog2 of above */ | ||
176 | u16 rcvegrbufs_perchunk_shift; | ||
175 | /* order for rcvegrbuf_pages */ | 177 | /* order for rcvegrbuf_pages */ |
176 | size_t rcvegrbuf_size; | 178 | size_t rcvegrbuf_size; |
177 | /* rcvhdrq size (for freeing) */ | 179 | /* rcvhdrq size (for freeing) */ |
@@ -940,7 +942,9 @@ struct qib_devdata { | |||
940 | /* chip address space used by 4k pio buffers */ | 942 | /* chip address space used by 4k pio buffers */ |
941 | u32 align4k; | 943 | u32 align4k; |
942 | /* size of each rcvegrbuffer */ | 944 | /* size of each rcvegrbuffer */ |
943 | u32 rcvegrbufsize; | 945 | u16 rcvegrbufsize; |
946 | /* log2 of above */ | ||
947 | u16 rcvegrbufsize_shift; | ||
944 | /* localbus width (1, 2,4,8,16,32) from config space */ | 948 | /* localbus width (1, 2,4,8,16,32) from config space */ |
945 | u32 lbus_width; | 949 | u32 lbus_width; |
946 | /* localbus speed in MHz */ | 950 | /* localbus speed in MHz */ |