From patchwork Thu Mar 3 17:14:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Andrzej Siewior X-Patchwork-Id: 12767788 X-Patchwork-Delegate: kuba@kernel.org 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C358C433FE for ; Thu, 3 Mar 2022 17:15:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235252AbiCCRQF (ORCPT ); Thu, 3 Mar 2022 12:16:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230229AbiCCRQE (ORCPT ); Thu, 3 Mar 2022 12:16:04 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0352E5B3DE; Thu, 3 Mar 2022 09:15:18 -0800 (PST) From: Sebastian Andrzej Siewior DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1646327716; 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: in-reply-to:in-reply-to:references:references; bh=sJEo/FhG0+j8UsdQWenNrIjooNO4Jwq8CGdtxHF/zeI=; b=lFVdN1Hp5xaSgOcs7eb8Oxnhj/5XLuwqCyMudQfNAzb+z1UMJbVsm9VK1QstHTdd/ZTS2q 1sGeeBoObfQ2ygF9tmMro+vwNUBRkBvQV3WjKlFKB4MG78ssdkW1pBTxOObNPbHTraZMHE rJquukny7bKJhxg1F1+1Tx2SR9LFJqjYdojrEUXLrDWJjyEIys6pLBC7ldMdz10ins8R38 YarfMwKLzsl4nqMK9K+9YnA4v9Jm0inUqOmm32lZ6deQ3ju02snlXA6VL+N+TiiYDxE4d7 pfKJSPawAh5aFkO1op6OYNWvkKUVsrg8T3E6/gFbsUCnPAAbNepYXxsdpfwJ2A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1646327716; 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: in-reply-to:in-reply-to:references:references; bh=sJEo/FhG0+j8UsdQWenNrIjooNO4Jwq8CGdtxHF/zeI=; b=BPMI86KfF6GXBN/QhYJlJnL779jZMWgzmIJvAm6xKjR6GrO5p0Mt68XpaapjkMOtLiAd22 ttDPQO7UVeCBcSDg== To: netdev@vger.kernel.org Cc: "David S. Miller" , Jakub Kicinski , Thomas Gleixner , Sebastian Andrzej Siewior , Jonathan Corbet , linux-doc@vger.kernel.org Subject: [PATCH net-next 1/9] docs: networking: Use netif_rx(). Date: Thu, 3 Mar 2022 18:14:57 +0100 Message-Id: <20220303171505.1604775-2-bigeasy@linutronix.de> In-Reply-To: <20220303171505.1604775-1-bigeasy@linutronix.de> References: <20220303171505.1604775-1-bigeasy@linutronix.de> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Since commit baebdf48c3600 ("net: dev: Makes sure netif_rx() can be invoked in any context.") the function netif_rx() can be used in preemptible/thread context as well as in interrupt context. Use netif_rx(). Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior --- Documentation/networking/timestamping.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/networking/timestamping.rst b/Documentation/networking/timestamping.rst index f5809206eb93d..be4eb12420570 100644 --- a/Documentation/networking/timestamping.rst +++ b/Documentation/networking/timestamping.rst @@ -668,7 +668,7 @@ In the generic layer, DSA provides the following infrastructure for PTP (through another RX timestamping FIFO). Deferral on RX is typically necessary when retrieving the timestamp needs a sleepable context. In that case, it is the responsibility of the DSA driver to call - ``netif_rx_ni()`` on the freshly timestamped skb. + ``netif_rx()`` on the freshly timestamped skb. 3.2.2 Ethernet PHYs ^^^^^^^^^^^^^^^^^^^