summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2022-10-25 14:51:43 -0500
committerPaolo Abeni <pabeni@redhat.com>2022-10-27 13:38:13 +0200
commitf787d84830152be76b76470ac865d2033285c2d9 (patch)
treec33bde78d4dd627559ef856494327761aba4e914 /tools/perf/scripts/python/export-to-sqlite.py
parent8defab8bdfb1d0dc4e4e3c687cfde33b596896f7 (diff)
net: ipa: determine filter table size from memory region
Currently we assume that any filter table contains a fixed number of entries. Like routing tables, the number of entries in a filter table is limited only by the size of the IPA-local memory region used to hold the table. Stop assuming that a filter table has exactly 14 entries. Instead, determine the number of entries in a routing table by dividing its memory region size by the size of an entry. (Note that the first "entry" in a filter table contains an endpoint bitmap.) Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions