]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
IB/rdmavt: Fix send scheduling
authorJubin John <jubin.john@intel.com>
Tue, 12 Apr 2016 17:47:00 +0000 (10:47 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 28 Apr 2016 16:00:39 +0000 (12:00 -0400)
commite6d2e0176e1f3c1e1534851b66c0b972f03ff069
treee06b598385a9d2d070a4d1f2d6f02537be834909
parent849e3e9398608c26a7c54bf9fbf3288f7ced6bfb
IB/rdmavt: Fix send scheduling

call_send is used to determine whether to send immediately or schedule
a send for later. The current logic in rdmavt is inverted and has a
negative impact on the latency of the hfi1 and qib drivers. Fix this
regression by correctly calling send immediately when call_send is set.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rdmavt/qp.c