]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
IB/hfi1: Remove multiple device cdev
authorDennis Dalessandro <dennis.dalessandro@intel.com>
Thu, 19 May 2016 12:25:50 +0000 (05:25 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 26 May 2016 15:23:17 +0000 (11:23 -0400)
commit0eb626590dcf1280c6d01a784e9d53a3de6d5e8e
treefa8a4b60c2b69da52801b79fa61add9f75da7075
parentf3225c3f1107104f5e143797550476182b844cfb
IB/hfi1: Remove multiple device cdev

hfi1 current exports a cdev that can be used to target all of the hfi's
in the system. However there is a problem with this approach in
that the devices could be on different subnets. This is a problem that
user space can figure out and explicitly tell the driver on which device
to create a context.

Remove the multi-purpose cdev leaving a dedicated cdev for each port.
Also remove the striping capability that is dependent upon the user
choosing the multi-purpose cdev. It is now up to user space to determine
how to stripe contexts.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Reviewed-by: Mitko Haralanov <mitko.haralanov@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/file_ops.c
include/uapi/rdma/hfi/hfi1_user.h