diff options
author | Alexander Chiang <achiang@hp.com> | 2010-02-02 19:08:09 +0000 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-02-24 10:23:41 -0800 |
commit | 6d6a0e71eec5886f2511632a38f28f1ed7794d70 (patch) | |
tree | f00a26094daa8b221e9f2075be1206e4219f8a65 /security/tomoyo | |
parent | ddbd6883013dcc9f9ca5c0b26f79d9334a95926c (diff) |
IB/uverbs: Increase maximum devices supported
Some large systems may support more than IB_UVERBS_MAX_DEVICES
(currently 32).
This change allows us to support more devices in a backwards-compatible
manner. The first IB_UVERBS_MAX_DEVICES keep the same major/minor
device numbers that they've always had.
If there are more than IB_UVERBS_MAX_DEVICES, we then dynamically
request a new major device number (new minors start at 0).
This change increases the maximum number of HCAs to 64 (from 32).
Signed-off-by: Alex Chiang <achiang@hp.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'security/tomoyo')
0 files changed, 0 insertions, 0 deletions