From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko Subject: Re: [patch net-next 00/26] bonding/team offload + mlxsw implementation Date: Wed, 2 Dec 2015 09:25:02 +0100 Message-ID: <20151202082502.GE2355@nanopsycho.orion> References: <1448977744-17930-1-git-send-email-jiri@resnulli.us> <20151201144300.GB2165@nanopsycho.orion> <20151201151243.GC2165@nanopsycho.orion> <20151201164719.GA2548@nanopsycho> <20151202075822.GD2355@nanopsycho.orion> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Linux Netdev List , David Miller , Ido Schimmel , Elad Raz , yotamg@mellanox.com, Or Gerlitz , pjonnala@broadcom.com, Jay Vosburgh , vfalico@gmail.com, Andy Gospodarek , Florian Fainelli , Scott Feldman , john fastabend To: Or Gerlitz Return-path: Received: from mail-wm0-f45.google.com ([74.125.82.45]:34485 "EHLO mail-wm0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756088AbbLBIZE (ORCPT ); Wed, 2 Dec 2015 03:25:04 -0500 Received: by wmvv187 with SMTP id v187so242900345wmv.1 for ; Wed, 02 Dec 2015 00:25:03 -0800 (PST) Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Wed, Dec 02, 2015 at 09:21:37AM CET, gerlitz.or@gmail.com wrote: >On Wed, Dec 2, 2015 at 9:58 AM, Jiri Pirko wrote: >> Wed, Dec 02, 2015 at 06:53:35AM CET, gerlitz.or@gmail.com wrote: > >>> Another question relates to users bonding/teaming netdevice ports from >>> different HW switches, or of two vlans over ports from the same HW switch. > >>> This is something that AFAIK not supported by HW -- do we want to disallow that? >>> what layer in the kernel we want to enforce that limitation? team/bond >>> or switchdev core or the switchdev HW driver? > >> It is not handled at the moment. In can be easily disallowed by driver. > >what about the case of LAG + VLANs, what would be currently supported, >bonding vlans or vlan a bond? > > >bond b0 --> > vlan A.X --> switchdev port A > vlan B.X --> switchdev port B > >vlan b0.X --> bond b0 --> >vlan --> switchdev port - vlan on top of bond/team (bridge vlan) is currently supported. - Ido is working on support of vlan device on top of bond/team. This will be most likely matter of the next patchset, quite soon. - bond/team on top of vlan is not supported by hw.