From patchwork Tue Sep 3 19:25:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Anderson X-Patchwork-Id: 13789233 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 5813DCD37AA for ; Tue, 3 Sep 2024 19:26:46 +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=QF360K14VcVg7z2XyE8+/3/eZAXYC2hLsD6VFynELLc=; b=LvU2lkwiQAwreWMYoWzaHEhnSq 6vCixHMR9Rb4KwfxTfyaNYtoxxhl7vOr+EqdBnMKr2+YPL/ImaF+If/ZyxUl+s+tOyW1bKKihzHAS ssd9xQ2SXkRow0rNPxwbsbNiBqydF/NY6RFgUxpJs/Xowwbi0XdPtDU8qy6Xn+8AfIbfEaIOxLN8P h3JmDNr/MtBSVPMsInmLMpO/9lsY4baT638dREYpwt0nMGNqMfrF7UA3jC4CejEF3yqkl90gaPjZt tfTtsy1UC5LCJNF+hMEAedvI5v31ZCECXQrmcAsiaD0R4fzRetpFERSJmJ6z3TCSRR541uO+ml9XN V2GnL6cw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1slZAh-00000001bS4-014s; Tue, 03 Sep 2024 19:26:35 +0000 Received: from out-176.mta0.migadu.com ([91.218.175.176]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1slZ9i-00000001bBZ-1f4Y for linux-arm-kernel@lists.infradead.org; Tue, 03 Sep 2024 19:25:36 +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=1725391531; 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=QF360K14VcVg7z2XyE8+/3/eZAXYC2hLsD6VFynELLc=; b=TkH6RSzBANNSz9eMRL4aH1xDpt+94KF6D3b99fh83OcYt65v9F58AnMqcnx1zqkdQhMdGD 6qdScVDA1xOw5SUsCacyH4LihW5/0G8vWk8vdOhhvSZLup6kaNQODxPYQQx9AWF3LsMvbC f2a0rTOpUvfhwqYvCV9C61uIV+4mpmA= From: Sean Anderson To: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Radhey Shyam Pandey , netdev@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Michal Simek , Sean Anderson , Heng Qi Subject: [PATCH net-next 0/2] net: xilinx: axienet: Enable adaptive IRQ coalescing with DIM Date: Tue, 3 Sep 2024 15:25:22 -0400 Message-Id: <20240903192524.4158713-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_122534_897563_848ED267 X-CRM114-Status: UNSURE ( 6.88 ) 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 To improve performance without sacrificing latency under low load, enable DIM. While I appreciate not having to write the library myself, I do think there are many unusual aspects to DIM, as detailed in the last patch. This series depends on [1]. [1] https://lore.kernel.org/netdev/20240903180059.4134461-1-sean.anderson@linux.dev/ Sean Anderson (2): net: xilinx: axienet: Support adjusting coalesce settings while running net: xilinx: axienet: Enable adaptive IRQ coalescing with DIM drivers/net/ethernet/xilinx/Kconfig | 1 + drivers/net/ethernet/xilinx/xilinx_axienet.h | 18 +- .../net/ethernet/xilinx/xilinx_axienet_main.c | 254 ++++++++++++++---- 3 files changed, 220 insertions(+), 53 deletions(-)