IB/mthca: Generate SQ drained events when requested
authorRoland Dreier <rolandd@cisco.com>
Fri, 3 Feb 2006 22:53:28 +0000 (14:53 -0800)
committerRoland Dreier <rolandd@cisco.com>
Mon, 20 Mar 2006 18:08:12 +0000 (10:08 -0800)
commit3fa1fa3e809dc009a080ca9f052cee2e17836c63
tree471bc486f70e8cd4d3950b0ff256f12db057b951
parent5e9f71a16c56af7e2ff8b7ea251e0fd90b5de560
IB/mthca: Generate SQ drained events when requested

Add low-level driver support to ib_mthca so that consumers can request
a "send queue drained" event be generated when a transiton to the SQD
state completes.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_cmd.c
drivers/infiniband/hw/mthca/mthca_qp.c