]> git.karo-electronics.de Git - linux-beck.git/commit
IB/ipath: Make handling of one subport consistent
authorMark Debbage <mark.debbage@qlogic.com>
Mon, 18 Jun 2007 21:24:46 +0000 (14:24 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 10 Jul 2007 03:12:26 +0000 (20:12 -0700)
commitbacf4013530e7fc230a8aa0c6ea3c17fc2f47665
tree29ac5cc3512b87df9be1e074348fe0ee2809d17c
parent0df6291c8af2778d05f278d5738eef2c8fafa2dd
IB/ipath: Make handling of one subport consistent

Previously the driver and userspace code handled the case of 1 subport
somewhat inconsistently.  The new interpretation of this situation is
that if one subport is requested, the driver turns on the subport
mechanism and arranges for the port to be "shared" by one process.  In
normal use the userspace library does not use this configuration and
instead arranges for the port not to be shared at all.  This
particular idiom can be useful for testing purposes.

Signed-off-by: Mark Debbage <mark.debbage@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_file_ops.c