On 3/1/2012 6:14 AM, Michael S. Tsirkin wrote:
On Wed, Feb 29, 2012 at 09:25:56AM -0800, John Fastabend wrote:
quoted
Agreed. I think adding some ndo_ops for bridging offloads here would
work. For example the DSA infrastructure and/or macvlan devices might
need this. Along the lines of extending this RFC,
[RFC] hardware bridging support for DSA switches
http://patchwork.ozlabs.org/patch/16578/
.John
One place where this might not work well would be
macvtap which is not a network device so it doesn't have
its own address, instead it inherits one from macvlan.
But is macvtap really doing any forwarding or implementing any
RX filters? Took a quick scan and it looks like the forwarding
logic is all in the macvlan code paths. In this case I suspect
if we enable macvlan then any device built on top of it would
work.
.John