Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp148306rdb; Wed, 14 Feb 2024 16:11:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU1cFo9c+eQyK38I+RZb6XC+MCIfvyMwldUGafQtA18+kIt7aFmmSxhO3q+ZnnXrHZH3qNStb2eqpwF1uLNPoaw0ghBY4dVtxHQDN2WYA== X-Google-Smtp-Source: AGHT+IG0yCpEWgHcEBhK1pwuVN42nJLSI2zktEeCm7ahFpsgN6KLpUyp3409GhKgdZ3ibGqGeoWY X-Received: by 2002:a05:6a00:1995:b0:6e0:e618:7eb0 with SMTP id d21-20020a056a00199500b006e0e6187eb0mr477833pfl.8.1707955877170; Wed, 14 Feb 2024 16:11:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707955877; cv=pass; d=google.com; s=arc-20160816; b=Ws4/ru6Ir7YbZzYxv+Y3fRioXxBPFJm+vPeMeP/N9P+3rcHtVpNQiehRUGkQgeb148 z8jDPbVlOS8aD5rIxe9W5GG+c0VE6IHga+8k2cmg4LG5MEsxebBghE1ErXIfGAM6g6ic p5n+4gC0GQsSfc7EtIwhjnGAg6lQZIsebQF2u0eoDKiSOleys2/ByKNyWgQor/Sa6Hgd Ft4wxd36hHFsB2TiTnaiQUa32YsBD5m6jGsG9AqCvwrCVQZ091WBhboSDVLSEoLoZogh 6/mBBGZpDOvGeRr4C9eI7fX5OtRgwUGAZMF7oIhZ7TB8bipK66HDkqMd7pap5mp8kjeH Qv/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1duIMvJ1ZNzVXpih2n6U+191FqGP0IxFLpaQFFYigPE=; fh=0MR8GEaUtSouzGCjZ22w9oh1dfqxlZ8A7pJFH8pI3hs=; b=rEFGH2uGaOyWa9K3Rtw7ly/HbhyuCMeYfSgeTAAezm1bcEVD4/IV+1YDnMV9+sw6z1 XhDwzZVwQTC3Vand6lZ8iljgJUx+Urv+X5/bHNmQ9JAOvQdNyleTJbRSqr+RZLA3NZlU tTEg4R7NJyomi3RZa+uGgllIssexlLKOOtfS+da38OV/52oq36rI1ywJzLuw6iULyMeo Ol1VvQOuNhIoHU0fKWpzBxt0Ss5eHjxdChi/MhnO45WqQtbLH1WbSK93Gt6onUdtfIXL 1m+x5BcJoDee7tRvCGdxbLXUkhXxSTqM50YP3mltiTwhttfdDbNmIpQTCPNgZJdlgE0f Egog==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="j+/A/kuC"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-66178-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66178-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k123-20020a632481000000b005d2c05c7039si25092pgk.865.2024.02.14.16.11.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 16:11:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66178-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="j+/A/kuC"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-66178-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66178-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 33C03282E44 for ; Thu, 15 Feb 2024 00:09:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BD206EDE; Thu, 15 Feb 2024 00:09:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="j+/A/kuC" Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F6C3391; Thu, 15 Feb 2024 00:09:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707955776; cv=none; b=K6xb0Wx1iJb7sjKTBn5J9Dqd6G2QKH6RYLfUm0LjEnYr2ddHD5HFOdLg5A9rtd3FpPBlSWfV8iJvwnTP3ToumTs5xYPeE5Y5JB9DPnsj64Q8RNffx7LRrzCtzM1/29+tbCpm5AzPJLzLEFBQq7U8cyGi3C+Druav4CdsnlMERuE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707955776; c=relaxed/simple; bh=n9ieSy5V93KC4SdSun7MFEwqZwuRzVifQJhkvWQFCgY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kvlZZp3YmvA8cwaX0jrsyAcT7gIuLv+JNrOekYBZ6yenBUAaclv82kaX/g648h0g7RngDt5fsxG3m901U+6Ex+spmsIaFBJTpPjsfwdxTfPn8okxC8LWQx2kZNgAYwVHx1odoGiaoWKZPSu6M8zXHIL3knksccvGoIjOe/yqF4U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=j+/A/kuC; arc=none smtp.client-ip=209.85.208.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f181.google.com with SMTP id 38308e7fff4ca-2d1094b5568so3973111fa.1; Wed, 14 Feb 2024 16:09:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707955772; x=1708560572; darn=vger.kernel.org; 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=1duIMvJ1ZNzVXpih2n6U+191FqGP0IxFLpaQFFYigPE=; b=j+/A/kuCNVCQLYcSy5bV4MKy4uLlbA76XPYxFFc86c2/f9iWEmL9m9bWxWVnCGIOM2 9aRd6Je6TxuFdr32Hs/msvcgb9dUVlkJVRuwcFadTEpcrJp7CK7jO+x96z0PV4HE/ezy zkwDuoJnCkwTDEwhjzQlUOoGrQVgg3vwXkaHL4YnfssEaJ2s7XklwSY0GALIXuoNxhof W/UB/kUgeB18U4wauvQx5s2bSvLfZUqodTWLIPxSLYazkdzYPMKGaHsz6oXMfdmwInhN 9RYLOsFbZmmnDyeakUUgp1+69mcCATjQaYrlXlnvfAJzqMdt2hMzaJMoxABVkbgmduEj J4uA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707955772; x=1708560572; 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=1duIMvJ1ZNzVXpih2n6U+191FqGP0IxFLpaQFFYigPE=; b=GJ8E7CrfcFlzdt0qrMQ4vt8ayevHbnTsgoQhZ5QQeQJcUDtcKB36u98pLloeR6Al/3 5DrzG4I58lhtdRWHoQ3nlXYT/1tleAfGWmMr3a7r8q1GS6AinmTP77LJSElTVng6qJvW xF+vOif7weDgpDMgZ1l2ZhhyFFBZD5kbEokSxQiuJB2m1YJIcDfftSVHPlpOTpDHS5yt 0lSouyVEXsuwm9oAL62rAoNhDoYv+va5zYNJ32Ihnx6FtCrfSAoPkXX5ANH+D5ndkrQG GibqsHeESNGTzvKshI+oSRtG6JL2nUnIoca44swa2C6PS0BB24rnLdpuKm8KxMxmWMeb un6Q== X-Forwarded-Encrypted: i=1; AJvYcCVkGlw7cmFu6pUKMZj+g2GTDGu1H7EsLT346EejNYfulTPO3/Bok34SYzOpdCSyYiB3LlTmVa5yKrDCEB0e3d7IWLHwGIFpoEljledu X-Gm-Message-State: AOJu0Ywva98DCX8JCBiH3kIuJxsx8rUnHLeFDXqOT1rB3fSvRr1q4KDW dTfhByExU0hMuqCm59Pp7Ayc/KqjEtpOLSIs09MzYd0FR7Tr3SzL X-Received: by 2002:a2e:9e10:0:b0:2d0:f629:82b9 with SMTP id e16-20020a2e9e10000000b002d0f62982b9mr212408ljk.34.1707955772197; Wed, 14 Feb 2024 16:09:32 -0800 (PST) Received: from skbuf ([188.25.173.195]) by smtp.gmail.com with ESMTPSA id n17-20020a056402061100b00562d908daf4sm36417edv.84.2024.02.14.16.09.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 16:09:31 -0800 (PST) Date: Thu, 15 Feb 2024 02:09:29 +0200 From: Vladimir Oltean To: Pawel Dembicki Cc: netdev@vger.kernel.org, linus.walleij@linaro.org, Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Claudiu Manoil , Alexandre Belloni , UNGLinuxDriver@microchip.com, Russell King , linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v4 04/15] net: dsa: vsc73xx: Add define for max num of ports Message-ID: <20240215000929.atbax2vqdbsatpcl@skbuf> References: <20240213220331.239031-1-paweldembicki@gmail.com> <20240213220331.239031-5-paweldembicki@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240213220331.239031-5-paweldembicki@gmail.com> On Tue, Feb 13, 2024 at 11:03:17PM +0100, Pawel Dembicki wrote: > This patch introduces a new define: VSC73XX_MAX_NUM_PORTS, which can be > used in the future instead of a hardcoded value. > > Currently, the only hardcoded value is vsc->ds->num_ports. It is being > replaced with the new define. > > Suggested-by: Vladimir Oltean > Signed-off-by: Pawel Dembicki > --- Reviewed-by: Vladimir Oltean