]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/nes: Use flush mechanism to set status for wqe in error
authorDon Wood <donald.e.wood@intel.com>
Sun, 6 Sep 2009 03:36:38 +0000 (20:36 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 6 Sep 2009 03:36:38 +0000 (20:36 -0700)
commit7f3d8a514a5dded123f0efa824e24f4f12d987b6
tree0d85e499fa7767847770c4da256467f1b5f3cfdc
parentd0e466c86f455a3a1924e190598bc6d00e0b8945
RDMA/nes: Use flush mechanism to set status for wqe in error

When an asynchronous event occurs that requires a terminate, it is
sometimes possible to identify the wqe in error.  This change uses
flush to get this information to the poll routine.  The flush
operation puts the status into the cqe.  If this information is not
available, it continues to use the more generic flush code as before.

Signed-off-by: Don Wood <donald.e.wood@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/nes/nes_hw.c
drivers/infiniband/hw/nes/nes_hw.h
drivers/infiniband/hw/nes/nes_verbs.h