IB/hfi1: Create a routine to set a receive side mapping rule
authorDean Luick <dean.luick@intel.com>
Tue, 12 Apr 2016 18:31:33 +0000 (11:31 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:28 +0000 (16:32 -0400)
commitb12349ae13e13b9d07dfda4c1484f91c44c4b469
treef17c19236a80f75a61ed05c26844ccc2069fdcaf
parent4a818bedf7b6087f4bbf875847b11f1946775934
IB/hfi1: Create a routine to set a receive side mapping rule

Move the rule setting code into its own routine for improved
searchability and reuse.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/staging/rdma/hfi1/chip.c