commit | 3da4cb6657346cbd78d00974c88d67824e57b4c5 | [log] [tgz] |
---|---|---|
author | Yuyang Huang <yuyanghuang@google.com> | Fri Mar 21 15:35:53 2025 +0900 |
committer | Yuyang Huang <yuyanghuang@google.com> | Fri Mar 21 18:12:42 2025 +0900 |
tree | 5183d3e635db98ceabfe725dad050ea76e1f8179 | |
parent | caacbacc3b317a1678c50e5bc0ea2e8332b28ee3 [diff] |
Use JBSMATCH opcode for ethernet address matching This commit refactors the code to use the JBSMATCH opcode when possible for ethernet address matching, improving code density. Before: 03-21 14:43:07.523 28553 28566 I ApfFilterTest: all feature on, program size: 4503 After: 03-21 16:43:22.941 1490 1510 I ApfFilterTest: all feature on, program size: 4446 Test: TH Change-Id: Id2f20bdfe2da579b3f1d8e441533532aaee2816d