Thread (7 messages) flat view 7 messages, 3 authors, 2012-03-30

Re: [RFC PATCH] macvlan: add FDB bridge ops

From: John Fastabend <hidden>
Date: 2012-03-30 01:06:26

On 3/29/2012 2:26 PM, Roopa Prabhu wrote:


On 3/28/12 8:58 AM, "John Fastabend" [off-list ref] wrote:
quoted
On 3/28/2012 8:52 AM, Michael S. Tsirkin wrote:
quoted
On Wed, Mar 28, 2012 at 08:43:56AM -0700, Roopa Prabhu wrote:
quoted
On 3/20/12 5:26 PM, "John Fastabend" [off-list ref] wrote:
quoted
Add support to add/del and dump the forwarding database
for macvlan passthru mode. The macvlan driver acts like
a Two Port Mac Relay (TPMR 802.1Q-2011) in the passthru
case so adding forwarding rules is just adding the addr
to the uc or mc lists.
[...]
quoted
quoted

So this clears the promisc on the first add which
is a bit annoying. How about a simple flag, set when
we create the macvlan?
Agreed. This probably needs a new attrib maybe IFLA_MACVLAN_FLAGS unless
there already exists a per "kind" (rtnl_link_ops) flags field we can use.
I scanned the code briefly and didn't see any such thing so likely we need
the new attribute.
O ok. That makes sense. Unfortunately I am not sure if I will be able to get
back to this anytime in the near future. If anyone wants to rework this
patch please do.

Thanks.
Roopa
 
OK I'll fix it up and submit it with the rest of the FDB
patches.

.John
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help