IB/qib: Allow PSM to select from multiple port assignment algorithms
authorDave Olson <dave.olson@qlogic.com>
Thu, 17 Jun 2010 23:13:49 +0000 (23:13 +0000)
committerRoland Dreier <rolandd@cisco.com>
Wed, 21 Jul 2010 18:39:36 +0000 (11:39 -0700)
commitbdf8edcb5732df554ef53096092e94d22ab5ffc9
treede347dfe7dc0b21fb78a5eeb0d79e59c83ebcde9
parent2d978a953b874bac418e0b9475edd1b9125281f6
IB/qib: Allow PSM to select from multiple port assignment algorithms

We used to allow only full specification, or using all contexts within
an HCA before moving to the next HCA.  We now allow an additional
method -- round-robining through HCAs -- and make that the default.

Signed-off-by: Dave Olson <dave.olson@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/qib/qib_common.h
drivers/infiniband/hw/qib/qib_file_ops.c