]> git.proxmox.com Git - mirror_iproute2.git/commit
ip route: Print "rt_offload_failed" indication
authorAmit Cohen <amcohen@nvidia.com>
Tue, 9 Feb 2021 09:12:00 +0000 (11:12 +0200)
committerDavid Ahern <dsahern@kernel.org>
Sun, 14 Feb 2021 00:50:15 +0000 (17:50 -0700)
commit33e2471e8f47a532123ee2642e97b6a425ac84ac
treeb614847080d06a4439cf3532bb6f7660071e686a
parent34de4b26bfcfb0d95bbf404e02d46efe3e2e8361
ip route: Print "rt_offload_failed" indication

The kernel signals when offload fails using the 'RTM_F_OFFLOAD_FAILED'
flag. Print it to help users understand the offload state of the route.
The "rt_" prefix is used in order to distinguish it from the offload state
of nexthops, similar to "rt_offload" and "rt_trap".

Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
ip/iproute.c