[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 10 Oct 2017 13:31:59 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Jiri Pirko' <jiri@...nulli.us>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: "davem@...emloft.net" <davem@...emloft.net>,
"jhs@...atatu.com" <jhs@...atatu.com>,
"xiyou.wangcong@...il.com" <xiyou.wangcong@...il.com>,
"saeedm@...lanox.com" <saeedm@...lanox.com>,
"matanb@...lanox.com" <matanb@...lanox.com>,
"leonro@...lanox.com" <leonro@...lanox.com>,
"mlxsw@...lanox.com" <mlxsw@...lanox.com>
Subject: RE: [patch net-next 2/4] net: sched: introduce per-egress action
device callbacks
From: Jiri Pirko
> Sent: 10 October 2017 08:30
> Introduce infrastructure that allows drivers to register callbacks that
> are called whenever tc would offload inserted rule and specified device
> acts as tc action egress device.
How does a driver safely unregister a callback?
(to avoid a race with the callback being called.)
Usually this requires a callback in the context that makes the
notification callbacks indicating that no more such callbacks
will be made.
David
Powered by blists - more mailing lists