From patchwork Tue Sep 3 18:43:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 13789212 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 4F338CD37AB for ; Tue, 3 Sep 2024 18:44:49 +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:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=u0V+gHjiO+W5aR/7m1PFt/lGZTb9pucfD3ixCjjavZc=; b=i1JXDhgsnrvc/SzkhsHx0jeuuu L95sOMWh9tN8moCHOdpmMSOAebU44fhzgX7DYNShMvDVhiD99QaI9bjSmRP8kXKZ1Yqm5e/H6VXeY KIoF0sWyMpRS2GEFLWbNMDcjSE+CzHSr2g5ilD3syq2Ks+g40htld3n9xZmD2gXop7EmtYFekAIRt Mu8h7KQ5/UqmmkGlmMQr+S3DWxtUUm9w+0aLWZyrvu3w3pNYvQTp9jJP0An+eEEhieQhUJwn3EDSi LAs0FAaHsH81aKXjog8qzj8fbv554ZiS3g9BSQC8ELcT4gMjazvzAbMGwZY692ph6Z6aoL3hFDcV1 TEMfYdRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1slYW8-00000001Ue9-0vfC; Tue, 03 Sep 2024 18:44:40 +0000 Received: from out-189.mta0.migadu.com ([91.218.175.189]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1slYVC-00000001UND-1Dx3 for linux-arm-kernel@lists.infradead.org; Tue, 03 Sep 2024 18:43:43 +0000 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1725389019; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=u0V+gHjiO+W5aR/7m1PFt/lGZTb9pucfD3ixCjjavZc=; b=xrsgXmVLei/Z/73DzMw7vDr4YKMRpplK7Z868CNE3MCS9Y7wL9cxwIpMdT4QH88h/tR71s QNZqxBRIcsD+EHWTtPu6F16RO327PkB+uxMCYB6IfTpRBwFiMbb1lUa7zsU+7fdHCOzyvx isP34qNmYXVpGi5+JRt5/pTdQnJOxR0= From: Sean Anderson To: Radhey Shyam Pandey , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org Cc: Michal Simek , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sean Anderson Subject: [PATCH 0/3] net: xilinx: axienet: Partial checksum offload improvements Date: Tue, 3 Sep 2024 14:43:31 -0400 Message-Id: <20240903184334.4150843-1-sean.anderson@linux.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240903_114342_564213_B0B22B79 X-CRM114-Status: UNSURE ( 5.85 ) X-CRM114-Notice: Please train this message. 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 Partial checksum offload is not always used when it could be. Enable it in more cases. Sean Anderson (3): net: xilinx: axienet: Remove unused checksum variables net: xilinx: axienet: Enable NETIF_F_HW_CSUM for partial tx checksumming net: xilinx: axienet: Relax partial rx checksum checks drivers/net/ethernet/xilinx/xilinx_axienet.h | 5 ----- .../net/ethernet/xilinx/xilinx_axienet_main.c | 20 +++---------------- 2 files changed, 3 insertions(+), 22 deletions(-)