]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Melt consecutive calls to alloc_bfreg() in one call
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 8 Jul 2018 10:50:20 +0000 (13:50 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 13 Jul 2018 17:54:50 +0000 (11:54 -0600)
commitd97aef0b52b5cae67bc381b38560f91d0b30f8a2
tree6e56fb949a1ea4b080a9d891d37787e9bf9a2e51
parentf4538cbb4201167ed072d61814f0579a1d75018b
RDMA/mlx5: Melt consecutive calls to alloc_bfreg() in one call

There is no need for three consecutive calls to alloc_bfreg(). It can be
implemented with one function.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qp.c