summaryrefslogtreecommitdiff
path: root/include/rdma/ib_mad.h
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2007-07-11 00:43:53 +0400
committerRoland Dreier <rolandd@cisco.com>2007-07-11 00:43:53 +0400
commit1b844afe9e67d6cd441ae6df71051b4004f31dd2 (patch)
tree4242f07678723cded8e36bd3e4e60d926e08647e /include/rdma/ib_mad.h
parent8909c571fa1e62e254c4045394e6eaccfadec6f4 (diff)
downloadlinux-1b844afe9e67d6cd441ae6df71051b4004f31dd2.tar.xz
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/ib_mad.h')
0 files changed, 0 insertions, 0 deletions