RDMA/nes: Clear stall bit before destroying NIC QP
authorChien Tung <chien.tin.tung@intel.com>
Wed, 3 Mar 2010 19:13:28 +0000 (19:13 +0000)
committerRoland Dreier <rolandd@cisco.com>
Thu, 11 Mar 2010 23:12:15 +0000 (15:12 -0800)
commit9f29006ae8c85746e5a52d557f689359149a0793
tree838686f9d7ee2f124b17f6f00c22b1406e14f91c
parent883c699241f48667ff59277d8c20790868fd4829
RDMA/nes: Clear stall bit before destroying NIC QP

Clear the stall bit to drop any incoming packets while destroying NIC
QP.  This will prevent a chip resource leak.

Signed-off-by: Chien Tung <chien.tin.tung@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_hw.c
drivers/infiniband/hw/nes/nes_hw.h