Eric Dumazet 08361aa807 netfilter: ip_tables: unfold two critical loops in ip_packet_match()
While doing oprofile tests I noticed two loops are not properly unrolled by gcc

Using a hand coded unrolled loop provides nice speedup : ipt_do_table
credited of 2.52 % of cpu instead of 3.29 % in tbench.

Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
2009-02-20 11:03:33 +01:00
..
2009-02-08 20:22:19 -08:00
2008-11-25 17:59:27 -08:00
2009-02-01 00:45:17 -08:00
2008-07-16 20:20:11 -07:00
2008-11-25 17:59:27 -08:00
2008-11-03 18:21:05 -08:00
2009-01-26 20:56:10 -08:00
2008-11-25 17:30:50 -08:00
2008-10-07 08:38:24 +11:00
2008-10-07 08:38:24 +11:00
2009-02-16 00:08:56 -08:00
2008-06-11 21:00:38 -07:00
2008-11-03 18:21:05 -08:00
2008-11-02 00:28:10 -07:00
2008-11-12 01:41:09 -08:00
2008-12-09 00:13:04 -08:00
2009-02-08 20:22:19 -08:00