From patchwork Mon Sep 9 16:10:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 13797265 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 2377BECE579 for ; Mon, 9 Sep 2024 16:14:41 +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=iMoMrQAD2bQyRfK0PZ7GSOB8Wm8K4cC6VgqvR/L06YM=; b=cgMZBW8VBORfjDWpBIXRIRoEfd 5s+O9Y5qkavpFd2lUVahoouzg6oIASGKCrndDzEx2kSqpUw2Gjm+CKaoMRbLpHuz+NEkIubHhi8oU KxbdGRbxbqkXuE42YXK3Ygz4W1eP9Y1Ss28I6gFhMCAWlBF484wmc/LtGrWyR0J03CiTQF5SJNEoO J/rkqtSu5Op1Cv4be0hYHVGPBr+0d7Dw7BJPu7MWhXWItN2pbHgW2GrljkuCQQfaCQQqnPpv+HErp qofY7tIauHFD3kgwHf6BnWs2XQ5zjsBVYB0b/Wgk393kgp6/bVho6wPakdVHje70BbiCBuR7hlBVP rZCypPXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1snh28-00000002cDF-1jkW; Mon, 09 Sep 2024 16:14:32 +0000 Received: from out-179.mta1.migadu.com ([2001:41d0:203:375::b3]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sngyE-00000002bPU-1IQ3 for linux-arm-kernel@lists.infradead.org; Mon, 09 Sep 2024 16:10:32 +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=1725898222; 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=iMoMrQAD2bQyRfK0PZ7GSOB8Wm8K4cC6VgqvR/L06YM=; b=fnbTlbuKGPJnu+bsgtinf1u6jOc25xKKdp4bUzYxbyRdH83KNBRTiZ3tnhrOzTEGH9fMe3 ogGU7eA1oGP4BvkPPo7n1vCAyPq15I8INH9CVSW2zU6uUeRpn3kdB88EfXN5JnIiUYve4u mNMXrWgPtEerliyel/1yRbORpYgQHto= From: Sean Anderson To: Radhey Shyam Pandey , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Michal Simek , Sean Anderson Subject: [PATCH net-next v2 0/4] net: xilinx: axienet: Partial checksum offload improvements Date: Mon, 9 Sep 2024 12:10:12 -0400 Message-Id: <20240909161016.1149119-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-20240909_091030_504767_9EE66888 X-CRM114-Status: UNSURE ( 5.54 ) 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. Changes in v2: - Set RXCSUM in features - Expand commit message with testing methodology Sean Anderson (4): net: xilinx: axienet: Remove unused checksum variables net: xilinx: axienet: Enable NETIF_F_HW_CSUM for partial tx checksumming net: xilinx: axienet: Set RXCSUM in features net: xilinx: axienet: Relax partial rx checksum checks drivers/net/ethernet/xilinx/xilinx_axienet.h | 5 ----- .../net/ethernet/xilinx/xilinx_axienet_main.c | 22 +++++-------------- 2 files changed, 5 insertions(+), 22 deletions(-)