From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 68221A055F; Sun, 26 Jun 2022 15:25:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 087A741144; Sun, 26 Jun 2022 15:25:14 +0200 (CEST) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by mails.dpdk.org (Postfix) with ESMTP id 5559341141 for ; Sun, 26 Jun 2022 15:25:12 +0200 (CEST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id C8E8232008FC; Sun, 26 Jun 2022 09:25:10 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 26 Jun 2022 09:25:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1656249910; x= 1656336310; bh=6r+ZAFlKwe9FBM4BIKznVxNJjpuH3a70aQiqJt1u3hk=; b=e r3VKi158/kRYL6ZBhyoHDf/7bBwuyWKjc5oWBRc2mM4b2pcLI3WTrUqwnFXTNKBP dBw8XbBN5LdW1bXFLteztwk8UOaXPS9DjRmtBZGNTqAdZBpbzCcOokO4WzbEXUJR 7fwEulgMZewldF40cuXgbpCj9J+H6fiSlmmOfEXQiPUyGQP9SGnYNv9bvC+U7E/W c1StyozD+oyzA/KzUVR0EZ9gyEaXy4a1QOYwSL8zn7VzmkDAlzVDbojgOGu+MUFE KmDbrUTv/XvG+kKq1x3EFj9vHYmyj+RLhbxpr7m1e155rByf1LzE9TWftBzCsF8r P6I6iTgg0a73cktQxjQUg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1656249910; x= 1656336310; bh=6r+ZAFlKwe9FBM4BIKznVxNJjpuH3a70aQiqJt1u3hk=; b=X wKQJ0vw1RPfD28CH8Qs1jFHLzhAu1UZJqUq9CuRj7xZQFNp5q3GCHwg6Gxu1gMXV jjZqPHdg+yR1qFKhg+3T39hucWvxv++f2lRRdV7Lxx6l5ka1/iiaKZRrrHFcZ3mK Wgm7t2OLp8AWGtTfYBs9bm7L/vt0BJ+uDG+pCovBSwdY+ECMdJ7RNsjmwmd2TJCo R6dg6yqMxphFzVxHqQg1CDRKRyWW5VgY/+XfhQ8Slg5gl8azxBIQz5PjBizvucch BDfS0YVmdmxJ/wIGAqsn/WadTLW5Y1p/2/oL+vpJHMcepKfzv+BxOl2QRABTqhN9 DO/izzWj7jsMWOOpo6S5A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudegfedgieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvvefufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpeejjefffffgffekfefflefgkeelteejffelledugefhheelffet heevudffudfgvdenucffohhmrghinhepughpughkrdhorhhgnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth X-ME-Proxy: Feedback-ID: i47234305:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 26 Jun 2022 09:25:09 -0400 (EDT) From: Thomas Monjalon To: Gagandeep Singh Cc: dev@dpdk.org Subject: Re: [PATCH v3] kni: update kernel API to receive packets Date: Sun, 26 Jun 2022 15:25:07 +0200 Message-ID: <4177589.BaHzMo0RvP@thomas> In-Reply-To: <20220421085931.2429443-1-g.singh@nxp.com> References: <20220421034502.1987597-1-g.singh@nxp.com> <20220421085931.2429443-1-g.singh@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 21/04/2022 10:59, Gagandeep Singh: > API 'netif_rx_ni()' has been removed in kernel with commit: > baebdf48c3600 ("net: dev: Makes sure netif_rx() can be invoked in any context.") > > The API netif_rx() can be used for any context to receive packets > from device drivers. > > This patch replaces the API netif_rx_ni() with netif_rx() for > kernel version 5.18 and above. > > Signed-off-by: Gagandeep Singh A similar patch has been merged recently: https://git.dpdk.org/dpdk/commit/?id=c98600d4bed6d15599