diff options
author | Ralph Campbell <ralph.campbell@qlogic.com> | 2008-12-02 05:59:08 +0100 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-12-02 05:59:08 +0100 |
commit | 7c37d74474c8ee8ddcd5a2d2a9571d4a1290c844 (patch) | |
tree | d44fb97adfa0b036d0a0db193b3273eff5616246 /drivers/spi | |
parent | IB/ipath: Fix pointer-to-pointer thinko in ipath_fs.c (diff) | |
download | linux-7c37d74474c8ee8ddcd5a2d2a9571d4a1290c844.tar.xz linux-7c37d74474c8ee8ddcd5a2d2a9571d4a1290c844.zip |
IB/ipath: Improve UD loopback performance by allocating temp array only once
Receive work queue entries are checked for L_Key validity, and
pointers to the memory region structure are saved in an allocated
structure. For UD loopback packets, this structure is allocated and
freed for each packet. This patch changes that to allocate/free
during QP creation and destruction.
Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions