Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 14455fda authored by Maciej Żenczykowski's avatar Maciej Żenczykowski
Browse files

bpf_progs/offload.c - reduce memory usage by shrinking maps

Now that stats are cleared as soon as we turn off tethering
we no longer need to have 1000 entries in the per-interface
stats and limit maps.  In practice we'll usually have zero
(tethering inactive) or one (the active upstream tethering interface).

Test: atest
Bug: 150736748
Change-Id: I22447efac365baef8aa212a5c4732fed5c4ff98e
parent b77f5078
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment