lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20100115.005029.214418777.davem@davemloft.net> Date: Fri, 15 Jan 2010 00:50:29 -0800 (PST) From: David Miller <davem@...emloft.net> To: xiaosuo@...il.com Cc: therbert@...gle.com, netdev@...r.kernel.org, netfilter-devel@...r.kernel.org Subject: Re: [PATCH v5] rps: Receive Packet Steering From: Changli Gao <xiaosuo@...il.com> Date: Fri, 15 Jan 2010 10:22:03 +0800 > For connection based packet processing, such as netfilter, > distributing the packets in two directions into one CPU will reduce > cache miss, when NAT isn't used. I think the code bellow will help: > if (addr1 > addr2) > swap(addr1, addr2); You can't just do the addresses, the ports will swap too. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists