]> git.baikalelectronics.ru Git - kernel.git/commit
i40iw: Simplify code to set fragments in SQ WQE
authorMustafa Ismail <mustafa.ismail@intel.com>
Tue, 12 Jul 2016 16:48:43 +0000 (11:48 -0500)
committerDoug Ledford <dledford@redhat.com>
Tue, 2 Aug 2016 18:17:38 +0000 (14:17 -0400)
commit84514cba7d4d54d69a1751a2c293d38e11e53388
treeab1248783bf6a181f5ab89ef9d55c2bbe9a9d469
parent924fceff3eccd6c3fef08467789f14ac55e2a52d
i40iw: Simplify code to set fragments in SQ WQE

Replace a subtract and multiply with an add; while populating fragments
in SQ wqe.

Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_uk.c