diff options
author | 2024-11-08 17:47:15 +0100 | |
---|---|---|
committer | 2024-11-14 19:07:49 -0800 | |
commit | dab9c6307161adc626dd21b8e9596a289e714155 (patch) | |
tree | 778fb99516e67a55c87633274eeedb63c1810c86 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bpf: ipv4: Prepare __bpf_redirect_neigh_v4() to future .flowi4_tos conversion. (diff) | |
download | linux-rng-dab9c6307161adc626dd21b8e9596a289e714155.tar.xz linux-rng-dab9c6307161adc626dd21b8e9596a289e714155.zip |
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions