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 3F4FDCD4853 for ; Wed, 4 Sep 2024 16:30:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=uT5dbEAr0orfq6PPVZNBu4CRwUy9DPQ3wFUTJi1BQD4=; b=Sgv6t5uHpIkThrqHRKMt//uxyC D+aNY94+u+/K45Qh5MyQQDbnygnprWq06tI4dnURVoOHiNQ8VmHfwEwSULi0KbBwtL7h+jkZDP/N4 cAlIIsU37QGIMS6tlc4lX6uhURsBNGenM7B+avbAHWOBCsC5LO1YA2UTbLo/go5B8+3AyRkkR0xL7 NduvJDeWNp2TAFMt5PVIddo9qxcWILfYSOz1knUPoRwaVrSxJ2HeHWHEBy9lTiUJbi4JPSssPTrzg 4ZPNUcy5U5zmotFg0tlWbTZbwByu+1npKdB3Mqy18SnxDJQAqQHsCHJ16BuVmMZxPz9IySv637STH 4xO9yO7A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1slsu3-00000005GCl-31gr; Wed, 04 Sep 2024 16:30:43 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1slskE-00000005ECc-1naX for linux-arm-kernel@lists.infradead.org; Wed, 04 Sep 2024 16:20:35 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 3400C5C57D8; Wed, 4 Sep 2024 16:20:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 489FAC4CEC2; Wed, 4 Sep 2024 16:20:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1725466833; bh=VoYT+jETiuda1xS2vqsmwkwlGs8dsq5FW7EalM3HycA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=NP03c9F8ybbzutUGyi/oChtpifzmMuY6on3Tpr88/NuU8JHL4GZsJwTIEbDBIMnpa DgT96YeusDcTTPvU4yTIKxCd3EbxjYRGoO3sTMjxP70PMyC130b4A1YzgX7ST0ieiQ sbteagUXXeQcsV+6ETzvp4iXLxDrjCMD6Kj0J1YUokXqSFzK1V3EvG4yLOMzli2HpD 2CgNwCgYj4Vp6h2q/uqjPOHc2//Smtstsa7NCS88eKXSVLOEJPY8IoA9wNwSOyxF13 mOh9gu9ow24vOY4KxtvyfOvCG4sg/Cp6pQrutdQ2FGnM+Nt67zmnASDDllmgcsqrnu dtR6F/UhaNJ1Q== Date: Wed, 4 Sep 2024 17:20:29 +0100 From: Simon Horman To: Sean Anderson Cc: Radhey Shyam Pandey , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org, Michal Simek , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] net: xilinx: axienet: Relax partial rx checksum checks Message-ID: <20240904162029.GA4792@kernel.org> References: <20240903184334.4150843-1-sean.anderson@linux.dev> <20240903184334.4150843-4-sean.anderson@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240903184334.4150843-4-sean.anderson@linux.dev> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240904_092034_550469_1BF2151C X-CRM114-Status: GOOD ( 10.95 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Sep 03, 2024 at 02:43:34PM -0400, Sean Anderson wrote: > The partial rx checksum feature computes a checksum over the entire > packet, regardless of the L3 protocol. Remove the check for IPv4. > Additionally, packets under 64 bytes should have been dropped by the > MAC, so we can remove the length check as well. > > Signed-off-by: Sean Anderson Reviewed-by: Simon Horman