Rafał Miłecki
36bab9266f
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>
(cherry picked from commit 57cad53f4e)
2022-09-02 12:24:19 +02:00
..
2022-05-18 00:10:34 +02:00
2021-05-26 23:36:40 +02:00
2021-09-13 18:49:15 +02:00
2021-04-11 16:54:22 +02:00
2021-06-08 22:50:32 +02:00
2021-07-19 22:47:17 +02:00
2022-08-28 08:32:02 +02:00
2022-07-03 19:58:31 +02:00
2021-03-17 23:38:46 +01:00
2022-07-18 09:12:17 +02:00
2022-07-18 09:12:17 +02:00
2022-09-02 12:24:19 +02:00
2021-10-02 16:05:34 +02:00
2022-07-18 19:30:53 +02:00
2021-04-11 16:54:22 +02:00
2022-08-28 08:17:55 +02:00
2022-07-23 00:25:50 +02:00
2021-09-13 15:24:35 +02:00
2022-07-03 19:58:31 +02:00
2022-07-03 19:58:31 +02:00
2021-02-10 15:47:18 +01:00
2022-07-15 15:55:45 +02:00
2021-07-13 22:19:23 +02:00
2022-07-03 20:01:47 +02:00
2021-02-10 15:47:23 +01:00
2022-07-29 15:10:21 +02:00
2022-02-12 19:41:39 +01:00
2021-04-11 16:54:22 +02:00
2022-07-03 19:58:31 +02:00
2021-03-17 21:24:22 +01:00
2022-08-28 08:14:45 +02:00
2021-12-12 20:08:17 +01:00
2021-09-24 12:29:22 +02:00
2022-08-28 08:12:39 +02:00
2021-04-11 16:54:22 +02:00
2021-02-10 15:47:18 +01:00
2022-07-04 01:35:37 +02:00
2021-04-11 16:54:22 +02:00
2021-02-10 15:47:18 +01:00