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 6629DC27C54 for ; Thu, 6 Jun 2024 15:27:12 +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:MIME-Version:References:In-Reply-To: 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=TtfqBXGDODoCFJ/SV8vftrNpamWc/tSeBPmYOxl19r0=; b=DhUM4p06QP7mm+ fMnO2xKC60EBJGjPJSRx0rdnyYgz8bMV7VlMraBRbMr36+8eWSr15Tr9n4VQ9pwCWkt2L86MPSDaB 0kR++7PBNYdgXsZmke4EDhTPqmILaATL6o2A0nCNi9q8pnl7ssvlcGdFvM4yrQAY1w6HRGBHcBWkK Nl4iMslJfX58dHB1Ot5sPY4MtWv9mqQqoDG8xPdNTywDe1PYBiNjR93XcugY4e4QPLQ0BYVQK+vg1 bPcPwX8FoVnFAygHkIe3b23gFv7ENM2PTUkCTxVDi1oyiJAyWQ/TDnFOwVLClQ0WOM6tA3N+37sft V780uD/x6giZT9UcxYqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sFF0s-0000000AImg-2cpy; Thu, 06 Jun 2024 15:26:50 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sFF0o-0000000AIlY-4C6Y; Thu, 06 Jun 2024 15:26:49 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 3CC95CE1A4A; Thu, 6 Jun 2024 15:26:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 876D4C32781; Thu, 6 Jun 2024 15:26:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717687604; bh=g9DU+5xnLtEMAIzCRN/FCtyy6ez/NLtJEwNFQWO4WeU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=n9YYwlQqi8SfeLRIhucMQqvCL6MADLMFzkhp4D8C64U83lkJpHMBY37hgmjOP8g2u PbB1bOkRo7ATQhklm+X/pB4T1W5TrkY+UO/qEFmXSBLN0Zo4jqd0mC2sC0/JVpGOO0 /3PNRJ8Id42EncZ/nkr9/Ue9MLgd1Yx558CAvMQRrGSkv+GVhfIJGC82tdJjOfVDBw TpxpgHNYaEB/Y2szEPhbaNeEgUOIKoDMVjg+Jcc7V8PhWKisjFiTvdqQY7Y1fqR1XR A/ljObxNcUa6mEUqJ0AikEPWNu7IipRamnOIiM0qMzOlHowrF1r4emJGKJZKcuHfJY tM9V/P3wHarxw== Date: Thu, 6 Jun 2024 08:26:42 -0700 From: Jakub Kicinski To: Elad Yifee Cc: Felix Fietkau , Sean Wang , Mark Lee , Lorenzo Bianconi , "David S. Miller" , Eric Dumazet , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Daniel Golle Subject: Re: [PATCH net-next v5] net: ethernet: mtk_eth_soc: ppe: add support for multiple PPEs Message-ID: <20240606082642.397c0dc0@kernel.org> In-Reply-To: References: <20240602173247.12651-1-eladwf@gmail.com> <20240605194305.194286d8@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240606_082647_255475_5B563950 X-CRM114-Status: GOOD ( 16.04 ) 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 On Thu, 6 Jun 2024 08:56:49 +0300 Elad Yifee wrote: > > I thought Daniel's suggestion was to remove this field. > > I don't see your rebuke to that point or how it's addressed in the code. > > Also it would be good if you CCed Daniel, always CC people who gave you > > feedback. > I talked to Daniel in private, I should have done that publicly. > Relying solely on ifindex%ppe_num could potentially lead to more than > one GMAC assigned to the same PPE. > Since the ingress device could be a non mtk type, I added that sanity check. > I think the additional field is a small price to keep things clear and simple. Got it, could you include the justification for sticking to the current method in the commit message, maybe? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel