]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/infiniband/hw/hfi1/driver.c
staging/rdma/hfi1: optionally prescan rx queue for {B, F}ECNs - UC, RC
authorArthur Kepner <arthur.kepner@intel.com>
Thu, 5 Nov 2015 02:10:10 +0000 (21:10 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commit977940b85e3c3b6b5b8ffbc1235b23e35284382f
treece788b2a278e6ddd2d52dd8663fbf2c158ac3458
parent3e7ccca08dbe46665ca432d09a5472d80aaadb6f
staging/rdma/hfi1: optionally prescan rx queue for {B, F}ECNs - UC, RC

To more rapidly respond to Explicit Congestion Notifications, prescan the
receive queue, and process FECNs, and BECNs first.  When a UC, or RC packet
containing a FECN, or BECN is found, immediately react to the ECN (either by
returning a CNP, or adjusting the injection rate). Afterward, the packet will
be processed normally.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Arthur Kepner <arthur.kepner@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/driver.c
drivers/staging/rdma/hfi1/rc.c
drivers/staging/rdma/hfi1/uc.c
drivers/staging/rdma/hfi1/verbs.c