diff options
author | Amit Cohen <amcohen@nvidia.com> | 2021-02-07 10:22:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-08 16:47:02 -0800 |
commit | 49fc251360a10e6bff0d886c9e3c62008a1c4caf (patch) | |
tree | 49b5ac0d68c35fd3b0d5f1f3c000540da08351b0 /net/ipv4/fib_semantics.c | |
parent | 08cbabb77e9098ec6c4a35911effac53e943c331 (diff) | |
download | linux-49fc251360a10e6bff0d886c9e3c62008a1c4caf.tar.gz linux-49fc251360a10e6bff0d886c9e3c62008a1c4caf.tar.bz2 linux-49fc251360a10e6bff0d886c9e3c62008a1c4caf.zip |
rtnetlink: Add RTM_F_OFFLOAD_FAILED flag
The flag indicates to user space that route offload failed.
Previous patch set added the ability to emit RTM_NEWROUTE notifications
whenever RTM_F_OFFLOAD/RTM_F_TRAP flags are changed, but if the offload
fails there is no indication to user-space.
The flag will be used in subsequent patches by netdevsim and mlxsw to
indicate to user space that route offload failed, so that users will
have better visibility into the offload process.
Signed-off-by: Amit Cohen <amcohen@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_semantics.c')
0 files changed, 0 insertions, 0 deletions