From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 09784C4332F for ; Mon, 17 Oct 2022 09:46:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=/IGkL1o+yYGGHmToDAVxil2H25u3W2eQyhJd7HBWpgc=; b=ZC8juqO/aOXio6 T4enIiJs3jbFSz2itAbiBLiaJS4iUmpjj7y7c68FLYM5fC1GjMqWOjRRjoFsapmCZXu7i+vEHCH/l VWtUos1kg2nBxWegQLl50mUmAECVs7ajrhEpk3NZNIVxhW2lnlZQbCiTqcIJiE/K5F3EVh3DCLSaU sMQYMqdfqHSRgICqJwQ8sTyfM7SHwMsUKUuRtuP3SIHKfJlKZ8q/+ZaWXfUo2GZCWe4bCnnw1PHb7 6RxXlACMh1+rVJoNCrOKJs+pcjE48jOZZJs0y1KsWPhusT6nAi4+fpEAdK+yvygYt7gmJF1OhHBOQ b36bZaZnsMmEAS8a1qHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1okMgz-009tdg-Av; Mon, 17 Oct 2022 09:45:53 +0000 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1okMgu-009tTm-69 for linux-arm-kernel@lists.infradead.org; Mon, 17 Oct 2022 09:45:50 +0000 Received: by mail-ed1-x535.google.com with SMTP id a13so15265765edj.0 for ; Mon, 17 Oct 2022 02:45:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=9oP6QUpL/caecGh+0WuC4aINQ/RmOoPcukYan9ZNU8A=; b=WYJI6B+LFoT9C5pLnPBIsjhj7x8+qu2FF5XkqDkn1ip4p9bDsu+BpXi9K3KQ3vr7ru CZdyt+vMumrDGHiquIte3KHgxUQwII+snM62H3VKahAfK8P6Gb7q7p6c54lRE1kca74e /c1svg5jwc1DeNNT6EnZjI8Pj5eRER1qc+luhoEaxBHc+yzS3mBy/i1mgxWMBfuYgdto uL9RCFEYgl8N2raqVA3H1kgMvITCiJ1lRsczWLGDb7m5uDutUZwYlxq/WuFHWfgFuSpR nIkUHL4RFTBMv1ZIAk6ek6VhwkGhHVtxUHKrUN1GbKeMM7BtisjUKdeXeSTOI4hjZCuD WJTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9oP6QUpL/caecGh+0WuC4aINQ/RmOoPcukYan9ZNU8A=; b=bqaKazBQJ1WEc6p0gfqAdaVAmPl7Uiu6OsKOpbV1WTZc3N2cq7QXmcieFiZNBd58Ni D+bu2Avoh2lbmAoNT3hVBRYW1WJFjCFBk/9PxhfnZRY/ac5akQppwoapDGtHfr4GvKmK 8T8QVGSCnypKF8KsXOu1SoOqsqlV4SOXOGM+TZsJUaiKws/o96Wsju8B4YWWldypDivc 39wDHxrwL6SXQtthtypk1t2SWqpN2y781uNvSNvDWddITnVRQ+SRsfFqvZsyGokJ4cYK OVXTDYxKGq7kwLujKQ8nixAIvdnhn5edhjieIJsmqXcAt9iZlPw3Wswnc1DG3QeDzFp9 pIjA== X-Gm-Message-State: ACrzQf2tm5I9Stjdmj0j3W5fvzwEIO+0MXXvZlF9p5k3ip+39NJxfxUY nnXJa2HNuEjRM3lf33SNZB7fdg== X-Google-Smtp-Source: AMsMyM7ybf4d3GEMPX9tQpDfqmEvIlvZLoJLY+kqbRjE8atQkVFhhK9MmY9m7VBJ5M4umfP70pcuhA== X-Received: by 2002:a05:6402:169a:b0:458:fe61:d3b4 with SMTP id a26-20020a056402169a00b00458fe61d3b4mr9310127edv.140.1665999945458; Mon, 17 Oct 2022 02:45:45 -0700 (PDT) Received: from localhost (host-213-179-129-39.customer.m-online.net. [213.179.129.39]) by smtp.gmail.com with ESMTPSA id f19-20020a056402195300b00459cd13fd34sm7060877edz.85.2022.10.17.02.45.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 02:45:44 -0700 (PDT) Date: Mon, 17 Oct 2022 11:45:43 +0200 From: Jiri Pirko To: Maxime Chevallier Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Thomas Petazzoni , Antoine Tenart , "David S. Miller" , Heiner Kallweit , Florian Fainelli , Vivien Didelot , Andrew Lunn , Russell King - ARM Linux admin , Tobias Waldekranz , Oleksij Rempel , Jakub Kicinski Subject: Re: Multi-PHYs and multiple-ports bonding support Message-ID: References: <20221017105100.0cb33490@pc-8.home> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221017105100.0cb33490@pc-8.home> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221017_024548_453537_E8C8C6A7 X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Mon, Oct 17, 2022 at 10:51:00AM CEST, maxime.chevallier@bootlin.com wrote: [...] >3) UAPI > >>From userspace, we would need ways to list the ports, their state, and >possibly to configure the bonding parameters. for now in ethtool, we >don't have the notion of port at all, we just have 1 netdevice == 1 >port. Should we therefore create one netdevice per port ? or stick to >that one interface and refer to its ports with some ethtool parameters ? I don't like the idea of having 1 netdev per port. Netdev represents mostly the MAC entity, and there is only one. [...] _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel