diff options
| author | Matan Barak <[email protected]> | 2018-06-17 12:59:53 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-06-19 10:53:02 -0600 |
| commit | 2d9c1bd7e177bd8b460403db9513b0a223e46ab8 (patch) | |
| tree | c14d68a71a2c971245b66fd6f8599b1ce04242cd /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 8762d149e88dea5bc09e0d7faa84b635807167ab (diff) | |
IB/uverbs: Add a macro to define a type with no kernel known size
Sometimes the uverbs uAPI doesn't really care about the structure it gets
from user-space. All it wants to do is to allocate enough space and send
it to the hardware/provider driver. Adding a UVERBS_ATTR_MIN_SIZE that
could be used for this scenarios. We use USHRT_MAX as the kernel known
size to bypass any zero validations.
Signed-off-by: Matan Barak <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions