[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161102.112618.743617399868353432.davem@davemloft.net>
Date: Wed, 02 Nov 2016 11:26:18 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: roopa@...ulusnetworks.com, eric.dumazet@...il.com,
idosch@...sch.org, netdev@...r.kernel.org, jiri@...lanox.com,
mlxsw@...lanox.com, dsa@...ulusnetworks.com,
nikolay@...ulusnetworks.com, andy@...yhouse.net,
vivien.didelot@...oirfairelinux.com, andrew@...n.ch,
f.fainelli@...il.com, alexander.h.duyck@...el.com,
kuznet@....inr.ac.ru, jmorris@...ei.org, yoshfuji@...ux-ipv6.org,
kaber@...sh.net, idosch@...lanox.com
Subject: Re: [PATCH net-next v2] ipv4: fib: Replay events when registering
FIB notifier
From: Jiri Pirko <jiri@...nulli.us>
Date: Wed, 2 Nov 2016 08:35:02 +0100
> How do you imagine this mode should looks like? Could you draw me some
> example?
Well, first of all, there is no reason we can't provide a mechanism by
which the driver can request and obtain a FIB dump.
And it can be designed in a way to be preemptible or at least not
require RTNL to be held during the entire operation. Sequence
counters or similar can be used to make sure that if the table changes
mid-dump due to RTNL being dropped, the dump can be rewound and
restarted.
Powered by blists - more mailing lists