summaryrefslogtreecommitdiff
path: root/include/net/llc_conn.h
diff options
context:
space:
mode:
authorOctavian Purdila <opurdila@ixiacom.com>2009-12-26 11:51:04 +0000
committerDavid S. Miller <davem@davemloft.net>2009-12-26 20:43:57 -0800
commit6d2e3ea284463d5ab34e9cf2a41d0b8627b95d02 (patch)
tree86ee780b06adfe388ac64dd66ece598be69b29ec /include/net/llc_conn.h
parent0f7b67dd9e1192976f5e5a78934c7a339ff7c45f (diff)
downloadlinux-riscv-6d2e3ea284463d5ab34e9cf2a41d0b8627b95d02.tar.gz
linux-riscv-6d2e3ea284463d5ab34e9cf2a41d0b8627b95d02.tar.bz2
linux-riscv-6d2e3ea284463d5ab34e9cf2a41d0b8627b95d02.zip
llc: use a device based hash table to speed up multicast delivery
This patch adds a per SAP device based hash table to solve the multicast delivery scalability issue when we have large number of interfaces and a large number of sockets bound to the same SAP. Signed-off-by: Octavian Purdila <opurdila@ixiacom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/llc_conn.h')
-rw-r--r--include/net/llc_conn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/llc_conn.h b/include/net/llc_conn.h
index fe982fd94c4a..2f97d8ddce92 100644
--- a/include/net/llc_conn.h
+++ b/include/net/llc_conn.h
@@ -77,6 +77,7 @@ struct llc_sock {
received and caused sending FRMR.
Used for resending FRMR */
u32 cmsg_flags;
+ struct hlist_node dev_hash_node;
};
static inline struct llc_sock *llc_sk(const struct sock *sk)