summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2021-01-28 15:49:20 +0300
committerJakub Kicinski <kuba@kernel.org>2021-01-29 07:49:53 +0300
commitb9ebea127661e8982c03065d99422dbf0f73e4d1 (patch)
treed6f7ddf65e5e2f6ecd4999fa94b04e120e9e1dfd /tools/perf/scripts/python
parent56450ec6b7fc2824d6402fc3a60bff1a6fe32c04 (diff)
downloadlinux-b9ebea127661e8982c03065d99422dbf0f73e4d1.tar.xz
nexthop: Extract a common helper for parsing dump attributes
Requests to dump nexthops have many attributes in common with those that requests to dump buckets of resilient NH groups will have. However, they have different policies. To allow reuse of this code, extract a policy-agnostic wrapper out of nh_valid_dump_req(), and convert this function into a thin wrapper around it. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions