]> git.baikalelectronics.ru Git - kernel.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)
committerDoug Ledford <dledford@redhat.com>
Fri, 24 Jul 2015 15:34:26 +0000 (11:34 -0400)
commite279ddd5f9fe90c7557ef2cbe8a10e4bb2139de3
tree32f0dfee50c6bc08a4b9ee922f5f15c7b37986da
parent7a7a112c02b219f7c5475319e68d5212809b14d6
IB/ipoib: Fix CONFIG_INFINIBAND_IPOIB_CM

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: c5d9e0da3764 (IB/ipoib: Use dedicated workqueues per interface)
Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/ipoib/ipoib_verbs.c