]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Delete unreachable handle_atomic code by simplifying SW completion
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 12 Dec 2018 17:45:53 +0000 (19:45 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 18 Dec 2018 20:59:34 +0000 (13:59 -0700)
commit183c6ce37a2eee3a5be86bb9fdf714481d996c8a
tree45329a900e6878be8fecaf033c5afdb06b06fc22
parent325765a8b04ce4b322ddc85f011bf17ed24d04dd
RDMA/mlx5: Delete unreachable handle_atomic code by simplifying SW completion

Handle atomic was left as unimplemented from 2013, remove the code till
this part will be developed.

Remove the dead code by simplifying SW completion logic which is supposed
to be the same for send and receive paths.

Fixes: 7c120481afcc ("mlx5: Add driver for Mellanox Connect-IB adapters")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Tested-by: Stephen Rothwell <sfr@canb.auug.org.au> # compile tested
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/cq.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qp.c