diff options
| author | Matan Barak <[email protected]> | 2018-06-17 12:59:52 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-06-19 10:53:02 -0600 |
| commit | 8762d149e88dea5bc09e0d7faa84b635807167ab (patch) | |
| tree | 59191bef4b90fae122ac4741b2cbe05779a60585 /tools/perf/scripts/python/bin | |
| parent | 9442d8bf1d63e09780dc3b60ac6cdfa0813a98c2 (diff) | |
IB/uverbs: Add PTR_IN attributes that are allocated/copied automatically
Adding UVERBS_ATTR_SPEC_F_ALLOC_AND_COPY flag to PTR_IN attributes.
By using this flag, the parse automatically allocates and copies the
user-space data. This data is accessible by using uverbs_attr_get_len
and uverbs_attr_get_alloced_ptr inline accessor functions from the
handler.
Signed-off-by: Matan Barak <[email protected]>
Signed-off-by: Yishai Hadas <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions