[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181123.180244.2269656658446733343.davem@davemloft.net>
Date: Fri, 23 Nov 2018 18:02:44 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: petrm@...lanox.com
Cc: netdev@...r.kernel.org, devel@...verdev.osuosl.org,
jiri@...lanox.com, idosch@...lanox.com,
alexandre.belloni@...tlin.com, ruxandra.radulescu@....com,
ioana.ciornei@....com, gregkh@...uxfoundation.org,
ivecera@...hat.com, andrew@...n.ch,
vivien.didelot@...oirfairelinux.com, f.fainelli@...il.com
Subject: Re: [PATCH net-next 00/12] switchdev: Convert
switchdev_port_obj_{add,del}() to notifiers
From: Petr Machata <petrm@...lanox.com>
Date: Thu, 22 Nov 2018 23:27:52 +0000
> An offloading driver may need to have access to switchdev events on
> ports that aren't directly under its control. An example is a VXLAN port
> attached to a bridge offloaded by a driver. The driver needs to know
> about VLANs configured on the VXLAN device. However the VXLAN device
> isn't stashed between the bridge and a front-panel-port device (such as
> is the case e.g. for LAG devices), so the usual switchdev ops don't
> reach the driver.
>
> VXLAN is likely not the only device type like this: in theory any L2
> tunnel device that needs offloading will prompt requirement of this
> sort.
>
> A way to fix this is to give up the notion of port object addition /
> deletion as a switchdev operation, which assumes somewhat tight coupling
> between the message producer and consumer. And instead send the message
> over a notifier chain.
...
Series applied, thank you.
Powered by blists - more mailing lists