]> git.karo-electronics.de Git - linux-beck.git/commit
RDMA/cxgb4: Call iwpm_init() only once
authorSteve Wise <swise@opengridcomputing.com>
Fri, 20 Jun 2014 19:26:25 +0000 (14:26 -0500)
committerRoland Dreier <roland@purestorage.com>
Sun, 13 Jul 2014 17:00:54 +0000 (10:00 -0700)
commit46c1376db1b85ae412a7917cec148c6e60f79428
treefcc40218a1f7439007a3641842074f55254cd1ac
parent6b54d54dea82ae214e4a45a503c4ef755a8ecee8
RDMA/cxgb4: Call iwpm_init() only once

We need to only register with the iwpm core once.  Currently it is
being done for every adapter, which causes a failure for each adapter
but the first, making multiple adapters unusable.

Fixes: 9eccfe109b27 ("RDMA/cxgb4: Add support for iWARP Port Mapper user space service")
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/cm.c
drivers/infiniband/hw/cxgb4/device.c
drivers/infiniband/hw/cxgb4/iw_cxgb4.h