Received: by 10.223.176.46 with SMTP id f43csp1207717wra; Fri, 19 Jan 2018 08:19:06 -0800 (PST) X-Google-Smtp-Source: ACJfBou5oDlqTLWEq1OEKb7DStPjke99ymCztcHd7P/ZBCa7auvMd2timNoHnOghVreHIph9r4Tw X-Received: by 10.98.133.193 with SMTP id m62mr34342586pfk.18.1516378746158; Fri, 19 Jan 2018 08:19:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516378746; cv=none; d=google.com; s=arc-20160816; b=Ozcty8jYdeEfaQokHxIMYdmc4yEaUECYS9bjqybdPc2Mwnbo568u03LyxPR7kSTOH+ l0SyoQeb3UDOzvmAfhHkcr90rMPuQIbX4yY4JQ6mMrzOAcVCC/gEJ88KzRek4T5Skxc7 Ke8RYx0KOnbxQw6768U0pUqEN1idAV6dIHsR21rHWdDMiycqHX4Yg9CKQ2Ko89NuE9pk SOs9fRAfhila8e2Lb8fs5B0bIJA7qHgcinahki93E+pwlGSmnIJ022abl8eNO5iwE6gK VZuV4LhEA0deceO/bmU9DsKHKnQVAtLES7FG1UKkwy9+3qXrI125e73cmYxYtD1vISfZ iLbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=um8pgotG4BDDOjbJaCEf9K2H09AjHwF+LCRZEj0AOQs=; b=qNJm4Zgmso8hR2FZuo2RVvQVYiPkSMmAKKgxkHjcpAlGNtP9ndurxF4dX8DCytOvYu aRjafymQxpSYoDxE0ww9lfrWz3TRoPzrh0miRqPsO/SpUYASurGxFj5i2WIbQATcHMrz lPUrjV4d4EADIA+AoW7UpYbfQYFEAEZviLwsigtlj2Kn0/7LKQOMolC3zyhn5yDCrSz4 8xk7UTz8jR175PVATCR9NdHQzrD365wTUz306A1Udcs49aPuHabahMnVxwfOqwETtwYy TOuEEhoyYRR6EjCtk3BPEneI2nCHsPoLyBvkuJVBB9rj/GNJXLbFf8tnDSJqgt9Nq0au xOCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 74si9360820pfl.59.2018.01.19.08.18.52; Fri, 19 Jan 2018 08:19:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756136AbeASQQj (ORCPT + 99 others); Fri, 19 Jan 2018 11:16:39 -0500 Received: from shards.monkeyblade.net ([184.105.139.130]:43060 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755744AbeASQQc (ORCPT ); Fri, 19 Jan 2018 11:16:32 -0500 Received: from localhost (unknown [172.56.34.194]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 7FFB11353953E; Fri, 19 Jan 2018 08:16:28 -0800 (PST) Date: Fri, 19 Jan 2018 11:16:25 -0500 (EST) Message-Id: <20180119.111625.1700179370745007835.davem@davemloft.net> To: frederic@kernel.org Cc: linux-kernel@vger.kernel.org, alexander.levin@verizon.com, peterz@infradead.org, mchehab@s-opensource.com, torvalds@linux-foundation.org, hannes@stressinduktion.org, paulmck@linux.vnet.ibm.com, wanpeng.li@hotmail.com, dima@arista.com, tglx@linutronix.de, akpm@linux-foundation.org, pabeni@redhat.com, rrendec@arista.com, mingo@kernel.org, sgruszka@redhat.com, riel@redhat.com, edumazet@google.com Subject: Re: [RFC PATCH 1/4] softirq: Limit vector to a single iteration on IRQ tail From: David Miller In-Reply-To: <1516376774-24076-2-git-send-email-frederic@kernel.org> References: <1516376774-24076-1-git-send-email-frederic@kernel.org> <1516376774-24076-2-git-send-email-frederic@kernel.org> X-Mailer: Mew version 6.7 on Emacs 25.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 19 Jan 2018 08:16:32 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Frederic Weisbecker Date: Fri, 19 Jan 2018 16:46:11 +0100 > For now, vectors that get re-enqueued trigger ksoftirqd but they are > going to be handled by per-vector workqueues on subsequent patches. Frederic, first of all, thanks for doing all of this work. So this "get requeued" condition I think will trigger always for networking tunnel decapsulation. Each decap will (eventually) do a: __raise_softirq_irqoff(NET_RX_SOFTIRQ); via ____napi_schedule() in net/core/dev.c Example code path: ip_tunnel_rcv() gro_cells_receive() napi_schedule() __napi_schedule() ____napi_schedule(); __raise_softirq_irqoff(NET_RX_SOFTIRQ); Anyways, just FYI...