IB/hfi1: Move QOS decision logic into its own function
authorDean Luick <dean.luick@intel.com>
Tue, 12 Apr 2016 18:31:11 +0000 (11:31 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:28 +0000 (16:32 -0400)
commit4a818bedf7b6087f4bbf875847b11f1946775934
tree51bcd493d89ea9db3697616d9cb180b2e08c4aae
parent372cc85a13c97d6c743cb8df25b52fa5e93d73f6
IB/hfi1: Move QOS decision logic into its own function

The decision to use QOS affects other resource allocation.
Move the QOS decision logic into its own function so it can
be called by other interested parties.

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