| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] improvement on net/sched/cls_fw.c's hash function |
| From: | Wang Jian <lark@xxxxxxxxxxxx> |
| Date: | Tue, 05 Apr 2005 13:35:02 +0800 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Hi, This is a simple patch against net/sched/cls_fw.c. The idea of this patch is discussed in this thread https://lists.netfilter.org/pipermail/netfilter-devel/2005-March/018762.html I chose 509 for FW_FILTER_HSIZE. If you feel it is waste of memory, then 251 is good too. BTW: I don't know much about hash performance and hash distribution of jhash. This is a quick fix. -- lark
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Netlink Connector / CBUS, James Morris |
|---|---|
| Next by Date: | Re: [PATCH] improvement on net/sched/cls_fw.c's hash function, David S. Miller |
| Previous by Thread: | Netlink Connector / CBUS, James Morris |
| Next by Thread: | Re: [PATCH] improvement on net/sched/cls_fw.c's hash function, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |