diff options
author | Guillaume Nault <[email protected]> | 2024-10-22 11:48:00 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-10-29 11:21:05 -0700 |
commit | b76ebf22c578375e69b35061b5d47149efd957f9 (patch) | |
tree | b600a68c164dd322ef22426e218fc8b554b17d61 /tools/perf/scripts/python/libxed.py | |
parent | c093e2b9768b3a5cd7a37ea654cd47094519f843 (diff) |
ipv4: Prepare fib_compute_spec_dst() 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/a0eba69cce94f747e4c7516184a85ffd0abbe3f0.1729530028.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions