]> git.baikalelectronics.ru Git - kernel.git/commit
IB/hfi1: Fix QOS rule mappings
authorDean Luick <dean.luick@intel.com>
Tue, 12 Apr 2016 17:50:22 +0000 (10:50 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 20:32:27 +0000 (16:32 -0400)
commit73f7480e8771c09ede9bfcecaa03f004cca9bc2e
treef3b0a525967e79c5c0505c8ff8cd611185318b94
parentbf73e38c613fb7c57964fc09b79a9fa548a4fd81
IB/hfi1: Fix QOS rule mappings

The QOS RSM rule mappings are off by one, referencing a kernel receive
context that does not exist.

Correctly start the QOS RSM map entries at FIRST_KERNEL_CONTEXT rather
than MIN_KERNEL_KCTXTS.  Remove the cruft that hid this.

Change the QP map table so all traffic not caught by QOS RSM goes to
the control context rather than the first QOS context.

Correct comments to match the actual code operation and intent.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@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