Rafał Miłecki
57cad53f4e
bcm4908: enable & setup packet steering
Without packet steering NAT masquarade speed on BCM4908 /jumps/ between
two speeds:
1. 826 Mb/s (±3 Mb/s)
2. 909 Mb/s (±8 Mb/s)
and it never reaches ~940 Mb/s.
Proper packet steering can improve it. Below are testing results for
running iperf TCP traffic from LAN to WAN. They were used to pick up
golden values.
┌──────────┬──────────┬───────────┐
│ eth0 │ br-lan │ speed │
│ rps_cpus │ rps_cpus │ [Mbps] │
├──────────┼──────────┼───────────┤
│ 0 │ 0 │ 743 / 804 │
│ 0 │ 1 │ 738 / 821 │
│ 0 │ 2 │ ✓ 940 │
│ 0 │ 4 │ ✓ 938 │
│ 0 │ 8 │ ✓ 941 │
├──────────┼──────────┼───────────┤
│ 1 │ 0 │ 829 │
│ 1 │ 1 │ 829 │
│ 1 │ 2 │ ✓ 942 │
│ 1 │ 4 │ ✓ 941 │
│ 1 │ 8 │ ✓ 941 │
├──────────┼──────────┼───────────┤
│ 2 │ 0 │ ✓ 942 │
│ 2 │ 1 │ 926 │
│ 2 │ 2 │ ✓ 942 │
│ 2 │ 4 │ ✓ 942 │
│ 2 │ 8 │ ✓ 941 │
├──────────┼──────────┼───────────┤
│ 4 │ 0 │ ✓ 941 │
│ 4 │ 1 │ 925 │
│ 4 │ 2 │ ✓ 941 │
│ 4 │ 4 │ ✓ 941 │
│ 4 │ 8 │ ✓ 941 │
├──────────┼──────────┼───────────┤
│ 8 │ 0 │ ✓ 942 │
│ 8 │ 1 │ 925 │
│ 8 │ 2 │ ✓ 941 │
│ 8 │ 4 │ ✓ 942 │
│ 8 │ 8 │ ✓ 942 │
└──────────┴──────────┴───────────┘
Ref: fcbd39689e ("bcm53xx: enable & setup packet steering")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2022-07-28 17:46:33 +02:00
..
2022-06-29 23:38:47 +02:00
2022-06-24 17:10:24 +02:00
2022-06-24 17:10:24 +02:00
2022-07-18 23:14:30 +02:00
2022-06-24 17:10:24 +02:00
2022-07-14 12:51:16 +02:00
2022-07-11 23:39:13 +01:00
2022-06-27 00:57:15 +02:00
2022-07-17 18:44:41 +02:00
2022-07-17 18:44:41 +02:00
2022-07-28 17:46:33 +02:00
2022-06-24 17:10:24 +02:00
2022-06-24 17:10:24 +02:00
2022-07-28 14:08:56 +02:00
2022-07-11 14:28:09 +02:00
2022-07-18 01:45:47 +02:00
2022-07-22 22:03:27 +02:00
2022-06-24 17:10:24 +02:00
2022-07-22 22:05:23 +02:00
2022-06-29 12:34:49 +02:00
2022-06-24 17:10:24 +02:00
2022-07-19 14:26:30 +02:00
2022-06-27 00:57:15 +02:00
2022-07-04 18:36:09 +01:00
2022-06-24 17:10:24 +02:00
2022-06-24 23:59:14 +02:00
2022-06-24 17:10:24 +02:00
2022-06-24 17:10:24 +02:00
2022-06-27 00:57:15 +02:00
2022-07-08 10:19:58 +02:00
2022-07-01 16:26:51 +03:00
2022-07-20 21:52:06 +02:00
2022-07-28 16:45:19 +02:00
2022-07-07 13:13:26 +02:00
2022-06-24 17:10:24 +02:00
2022-06-24 17:10:24 +02:00
2022-06-24 17:10:24 +02:00
2022-06-29 00:57:57 +02:00
2022-06-24 17:10:24 +02:00