On 3/15/17 5:05 AM, Jiri Pirko wrote: > From: Ido Schimmel <ido...@mellanox.com> > > Whenever a FIB rule is added or removed, a notification is sent in the > FIB notification chain. However, listeners don't have a way to tell > which rule was added or removed. > > This is problematic as we would like to give listeners the ability to > decide which action to execute based on the notified rule. Specifically, > offloading drivers should be able to determine if they support the > reflection of the notified FIB rule and flush their LPM tables in case > they don't. > > Do that by adding a notifier info to these notifications and embed the > common FIB rule struct in it. > > Signed-off-by: Ido Schimmel <ido...@mellanox.com> > Signed-off-by: Jiri Pirko <j...@mellanox.com> > --- > include/net/ip_fib.h | 5 +++++ > net/ipv4/fib_rules.c | 13 ++++++++----- > 2 files changed, 13 insertions(+), 5 deletions(-)
Acked-by: David Ahern <d...@cumulusnetworks.com>