Commit ba838123 authored by Ido Schimmel's avatar Ido Schimmel Committed by David S. Miller

net: fib_notifier: Add temporary events to the FIB notification chain

Subsequent patches are going to simplify the IPv4 route offload API,
which will only use two events - replace and delete.

Introduce a temporary version of these two events in order to make the
conversion easier to review.
Signed-off-by: default avatarIdo Schimmel <idosch@mellanox.com>
Reviewed-by: default avatarDavid Ahern <dsahern@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 366c7bb0
...@@ -23,6 +23,8 @@ enum fib_event_type { ...@@ -23,6 +23,8 @@ enum fib_event_type {
FIB_EVENT_NH_DEL, FIB_EVENT_NH_DEL,
FIB_EVENT_VIF_ADD, FIB_EVENT_VIF_ADD,
FIB_EVENT_VIF_DEL, FIB_EVENT_VIF_DEL,
FIB_EVENT_ENTRY_REPLACE_TMP,
FIB_EVENT_ENTRY_DEL_TMP,
}; };
struct fib_notifier_ops { struct fib_notifier_ops {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment