]> git.karo-electronics.de Git - linux-beck.git/commit
IB/Verbs: Reform cm related part in IB-core cma/ucm
authorMichael Wang <yun.wang@profitbricks.com>
Tue, 5 May 2015 12:50:27 +0000 (14:50 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 18 May 2015 17:35:04 +0000 (13:35 -0400)
commit21655afc627c2f93661617ed9022830cb9248034
tree0cf0e13e10bb4137d99e7835a9a76b40dac025e3
parent55045b2577affdb68c4d70128f47751e07db75b8
IB/Verbs: Reform cm related part in IB-core cma/ucm

Use raw management helpers to reform cm related part in IB-core cma/ucm.

Few checks focus on the device cm type rather than the port capability,
directly pass port 1 works currently, but can't support mixing cm type
device in future.

Signed-off-by: Michael Wang <yun.wang@profitbricks.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Tested-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Sean Hefty <sean.hefty@intel.com>
Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Tested-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cma.c
drivers/infiniband/core/ucm.c