Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3702642ybg; Sun, 20 Oct 2019 19:56:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqzjbegYDow9FsAdO6+rSnmg/F7muT5Qm30RM3uLfBANgQjvbWob+QgKio3MQhN2I9QO1EFn X-Received: by 2002:a17:906:792:: with SMTP id l18mr19481443ejc.170.1571626600785; Sun, 20 Oct 2019 19:56:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571626600; cv=none; d=google.com; s=arc-20160816; b=Z/uR7fN7Yp3zZEhip6f6UshcnsKkEr5CDhBW1Fa1nYK5FaPFk9ovqiEcRH9eX/pQ+C mLK4iFwwmdxSq5FQ2nBhzEejSj4onk05zoE17LWRSd0l8sB4/is32eWrSbF7nGuHsEV3 KA/krtdfgnE+ts9mtTALZXxprePBkAiy4zAsiEc0Y9FFYPEMM1+6SsaBnlr2T+QRYm97 WvlhYIxllXturpTH8lxK+EtIJxoPagoPsvO5x8bQpNlKB7q9x+1uJ54N4jtfsZ44TlIo 3fgoUBQbxTTPZLEHm3oVJN/gUphjft++V9yf7QkGp99FgMDWiD3dJD+Q3kOXQPRpS9cx qm0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=n6q4nAKjxfy0IGRBzsfdgwCjetx208YR00SKYdDf5L4=; b=EVY8AaDRvamoNYQL9BuN72tX94w/8ttFcg5V6bIEi2GQMwd1C6qCZ71i35rYtyfPAc u/wRh+gcMwEQZxysTwMCf4VX6aFbGzjLPHFmqZWDGH32rd44KSQJx5/Z5aGN+9CSVhVX 0P/LBixHrO1q+7L2C428HGxes0CrWBGbsZbfi3jMb0/VJYMWnYcSpi+8ZM5hLLVLK5UP ZXNGANw9rjFlFPefiXFdRNOekCfifLOxOctMTsawxtKVhvV9CP8Bq/JBdh83AiZ9rcHb HqH9FlA8AXcSykph3H4acie4oKQPqHyfJQkDOQMojop2LqGFXqajFf59BP0l/I1eZw0x sTDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=STNF+qMP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a11si1034ejv.310.2019.10.20.19.56.17; Sun, 20 Oct 2019 19:56:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=STNF+qMP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726951AbfJUCzO (ORCPT + 99 others); Sun, 20 Oct 2019 22:55:14 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:45015 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726768AbfJUCzO (ORCPT ); Sun, 20 Oct 2019 22:55:14 -0400 Received: by mail-pg1-f195.google.com with SMTP id e10so6816260pgd.11; Sun, 20 Oct 2019 19:55:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=n6q4nAKjxfy0IGRBzsfdgwCjetx208YR00SKYdDf5L4=; b=STNF+qMPIQVPczXkdxKSlD7w9+m12ligvY2hSWRH95O1dBrIYa8s65d5s0K+j0aGEp zK7nS69ITUiG2UPwpir0lbHWtBx9pDycufLrMR4HJ2iUsZAkcodVzE0mMf9FDneDwllI p8Dmb4cHjDYiih54GyuFarAY80k/etNSoEzlOhqFDZwntIqf2Y07e4zLHaMfLzlEcdvB 2Cm2KKkaIY+MGHCuv4yCVHHV4xAbZp8mc64d2ELeFRcs+2I7YhSt9qyDKmNWR/MfEpWa K7bqKQfGhB2CHGvnMFTjKYSBsPeXbFH1rEP0b5z+AKTsLFz3rlS8Q8jA9nXx9sEe7E3M jmHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=n6q4nAKjxfy0IGRBzsfdgwCjetx208YR00SKYdDf5L4=; b=O9pmNxzZNImTa4/M9RZ1QhCYeJo4mJdSc/xDA19EvAxVqq4VQa2XySbEUrcuC64OCM fRy7W0lGzZhDjsEGmWR6bGgZ6JsueE22pO5VEe+BnOlCKFDGxWIwGOAXxRjaCXhN1O0R VmyJM4ODW1S+gmuDt733FbmmipgDlYdf1+gjKnaa+ovk2OQGMSr1zWeotCGaRhcPmrl5 wigiOgcV34Yyf6Ik4DhiJoi1pIaZMz57ldmuCoEDHM7QT7thJuCcVYJo4ajAGp/CeaK7 7z30eKfCYst6H8Hs1ftOp75UOmu+fwm9Kb6w2K/G7MPoDoS0c4sh9Zb3pb6pBRbi+meN VjQg== X-Gm-Message-State: APjAAAUhH+fsTwIgAg7S/ZWnsFEueksEoEAm7Vzl1fs4MAvIgQ6K4syI JzUZJMnMqj1QoMJI3m6Mk1GuxmAx X-Received: by 2002:a63:f854:: with SMTP id v20mr9155261pgj.92.1571626513214; Sun, 20 Oct 2019 19:55:13 -0700 (PDT) Received: from [192.168.1.3] (ip68-111-84-250.oc.oc.cox.net. [68.111.84.250]) by smtp.gmail.com with ESMTPSA id b22sm12988674pfo.85.2019.10.20.19.55.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Oct 2019 19:55:12 -0700 (PDT) Subject: Re: [PATCH net-next 16/16] net: dsa: remove dsa_switch_alloc helper To: Vivien Didelot , "David S. Miller" Cc: linux-kernel@vger.kernel.org, Andrew Lunn , netdev@vger.kernel.org References: <20191020031941.3805884-1-vivien.didelot@gmail.com> <20191020031941.3805884-17-vivien.didelot@gmail.com> From: Florian Fainelli Message-ID: Date: Sun, 20 Oct 2019 19:55:11 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <20191020031941.3805884-17-vivien.didelot@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/19/2019 8:19 PM, Vivien Didelot wrote: > Now that ports are dynamically listed in the fabric, there is no need > to provide a special helper to allocate the dsa_switch structure. This > will give more flexibility to drivers to embed this structure as they > wish in their private structure. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian