]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IB] mthca: SRQ limit reached events
authorRoland Dreier <rolandd@cisco.com>
Thu, 6 Oct 2005 20:15:56 +0000 (13:15 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 17 Oct 2005 22:20:28 +0000 (15:20 -0700)
commit90f104da22bbf2e2b8a2136c12fb4e013fccf504
treed720f4b226cd72903ee878096707578ccc7abc0c
parent116c0074ecfd6f061570856bec52b691d54dbd3c
[IB] mthca: SRQ limit reached events

Our hardware supports generating an event when the number of receives
posted to a shared receive queue (SRQ) falls below a user-specified
limit.  Implement mthca_modify_srq() to arm the limit, and add code to
handle dispatching SRQ events when they occur.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_dev.h
drivers/infiniband/hw/mthca/mthca_eq.c
drivers/infiniband/hw/mthca/mthca_provider.c
drivers/infiniband/hw/mthca/mthca_srq.c