diff options
author | Roland Dreier <rolandd@cisco.com> | 2007-07-10 13:43:53 -0700 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-07-10 13:43:53 -0700 |
commit | 1b844afe9e67d6cd441ae6df71051b4004f31dd2 (patch) | |
tree | 4242f07678723cded8e36bd3e4e60d926e08647e /include/rdma | |
parent | 8909c571fa1e62e254c4045394e6eaccfadec6f4 (diff) | |
download | linux-stable-1b844afe9e67d6cd441ae6df71051b4004f31dd2.tar.gz linux-stable-1b844afe9e67d6cd441ae6df71051b4004f31dd2.tar.bz2 linux-stable-1b844afe9e67d6cd441ae6df71051b4004f31dd2.zip |
IPoIB: Recycle loopback skbs instead of freeing and reallocating
InfiniBand HCAs replicate multicast packets back to the QP that sent
them if that QP is attached to the destination multicast group. This
means that IPoIB multicasts are often replicated back to the receive
queue of the interface that generated them. To avoid confusing the
network stack, we drop these duplicates within the IPoIB driver.
However, there's no reason to free the skb that received the duplicate
and then immediately allocate a new skb to post to the receive queue.
We can be more efficient and just repost the same skb.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions