From: Mike Marciniszyn Date: Fri, 23 Sep 2011 17:16:29 +0000 (-0400) Subject: IB/qib: Optimize RC/UC code by IB operation X-Git-Tag: v3.2-rc1~104^2^11~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fc109c890f7d9620cfed8d439be071a8b2a8bbd;p=pandora-kernel.git IB/qib: Optimize RC/UC code by IB operation The memset for zeroing work completions had been unconditional. This patch removes the memset and moves the zeroing into the work completion with a more explicit field by field set. With this patch, non-ONLY/non-LAST packets will avoid the overhead since they will not generate a completion. Signed-off-by: Mike Marciniszyn Signed-off-by: Roland Dreier --- Reading git-diff-tree failed