commit | 1845ed0bb29fa7864781021e0c8d06af318f358a | [log] [tgz] |
---|---|---|
author | Julian Anastasov <ja@ssi.bg> | Thu Mar 21 11:58:11 2013 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Tue Apr 02 00:23:45 2013 +0200 |
tree | 022aa226f2c66912dcd79c61606d21782e759e7f | |
parent | 088339a57d6042a8a19a3d5794594b558cd7b624 [diff] |
ipvs: reorder keys in connection structure __ip_vs_conn_in_get and ip_vs_conn_out_get are hot places. Optimize them, so that ports are matched first. By moving net and fwmark below, on 32-bit arch we can fit caddr in 32-byte cache line and all addresses in 64-byte cache line. Signed-off-by: Julian Anastasov <ja@ssi.bg> Signed-off by: Hans Schillstrom <hans@schillstrom.com> Signed-off-by: Simon Horman <horms@verge.net.au>