commit | bbb549957ac97e8b14c53775041a8189bfce3119 | [log] [tgz] |
---|---|---|
author | Maciej Żenczykowski <maze@google.com> | Thu Aug 29 18:15:30 2024 -0700 |
committer | Maciej Żenczykowski <maze@google.com> | Wed Sep 04 18:58:29 2024 -0700 |
tree | a74b73be2da9bdd2052fd2e7963cc1e895655a64 | |
parent | 5e7247d92236a4ef078a1469eff261e824e3edf5 [diff] |
dscpPolicy: assume cache lookup always succeeds (though it might miss) By construction it cannot actually fail, since per_cpu_array[cookie % nr_entries_per_cpu] is always a valid array item... This allows us to do direct per-cpu write into the cache instead of going via bpf map update helper function Test: TreeHugger, atest CtsNetTestCases:android.net.cts.DscpPolicyTest^C Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I8a70ae341b21202db88877856522288149a54f31