diff options
author | Haggai Eran <haggaie@mellanox.com> | 2015-02-08 13:28:51 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2015-02-18 08:36:26 -0800 |
commit | f4056bfd8ccff4475417078d6e5456dfa1962dd3 (patch) | |
tree | 55d91fc332726876bf87ca386c7a1308da13d6d7 /kernel | |
parent | 02d1aa7af17ef0e0655745ce32cab369ed040a67 (diff) |
IB/core: Add on demand paging caps to ib_uverbs_ex_query_device
Add on-demand paging capabilities reporting to the extended query device verb.
Yann Droneaud writes:
Note: as offsetof() is used to retrieve the size of the lower chunk
of the response, beware that it only works if the upper chunk
is right after, without any implicit padding. And, as the size of
the latter chunk is added to the base size, implicit padding at the
end of the structure is not taken in account. Both point must be
taken in account when extending the uverbs functionalities.
Signed-off-by: Haggai Eran <haggaie@mellanox.com>
Reviewed-by: Yann Droneaud <ydroneaud@opteya.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions