diff options
| author | Jason Gunthorpe <jgg@mellanox.com> | 2018-11-25 21:58:41 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2018-12-03 20:01:58 +0300 |
| commit | 7eebced1bae034e11a86c454383b24715eb087b6 (patch) | |
| tree | 14fe1f35f6580f590b9c5a42fd0e69020484e744 /tools/perf/scripts/python/sched-migration.py | |
| parent | 40efca7a46a04223e6792fbe23ba337f54cff794 (diff) | |
| download | linux-7eebced1bae034e11a86c454383b24715eb087b6.tar.xz | |
RDMA/uverbs: Simplify ib_uverbs_ex_query_device
We truncate the response structure if there is not enough room in the
user buffer so there is no reason to have all the mess with finely managing
response_length. Just fully fill the attrs and truncate on copy.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions
