Home
last modified time | relevance | path

Searched hist:"49 fc2513" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/include/uapi/linux/
H A Drtnetlink.h49fc2513 Sun Feb 07 02:22:49 CST 2021 Amit Cohen <amcohen@nvidia.com> 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>