staging/rdma/hfi1: Thread the receive interrupt.
authorDean Luick <dean.luick@intel.com>
Mon, 26 Oct 2015 14:28:44 +0000 (10:28 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 08:45:51 +0000 (17:45 +0900)
commitf4f30031c33cdff10c87d0a56ef575508ed7b54d
treee44c81de497867e1f02fe989e85a9bbabfe687a8
parentb77d713a310b5c6eba13e9c394bcf0b085c4a49d
staging/rdma/hfi1: Thread the receive interrupt.

When under heavy load, the receive interrupt handler can run too long with IRQs
disabled.  Add a mixed-mode threading scheme.  Initially process packets in the
handler for quick responses (latency).  If there are too many packets to
process move to a thread to continue (bandwidth).

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/chip.c
drivers/staging/rdma/hfi1/driver.c
drivers/staging/rdma/hfi1/hfi.h
drivers/staging/rdma/hfi1/sdma.c
This page took 0.049207 seconds and 5 git commands to generate.