OSDN Git Service

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)
commit8e3b688301863fba914883e3531b406c68cb7501
tree45329a900e6878be8fecaf033c5afdb06b06fc22
parent4785860e04bc8d7e244b25257168e1cf8a5529ab
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: e126ba97dba9 ("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