diff options
author | Paolo Abeni <pabeni@redhat.com> | 2023-02-07 21:44:55 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-02-10 04:45:55 +0300 |
commit | 135746c61fa6d7f66dc079027304eaa4d35fe942 (patch) | |
tree | 95f7db4dac75e9d285537a3d8a0495dc47f93cf5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8697a258ae24703267d2a37d91ab757c91ef027e (diff) | |
download | linux-135746c61fa6d7f66dc079027304eaa4d35fe942.tar.xz |
net-sysctl: factor out cpumask parsing helper
Will be used by the following patch to avoid code
duplication. No functional changes intended.
The only difference is that now flow_limit_cpu_sysctl() will
always compute the flow limit mask on each read operation,
even when read() will not return any byte to user-space.
Note that the new helper is placed under a new #ifdef at
the file start to better fit the usage in the later patch
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions