diff options
| author | Guillaume Nault <[email protected]> | 2024-11-08 17:47:15 +0100 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-11-14 19:07:49 -0800 |
| commit | dab9c6307161adc626dd21b8e9596a289e714155 (patch) | |
| tree | 778fb99516e67a55c87633274eeedb63c1810c86 /tools/perf/scripts/python | |
| parent | bfe086be5c4c644602e26840683dfdd893f22d04 (diff) | |
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 <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Link: https://patch.msgid.link/8338a12377c44f698a651d1ce357dd92bdf18120.1731064982.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions