Thread (38 messages) flat view 38 messages, 9 authors, 2017-11-09

Re: [PATCH v3 net-next 0/5] IGMP snooping for local traffic

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2017-11-09 19:38:31

On 11/09/2017 11:30 AM, Andrew Lunn wrote:
quoted
This means that switchdev drivers won't ever have to treat a HOST_MDB
notification any differently than a PORT_MDB notification
No, they need to treat it very differently. 
Allow me to rephrase, switchdev drivers will ignore HOST_MDB
notifications because that does not resolve to something they can do
something about.
A PORT_MDB says that frames for a group should be sent out that port.
So it probably needs to iterate all the ports in the bridge and add a
match/action to each port saying frames coming in for that group
should be sent out the port listed in the PORT_MDB.

A HOST_MDB say that frames for a group coming in from the port listed
in the HOST_MDB must be sent to the host. The match/action applies
directly to the port, other ports are not involved.
Fine, then add a boolean to the PORT_MDB notification that says ingress
or egress and voila, or am I missing something?
-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help