summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorGuillaume Nault <gnault@redhat.com>2024-11-08 19:47:15 +0300
committerJakub Kicinski <kuba@kernel.org>2024-11-15 06:07:49 +0300
commitdab9c6307161adc626dd21b8e9596a289e714155 (patch)
tree778fb99516e67a55c87633274eeedb63c1810c86 /tools/perf/scripts/python/exported-sql-viewer.py
parentbfe086be5c4c644602e26840683dfdd893f22d04 (diff)
downloadlinux-dab9c6307161adc626dd21b8e9596a289e714155.tar.xz
bpf: lwtunnel: Prepare bpf_lwt_xmit_reroute() to future .flowi4_tos conversion.
Use ip4h_dscp() to get the DSCP from the IPv4 header, then convert the dscp_t value to __u8 with inet_dscp_to_dsfield(). Then, when we'll convert .flowi4_tos to dscp_t, we'll just have to drop the inet_dscp_to_dsfield() call. Signed-off-by: Guillaume Nault <gnault@redhat.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Link: https://patch.msgid.link/8338a12377c44f698a651d1ce357dd92bdf18120.1731064982.git.gnault@redhat.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions