lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 15 Dec 2014 09:20:18 -0800 From: Roopa Prabhu <roopa@...ulusnetworks.com> To: Jamal Hadi Salim <jhs@...atatu.com> CC: Jiri Pirko <jiri@...nulli.us>, sfeldma@...il.com, bcrl@...ck.org, tgraf@...g.ch, john.fastabend@...il.com, stephen@...workplumber.org, linville@...driver.com, vyasevic@...hat.com, netdev@...r.kernel.org, davem@...emloft.net, shm@...ulusnetworks.com, gospo@...ulusnetworks.com Subject: Re: [PATCH net-next v2 2/4] swdevice: add new api to set and del bridge port attributes On 12/15/14, 7:26 AM, Jamal Hadi Salim wrote: > > Sorry - i didnt quiet follow the discussion, but i can see the value > of propagating things from parent to children netdevs as part of the > generic approach. And in that spirit: > > Ben's patches (and I am sure the cumulus folk do this) expose ports. > i.e you boot up the hardware and you see ports. You can then put these > ports in a bridge and you can offload fdbs and do other parametrization > to the ASIC. IOW, this only becomes a bridge because you created one > in the kernel and attached bridge ports to it. > > Lets say i didnt want a bridge. I want instead to take these exposed > ports and create a bond (and maybe play with LACP). How does this > propagation from parent->child->child work then? I think the idea > of just bonding and not exposing it as a switch is a reasonable use > case. We have not come to pure bonding and lacp yet (but i have mentioned it in many contexts before). The use case you mention is offloading bond attributes. This will be addressed as part of ongoing switchdev work for all other offloads (bonds, vxlans etc). Right now we are only talking bridge port attribute offload (learn/flood/port state etc). This could still be a bridge port attribute on a bond when the bond is a bridge port. > Also how does it work when i start doing L3 and the bond's port doesnt > support L3? Is it time to revive the thing we called TheThing in Du? yes, exactly. This is what i had indicated in my initial emails on this thread when the stacked devices topic came up. Since there was reluctance in introducing a switch device (theThing), My current patch tries to do that without a switch device. Since this is still l2, and we are dealing with bridge port attributes, my current patch traverses the stacked netdevs to call the ndo_bridge_setlink on the switch port. When it comes to l3, we can follow the same.., but as discussed in Du, there are other reasons where a switch device becomes necessary. I can submit an alternate series to cover the switch device approach for l2 as well. Thanks, Roopa -- 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