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 ECA51EED617 for ; Thu, 12 Sep 2024 16:09:19 +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: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=rFBCYm/EpAKj1YNbowSJMHUtEx3CEWM0kM3TF/YAY8M=; b=huNnc3Z8vcDuXrGia/gaeL+oHW zyPOGivnrRbmENOHF1+wvch0OlLlAazmxRL37Twt5lP8nAb8onlqnm+1esU08orU+gFsYol2d+5N9 OVDzNfDY2n/U5Jv/1n9gBWKIeEnMe0ETDi8QHVCQDLjJ8nN9TGgjW3L1WSd/VuJtt6DuE98b/lrN/ wwsCyO3+Yb24inshsEp3l/Yu0xrApaAUlrYoLIIkWg40MBpfE687xWPkzDDVhsN09VxouR011qPLi 7rUeRtnyNLFXLDerVkJ/In7+LWLgQMhs9IS3tqhQ9lqscA+vk/iJGwu0n/LoklCmyVsl1KQpyXVX3 +7OdFsIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1somNa-0000000Dewm-39xR; Thu, 12 Sep 2024 16:09:10 +0000 Received: from out-185.mta1.migadu.com ([2001:41d0:203:375::b9]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1somMW-0000000DenP-0g1m for linux-arm-kernel@lists.infradead.org; Thu, 12 Sep 2024 16:08:05 +0000 Message-ID: <8ee8a13f-8308-42af-86a6-610bcde5f7f3@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1726157279; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rFBCYm/EpAKj1YNbowSJMHUtEx3CEWM0kM3TF/YAY8M=; b=rpvQsnS82zGRxXybsFKH5tKV5N3Nv3wD3Q3A5lCHljhkZxaFoIfZzlOmbUL+QGjPxZszJN e51ucs2xnq88zyXAZD3U2hNefGVtnV+BxwB1nHXWuRcx1W6zmhzuAghmeQTEZkQ4vQ63LF 24BVXoUX8Oc/RhOI/MVAwAOJNDTbh/E= Date: Thu, 12 Sep 2024 12:07:54 -0400 MIME-Version: 1.0 Subject: Re: [PATCH net] net: xilinx: axienet: Schedule NAPI in two steps To: Jakub Kicinski Cc: Radhey Shyam Pandey , "David S . Miller" , Eric Dumazet , Paolo Abeni , netdev@vger.kernel.org, Robert Hancock , linux-kernel@vger.kernel.org, Michal Simek , linux-arm-kernel@lists.infradead.org References: <20240909231904.1322387-1-sean.anderson@linux.dev> <20240910185801.42b7c17f@kernel.org> <20240912084322.148d7fb2@kernel.org> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Sean Anderson In-Reply-To: <20240912084322.148d7fb2@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240912_090804_517108_8155EEBC X-CRM114-Status: UNSURE ( 7.73 ) 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 On 9/12/24 11:43, Jakub Kicinski wrote: > On Thu, 12 Sep 2024 10:23:06 -0400 Sean Anderson wrote: >> __napi_schedule_irqoff selects between __napi_schedule and >> ____napi_schedule based on whether PREEMPT_RT is enabled. Is there some >> other way to force IRQ threading? > > I think so, IIRC threadirqs= kernel boot option lets you do it. > I don't remember all the details now :( LMK if I'm wrong Hm, maybe __napi_schedule_irqoff should be updated to take that into account. I will resend without this change. --Sean