]> www.infradead.org Git - users/jedix/linux-maple.git/commit
IB/ipoib: Fix CONFIG_INFINIBAND_IPOIB_CM
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Wed, 22 Jul 2015 20:30:03 +0000 (14:30 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Aug 2015 19:21:58 +0000 (12:21 -0700)
commitd1339ce0bcb285a0756bf9037f49e258b5df636f
tree44c5de2c8a434132559b1ccc403d50d3aab0c72e
parent13e8ae1f4da1386297c2cf65522b38f8e24fa88a
IB/ipoib: Fix CONFIG_INFINIBAND_IPOIB_CM

commit efc1eedbf63a194b3b576fc25776f3f1fa55a4d4 upstream.

If the above is turned off then ipoib_cm_dev_init unconditionally
returns ENOSYS, and the newly added error handling in
0b3957 prevents ipoib from coming up at all:

kernel: mlx4_0: ipoib_transport_dev_init failed
kernel: mlx4_0: failed to initialize port 1 (ret = -12)

Fixes: 0b39578bcde4 (IB/ipoib: Use dedicated workqueues per interface)
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/ulp/ipoib/ipoib_verbs.c