[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1328821894.2089.3.camel@mojatatu>
Date: Thu, 09 Feb 2012 16:11:34 -0500
From: jamal <hadi@...erus.ca>
To: John Fastabend <john.r.fastabend@...el.com>
Cc: Stephen Hemminger <shemminger@...tta.com>,
bhutchings@...arflare.com, roprabhu@...co.com,
netdev@...r.kernel.org, mst@...hat.com, chrisw@...hat.com,
davem@...emloft.net, gregory.v.rose@...el.com, kvm@...r.kernel.org,
sri@...ibm.com
Subject: Re: [RFC PATCH v0 1/2] net: bridge: propagate FDB table into
hardware
On Thu, 2012-02-09 at 09:52 -0800, John Fastabend wrote:
> >> By netlink_notifier do you mean adding a notifier_block and using atomic_notifier_call_chain()
> >> probably in rtnl_notify()? Then drivers could register with the notifier chain with
> >> atomic_notifier_chain_register() and receive the events correctly. Or did I miss
> >> some notifier chain that already exists?
> >
> > Yes. that is what I mean. The callbacks you need may or may not already be present.
I'll go one step further.
This stuff shouldnt be in the kernel at all.
The disadvantage is you need a user space app to update the hardware.
i.e, the same mechanism should be usable for either a switch embedded
in a NIC or a standalone hardware switch (with/out the s/ware bridge
presence)
cheers,
jamal
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists