Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
These changes are a raw update to a vanilla kernel 4.1.10, with the
[kvmfornfv.git]
/
kernel
/
drivers
/
infiniband
/
hw
/
qib
/
qib_verbs.h
diff --git
a/kernel/drivers/infiniband/hw/qib/qib_verbs.h
b/kernel/drivers/infiniband/hw/qib/qib_verbs.h
index
bfc8948
..
44ca28c
100644
(file)
--- a/
kernel/drivers/infiniband/hw/qib/qib_verbs.h
+++ b/
kernel/drivers/infiniband/hw/qib/qib_verbs.h
@@
-647,6
+647,8
@@
struct qib_qpn_table {
struct qpn_map map[QPNMAP_ENTRIES];
};
+#define MAX_LKEY_TABLE_BITS 23
+
struct qib_lkey_table {
spinlock_t lock; /* protect changes in this struct */
u32 next; /* next unused index (speeds search) */