OSDN Git Service

staging/rdma/hfi1: use one-shot LCB write
authorDean Luick <dean.luick@intel.com>
Sat, 7 Nov 2015 01:07:04 +0000 (20:07 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commit3bf40d65dcbfd7335680ffbc59e83a3671682472
treef1358472e60f2decd6021b088100113f67bcebf9
parenta03a03e956c2cb8d0c69d33edb149c6a64584a48
staging/rdma/hfi1: use one-shot LCB write

Use the one-shot LCB write implemented in the 8051 firmware.
This speeds up 8051 LCB writes by 2x.  Use old method for older
firmwares.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rdma/hfi1/chip.c
drivers/staging/rdma/hfi1/chip.h