diff options
author | Mike Marciniszyn <mike.marciniszyn@qlogic.com> | 2011-09-23 13:16:29 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2011-10-21 09:38:49 -0700 |
commit | 2fc109c890f7d9620cfed8d439be071a8b2a8bbd (patch) | |
tree | 4d00e76ae4ea129a68321993bdb4190b3c7bca02 /drivers/infiniband/hw/qib/qib_qp.c | |
parent | 53ab1c6498371723c31b18400fab10a902a15a63 (diff) | |
download | op-kernel-dev-2fc109c890f7d9620cfed8d439be071a8b2a8bbd.zip op-kernel-dev-2fc109c890f7d9620cfed8d439be071a8b2a8bbd.tar.gz |
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 'drivers/infiniband/hw/qib/qib_qp.c')
0 files changed, 0 insertions, 0 deletions