]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit54d2f4a37e6f183fc43a4e6642a8d522c564cc11
tree51bcd493d89ea9db3697616d9cb180b2e08c4aae
parent8d84c9d82a339083dc6f912ca9b1dbbe6538cf61
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