Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3658240rwb; Tue, 20 Sep 2022 02:51:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5pTH0OtrIjKNi564fgZakkshFcZ9HvXfXVBpAzHgAZfhpgx3KLAXivmcJIlYodrU+6asqj X-Received: by 2002:a17:906:30c8:b0:73c:81a9:f8e1 with SMTP id b8-20020a17090630c800b0073c81a9f8e1mr16210521ejb.649.1663667469374; Tue, 20 Sep 2022 02:51:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663667469; cv=none; d=google.com; s=arc-20160816; b=f6jGoIEMjlXh++bG17YayzyQFOi5hRYUZPRToPIlVs0ZGMi+1jQ3zRBSpfHkp4UdBG L6jUYUOQ+V4hXN8PfwO81/AOJ4ZGjztKx+CctY+X602E0A+6iPuYrsKDMDoP1vQcYkgX avzZS1/rZFutCjykpxiJnprLczEXhD/glsEdAegMru47hYbp3zENskEjueOuRg8WsPbF 5uuZ4houHQmrKfxftoxzNTo6hA65QWq1KP21wqVmhhSOGSipxR0KoLNuKwGjYVxBsSti fZNAzZ/9w6nX8DMWU3EmmmfIhsrzORfU1a8hYXryEWN3IW52L13ILMJuXAhXqWmMhA49 Gueg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=t+W3uMuXb8mRiplJwHfdBTKhx2EgpXn+wgSS0JSazn4=; b=CkmFX7aMzkHcaqM4KQjY9qLGDJi4FcqUi3N0GNuQCMwVxxxcVbtXUwU+py9reQeGaN GFVIWLqkIA75kpLNN+PF9C6HXxyU0HO+bFkvJ4cc3eT9DhRls5Nn3lTLWvq+sL841eK5 kXE9IV6b/H4eJsZPmdcJG6JtSBZVpGF91M2yb3nhz1q83SxSu8dz7wodgHNeESiDR1NH HDbz4skoOovHm+RhzyfvzPJNlzpG8FytK0MchLj6bwYKSMwBJW2u+14t2ByeycVrm5Gx +yjscPYxb1dcXrYZTqQwAn3WRdb2OVHB3cYKQ2Qaz7G/f75ZRnQEyAQFdfHUT5IL4GL0 2jYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TnIFhfnY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a11-20020a17090640cb00b007808393cf7fsi798538ejk.413.2022.09.20.02.50.44; Tue, 20 Sep 2022 02:51:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=TnIFhfnY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229655AbiITJZL (ORCPT + 99 others); Tue, 20 Sep 2022 05:25:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229896AbiITJZI (ORCPT ); Tue, 20 Sep 2022 05:25:08 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 801333D5BD for ; Tue, 20 Sep 2022 02:25:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1663665905; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=t+W3uMuXb8mRiplJwHfdBTKhx2EgpXn+wgSS0JSazn4=; b=TnIFhfnY3tXNtwG6BuGawea0axGOvYu1uXZyFzUFfgxNQgfucSDwP2COWoMHd/oCz1Fjmh AAkaplTRYE4I/qMuQ/kFEKp7AwN0Zdrty9gDGkwDJ8HVGVn61ozWP5K6Ou3jIyM1dAFaUh QooGOn3lyvTPfBT/7+Ava+UHES7rdLo= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-34-freJQVBQML6QTvT4m5neOA-1; Tue, 20 Sep 2022 05:25:04 -0400 X-MC-Unique: freJQVBQML6QTvT4m5neOA-1 Received: by mail-qt1-f198.google.com with SMTP id cg13-20020a05622a408d00b0035bb2f77e7eso1397501qtb.10 for ; Tue, 20 Sep 2022 02:25:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date; bh=t+W3uMuXb8mRiplJwHfdBTKhx2EgpXn+wgSS0JSazn4=; b=Da5rtoaq5xBqZ/02YQKxFcqy3myzZB7piPV3ExxhVPhyUW54Lr22VZIZESzQTsuDmm Q9h4hpaywMFfp7GlkHova5psRvuuTqTJgrVGyQSQOZZf0GFJt6UgFfDwwyoCwv9fkK8I 8dbEHZbBqPU3rqnRXvWg/CNDw7QWC6OrGPCfb3hTbty775jDiL4YoNpXdur8TSgPVZai 0phN6Nhgyjwu7GmU3Y/UN5f1TQ54eTKfJKoZ2YnlUAUwBcnhkXGc5EKi16IcMhUrgv1S ovNIQEFeHSgfDMzMjxzRauxwStvbGc3GnPOohS8oWw9NmDKryDRjSOBYSO54pj3I9EwN Ev+A== X-Gm-Message-State: ACrzQf1mMQRMfuI/igLfrfpRfxGVub5TgrSm4ZyfPVQg9fuIi6A5Ckz7 fHBAWAPpkQK4CLatnPwkjPaC5DlvQK6PNL5sP173BcBwlFbg0//AQogZFxEOvSNs5dDfZ+sk+8V tWX7WPTZPlYnKXdSAZtgliBFh X-Received: by 2002:ac8:5dd4:0:b0:35c:e24b:c185 with SMTP id e20-20020ac85dd4000000b0035ce24bc185mr9702338qtx.562.1663665903899; Tue, 20 Sep 2022 02:25:03 -0700 (PDT) X-Received: by 2002:ac8:5dd4:0:b0:35c:e24b:c185 with SMTP id e20-20020ac85dd4000000b0035ce24bc185mr9702312qtx.562.1663665903648; Tue, 20 Sep 2022 02:25:03 -0700 (PDT) Received: from gerbillo.redhat.com (146-241-114-90.dyn.eolo.it. [146.241.114.90]) by smtp.gmail.com with ESMTPSA id c25-20020a05620a269900b006bb83c2be40sm720319qkp.59.2022.09.20.02.24.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Sep 2022 02:25:03 -0700 (PDT) Message-ID: <5fb488a102d0738ab153bf133439dd64f09d096e.camel@redhat.com> Subject: Re: [PATCH v2 net-next 03/10] net: dsa: allow the DSA master to be seen and changed through rtnetlink From: Paolo Abeni To: Vladimir Oltean , "netdev@vger.kernel.org" Cc: "linux-kernel@vger.kernel.org" , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Florian Fainelli , Vivien Didelot , Andrew Lunn , Vladimir Oltean , Claudiu Manoil , Alexandre Belloni , "UNGLinuxDriver@microchip.com" , Colin Foster , Roopa Prabhu , Nikolay Aleksandrov , Tobias Waldekranz , Marek =?ISO-8859-1?Q?Beh=FAn?= , Ansuel Smith , DENG Qingfang , Alvin =?UTF-8?Q?=C5=A0ipraga?= , Linus Walleij , Luiz Angelo Daros de Luca , Felix Fietkau , John Crispin , Sean Wang , David Ahern , Stephen Hemminger Date: Tue, 20 Sep 2022 11:24:57 +0200 In-Reply-To: <20220911143554.tq4lf5eqs4novhtn@skbuf> References: <20220911010706.2137967-1-vladimir.oltean@nxp.com> <20220911010706.2137967-4-vladimir.oltean@nxp.com> <20220911143554.tq4lf5eqs4novhtn@skbuf> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.4 (3.42.4-2.fc35) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Sun, 2022-09-11 at 14:35 +0000, Vladimir Oltean wrote: > On Sun, Sep 11, 2022 at 04:06:59AM +0300, Vladimir Oltean wrote: > > +struct rtnl_link_ops dsa_link_ops __read_mostly = { > > + .kind = "dsa", > > + .priv_size = sizeof(struct dsa_port), > > + .maxtype = IFLA_DSA_MAX, > > + .policy = dsa_policy, > > + .changelink = dsa_changelink, > > + .get_size = dsa_get_size, > > + .fill_info = dsa_fill_info, > > +}; > > I forgot to apply Jakub's suggestion to set netns_refund = true. > On the other hand, I think the patches are otherwise fine, and I > wouldn't resend them, especially without any feedback. If there is no > other feedback, can I fix this up through an incremental patch? Since the delta should be minimal, we have a significant backlog, and this LGTM, I'm going to apply the series as-is. Please follow-up with the incremental fix, thanks, Paolo