]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Extract RSM map table init from QOS
authorDean Luick <dean.luick@intel.com>
Tue, 12 Apr 2016 18:30:51 +0000 (11:30 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:28 +0000 (16:32 -0400)
commit4b4a83afaa05bbd8cdd9ebe7ac3daf16aefe477a
treefa210ca5bf4b8fc0072be8050ae917d7ca7fd8b1
parenteb9c8593b0390888fca39a89280b5167c3b6cf54
IB/hfi1: Extract RSM map table init from QOS

Refactor the allocation, tracking, and writing of the RSM map table
into its own set of routines.  This will allow the map table to be
passed to multiple users to fill in as needed.  Start with the original
user, QOS.

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
drivers/staging/rdma/hfi1/chip_registers.h