diff options
author | Mike Marciniszyn <mike.marciniszyn@qlogic.com> | 2011-09-23 17:16:29 (GMT) |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2011-10-21 16:38:49 (GMT) |
commit | 2fc109c890f7d9620cfed8d439be071a8b2a8bbd (patch) | |
tree | 4d00e76ae4ea129a68321993bdb4190b3c7bca02 /fs/afs | |
parent | 53ab1c6498371723c31b18400fab10a902a15a63 (diff) | |
download | linux-2fc109c890f7d9620cfed8d439be071a8b2a8bbd.tar.xz |
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>
Diffstat (limited to 'fs/afs')
0 files changed, 0 insertions, 0 deletions