diff options
author | Octavian Purdila <opurdila@ixiacom.com> | 2009-12-26 06:51:04 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-26 23:43:57 -0500 |
commit | 6d2e3ea284463d5ab34e9cf2a41d0b8627b95d02 (patch) | |
tree | 86ee780b06adfe388ac64dd66ece598be69b29ec /include/net/llc_conn.h | |
parent | 0f7b67dd9e1192976f5e5a78934c7a339ff7c45f (diff) |
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.h | 1 |
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 { | |||
77 | received and caused sending FRMR. | 77 | received and caused sending FRMR. |
78 | Used for resending FRMR */ | 78 | Used for resending FRMR */ |
79 | u32 cmsg_flags; | 79 | u32 cmsg_flags; |
80 | struct hlist_node dev_hash_node; | ||
80 | }; | 81 | }; |
81 | 82 | ||
82 | static inline struct llc_sock *llc_sk(const struct sock *sk) | 83 | static inline struct llc_sock *llc_sk(const struct sock *sk) |