diff options
author | 2024-10-30 13:43:11 +0100 | |
---|---|---|
committer | 2024-11-03 14:28:37 -0800 | |
commit | 0c30d6eedd1ec0c1382bcab9576d26413cd278a3 (patch) | |
tree | 5a5df895391221a29ecb3d3363de4fe8e88858bf /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: macb: avoid redundant lookup for "mdio" child node in MDIO setup (diff) | |
download | wireguard-linux-0c30d6eedd1ec0c1382bcab9576d26413cd278a3.tar.xz wireguard-linux-0c30d6eedd1ec0c1382bcab9576d26413cd278a3.zip |
ipvlan: Prepare ipvlan_process_v4_outbound() 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/f48335504a05b3587e0081a9b4511e0761571ca5.1730292157.git.gnault@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions