]> git.karo-electronics.de Git - linux-beck.git/commit
IB/ipath: Change UD to queue work requests like RC & UC
authorRalph Campbell <ralph.campbell@qlogic.com>
Wed, 25 Jul 2007 18:08:28 +0000 (11:08 -0700)
committerRoland Dreier <rolandd@cisco.com>
Wed, 10 Oct 2007 03:05:49 +0000 (20:05 -0700)
commit4ee97180ac76deb5a715ac45b7d7516e6ee82ae7
tree6683d1c34d3f36271a9d8275a645ce67222ffc56
parent210d6ca3db058cd1d6e6fd235ee3e25d6ac221cd
IB/ipath: Change UD to queue work requests like RC & UC

The code to post UD sends tried to process work requests at the time
ib_post_send() is called without using a WQE queue.  This was fine as
long as HW resources were available for sending a packet.  This patch
changes UD to be handled more like RC and UC and shares more code.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_qp.c
drivers/infiniband/hw/ipath/ipath_rc.c
drivers/infiniband/hw/ipath/ipath_ruc.c
drivers/infiniband/hw/ipath/ipath_uc.c
drivers/infiniband/hw/ipath/ipath_ud.c
drivers/infiniband/hw/ipath/ipath_verbs.c
drivers/infiniband/hw/ipath/ipath_verbs.h