summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2020-04-27 18:46:24 +0300
committerJason Gunthorpe <jgg@mellanox.com>2020-04-30 18:45:43 -0300
commit03c4077b284056fdb144f84aaa0ac0c80023f597 (patch)
tree9f2a77d626b6ac6591360dce2e1feaafa92b8625 /tools/perf/scripts/python
parent76883a6cc1459b2aa1e96e1eaa19aa37221c2406 (diff)
downloadlinux-03c4077b284056fdb144f84aaa0ac0c80023f597.tar.gz
linux-03c4077b284056fdb144f84aaa0ac0c80023f597.zip
RDMA/mlx5: Rely on existence of udata to separate kernel/user flows
Instead of keeping special field to separate kernel/user create/destroy flows, rely on existence of udata pointer. All allocation flows are using kzalloc() and leave uninitialized pointers as NULL which makes MLX5_QP_EMPTY and MLX5_QP_KERNEL flows to be the same. Link: https://lore.kernel.org/r/20200427154636.381474-25-leon@kernel.org Reviewed-by: Maor Gottlieb <maorg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions