[PATCH] IB: Optimize canceling a MAD
authorHal Rosenstock <halr@voltaire.com>
Wed, 27 Jul 2005 18:45:32 +0000 (11:45 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 27 Jul 2005 23:26:11 +0000 (16:26 -0700)
commit29bb33dd87dbe8db07c2b19df3fb453d999c96de
treebe4e391cf2c79e618a934a2b0fb9c2bd4a053e6b
parent03b61ad2f29295f019e095d0f490f30a4d678d3f
[PATCH] IB: Optimize canceling a MAD

Optimize canceling a MAD.
- Eliminate searching timeout list in cancel case.
- Remove duplicate calls to queue work item.
- Eliminate resending a MAD before MAD is completed.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Hal Rosenstock <halr@voltaire.com>
Cc: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/infiniband/core/mad.c