diff options
author | Steen Hegelund <steen.hegelund@microchip.com> | 2022-11-11 14:05:16 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-11-14 11:24:17 +0000 |
commit | 990e483981ea739b1064eadc426d986ab8880169 (patch) | |
tree | c68be1c63502f203485b425fd15790ad7163e906 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3a344f99bb55cdaa15b5eccb1a9b9b88e5ce2f48 (diff) |
net: microchip: sparx5: Add/delete rules in sorted order
This adds a sorting criteria to rule insertion and deletion.
The criteria is (in the listed order):
- Rule size (largest size first)
- User (based on an enumerated user value)
- Priority (highest priority first, aka lowest value)
When a rule is deleted the other rules may need to be moved to fill the gap
to use the available VCAP address space in the best possible way.
Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions