commit | 2fc109c890f7d9620cfed8d439be071a8b2a8bbd | [log] [tgz] |
---|---|---|
author | Mike Marciniszyn <mike.marciniszyn@qlogic.com> | Fri Sep 23 13:16:29 2011 -0400 |
committer | Roland Dreier <roland@purestorage.com> | Fri Oct 21 09:38:49 2011 -0700 |
tree | 4d00e76ae4ea129a68321993bdb4190b3c7bca02 | |
parent | 53ab1c6498371723c31b18400fab10a902a15a63 [diff] |
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 <mike.marciniszyn@qlogic.com> Signed-off-by: Roland Dreier <roland@purestorage.com>