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 9624FA00C3 for ; Sun, 5 Jun 2022 10:20:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 90BCA427EE; Sun, 5 Jun 2022 10:20:33 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id D2B5D40041; Sun, 5 Jun 2022 10:20:31 +0200 (CEST) Received: from [192.168.1.126] (unknown [188.242.181.57]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id 7E27C1D6; Sun, 5 Jun 2022 11:20:29 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 7E27C1D6 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1654417229; bh=dW3FGgjL0rBOQ92wLzXj2+UfXEzfchvHg1MdpfsECow=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=H2oVupwxDr0oSkhMc5WCx8BUm8P7481nGiNqG8fOzOtBl0+DQsu9HqeAmhiS6h9ry I0/fhM09X7gVd2remyJdRXCKIJt88DeDF7tOD2+757NKp+VPYWMw18Gr6912S89NGl hDaZLDK4SinxNjPhLNpSM6B4JqV87GUDdx8rVv/4= Message-ID: <83ff8e0b-f5de-f821-ba05-66443c9c28f4@oktetlabs.ru> Date: Sun, 5 Jun 2022 11:20:27 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH v3] kni: fix build with Linux 5.18 Content-Language: en-US From: Andrew Rybchenko To: Ferruh Yigit , Stephen Hemminger Cc: dev@dpdk.org, Min Hu , mingli.yu@windriver.com, Jiri Slaby , stable@dpdk.org References: <20220525101224.19748-1-jslaby@suse.cz> <20220605075449.3095576-1-andrew.rybchenko@oktetlabs.ru> In-Reply-To: <20220605075449.3095576-1-andrew.rybchenko@oktetlabs.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 6/5/22 10:54, Andrew Rybchenko wrote: > From: Jiri Slaby > > Since commit 2655926aea9b (net: Remove netif_rx_any_context() and > netif_rx_ni().) in 5.18, netif_rx_ni() no longer exists as netif_rx() > can be called from any context. So define HAVE_NETIF_RX_NI for older > releases and call the appropriate function in kni_net. > > Cc: stable@dpdk.org > > Signed-off-by: Jiri Slaby > Signed-off-by: Andrew Rybchenko Self NACK. I've found correct patch in patchwork finally.