]> git.karo-electronics.de Git - linux-beck.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)
commitb494c3e6777cc1b8100bf7abbaf3b1eca4559c26
treeab1248783bf6a181f5ab89ef9d55c2bbe9a9d469
parentb54143bea991783830d0a0d1ba224c455d76ee8c
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