Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5843809rwl; Tue, 4 Apr 2023 04:39:24 -0700 (PDT) X-Google-Smtp-Source: AKy350YAJfzvEjRHQrsduBskZuuVCl9SGapV/+nwZBZDZc+wlpMP2sfIP9GDcRTz2MfR2n/hQkg1 X-Received: by 2002:a17:906:d9dc:b0:947:abd7:51ba with SMTP id qk28-20020a170906d9dc00b00947abd751bamr2114399ejb.34.1680608364597; Tue, 04 Apr 2023 04:39:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680608364; cv=none; d=google.com; s=arc-20160816; b=JRUZ8FBK8YvaDPImpxvtoVxaa7m1j9baWd9rucqTvDpa3yZNOMBjl/+by8RCAr2r9N hH1REAhmbON1K9QmUFYpX1pKeVBvojxdYJ2TB4QbdArlczhjT5NCta/GfAULneevQPG+ yt1FiaS/PGCW0r5hhP9EKCdrZ42m43VzpcgSsn8pAXZpkcWOfjUW7LyL1MPrDRA0s9zI OV++Wb7p6U8P2MwaB4bNxFkJPRclf3Ndv4slQMIgnCxWIzzppFFlEwk+XwbuLqiByXXI ushUgH91vMgX3oNDdxYnXhwhF+6juJyrmChq11ON9t5dYujfKOwD3ElHsSe8EllFxXuS QRTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mKcFP7PU6E3MHzGfY9S4ZrIp2Pkqm6lpQOjzruEh614=; b=ENsKJSQJA0EG9NmvKjaXKUAtE0KVVFanIg9N5+A91BroRrQSJgJNJDzBmi4f+S97zL RJDoXdttHsNiG/5VLZHBU8RhS8nSSTU1iAYK2pLoZwF3zG3jZX1KvrgwDjJHzAseArfy 89kNwSrjIH4p6yCrH6Iplsm2Lq2ueOD5fNu9Y29mD1q3K7lgza6sLHRdR6NNLP14K6vM JHqRXh2vyeWSV0P855/X+aX+toqB2m6OV5HVj32gVGlfUvuf3VQ0rTAFj4XbQty4id2T Fe3Z0rlGv5wH0Ii1xH9ZIW5YeReGVL0vy0vS0uhER3n3bbUgTmYKmj9XD4rWensNu2aZ MDPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fRxpJsVe; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id md20-20020a170906ae9400b0093de089f33esi1713112ejb.841.2023.04.04.04.38.48; Tue, 04 Apr 2023 04:39:24 -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=@gmail.com header.s=20210112 header.b=fRxpJsVe; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234719AbjDDL26 (ORCPT + 99 others); Tue, 4 Apr 2023 07:28:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58778 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234760AbjDDL24 (ORCPT ); Tue, 4 Apr 2023 07:28:56 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70DC32117; Tue, 4 Apr 2023 04:28:54 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id t10so129028659edd.12; Tue, 04 Apr 2023 04:28:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680607733; 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=mKcFP7PU6E3MHzGfY9S4ZrIp2Pkqm6lpQOjzruEh614=; b=fRxpJsVeXRBegrrpPlb6iirOC7oKxvho5rlJh1REGpAr3/qOKkqlxiGTw9aPw97wlG fW7p+15yucumMFUsB6+4ZUMntUk1XOFgzowGC2W1JlTlwe5OG2i05emMvbuIgqOEk/cc 96c80C74ag3uhlZBIkY/4es/JJ5F+O7MRIPhW/I3Cq7z49I0apXmuhKyv8EXRe0MaZNp a/x6Hh126aaPiJQuG9wfhj59UHU3Ni+AZZjQhPZ0OTDvuAJx40DQYse/Omi51cCVEbdR kzXQSAmob+fCOx3Ny3ORPRf0C8X9aj4/tWPclxNQsX/9rnahiUhbouQmtXV8cGaDii6D JjDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680607733; 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=mKcFP7PU6E3MHzGfY9S4ZrIp2Pkqm6lpQOjzruEh614=; b=ZWkASYvz41rmoySb7tox3f8m/SrxA2XJS2krObG6AWXfnRvEkB8EjeEvB3vrXJGnUB VI1VCp29wx4m+pHmiqfdoGexYFXoBnXsWDGZkPP8mlH9NrPEYMUGZfIuMfAL6uTGjTZ/ YSceOhQTmJtM+Bytt/+j0sg4hyZZpEl2Xj4YWPDeEX53WTwT6C5cYts7joDGs8zq3K6+ Q4nnPG2fkg0yTjReLWenNTOVDxPAi+h8D6fhLjJ57NhtChXuQTzQ57o7554uc8EQ69z8 QIXmyX3rZRah5VnDwpxn79erF/gQCenkagGw7kxvwHX2ZvDayUsi2JBAtnK/pvKQgQFi XTdg== X-Gm-Message-State: AAQBX9dY25HFyBctBiOAg3Sz8V1P+IrfWsT1uOx2DChZgJud3IYUjh7O 8maJ+EYkjtxfgBCHthxOmo+q1dLS2UohIg== X-Received: by 2002:a17:906:69d6:b0:947:ebd5:c798 with SMTP id g22-20020a17090669d600b00947ebd5c798mr1937589ejs.54.1680607732655; Tue, 04 Apr 2023 04:28:52 -0700 (PDT) Received: from skbuf ([188.27.184.189]) by smtp.gmail.com with ESMTPSA id i1-20020a170906444100b0091ec885e016sm5803140ejp.54.2023.04.04.04.28.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Apr 2023 04:28:52 -0700 (PDT) Date: Tue, 4 Apr 2023 14:28:50 +0300 From: Vladimir Oltean To: Oleksij Rempel Cc: "David S. Miller" , Andrew Lunn , Eric Dumazet , Florian Fainelli , Jakub Kicinski , Paolo Abeni , Woojung Huh , Arun Ramadoss , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, UNGLinuxDriver@microchip.com Subject: Re: [PATCH net-next v1 1/7] net: dsa: microchip: ksz8: Separate static MAC table operations for code reuse Message-ID: <20230404112850.xjsxiku5w23fcsof@skbuf> References: <20230404101842.1382986-1-o.rempel@pengutronix.de> <20230404101842.1382986-1-o.rempel@pengutronix.de> <20230404101842.1382986-2-o.rempel@pengutronix.de> <20230404101842.1382986-2-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230404101842.1382986-2-o.rempel@pengutronix.de> <20230404101842.1382986-2-o.rempel@pengutronix.de> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 On Tue, Apr 04, 2023 at 12:18:36PM +0200, Oleksij Rempel wrote: > Move static MAC table operations to separate functions in order to reuse > the code for add/del_fdb. This is needed to address kernel warnings > caused by the lack of fdb add function support in the current driver. > > Signed-off-by: Oleksij Rempel > --- Reviewed-by: Vladimir Oltean