diff options
| author | Leon Romanovsky <leonro@mellanox.com> | 2020-04-27 18:46:01 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-04-28 20:42:20 -0300 |
| commit | 6eb7edffb28558aaa3a3e625ac9dcd40fc603bc6 (patch) | |
| tree | ef0d4caeb1a89ba7df79123a5b89cf05a244a2e8 /tools/perf/scripts/python/netdev-times.py | |
| parent | 2dc8b5246d2c94f732c02e7a688d8a9c0c65361f (diff) | |
| download | linux-6eb7edffb28558aaa3a3e625ac9dcd40fc603bc6.tar.gz linux-6eb7edffb28558aaa3a3e625ac9dcd40fc603bc6.zip | |
RDMA/mlx5: Organize QP types checks in one place
Perform check if QP type is supported in one place at the beginning of
the create_qp function instead of current implementation with checks
buried inside of the code.
Link: https://lore.kernel.org/r/20200427154636.381474-2-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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
