IB/ipath: Fix SLID generation for RC/UC QPs when LMC > 0
authorRalph Campbell <ralph.campbell@qlogic.com>
Sun, 21 Sep 2008 03:05:51 +0000 (20:05 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 21 Sep 2008 03:05:51 +0000 (20:05 -0700)
commit940358967599ba9057b3c51ba906e1cd5b984729
tree6e29b978beddbcc843be676732156e0b31d317c0
parent9824b8f11373b0df806c135a342da9319ef1d893
IB/ipath: Fix SLID generation for RC/UC QPs when LMC > 0

The code to set the source LID in the sent LRH was not setting the low
bits if LMC != 0 for RC/UC QPs.

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