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 40FEC4238D; Mon, 9 Jan 2023 18:43:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DD35740689; Mon, 9 Jan 2023 18:43:29 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id A205C40150 for ; Mon, 9 Jan 2023 18:43:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673286207; 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: in-reply-to:in-reply-to:references:references; bh=1f3d258CBQAVaEj+GWFwckAqPzqkYO/PnexhSFAP4w8=; b=DtQ3VhdFvsDLSzdOSiUAvUztH2UAvq4OIq6Oj51tfJnzbvxDnZhHNoeM5eJF/ilyQz5qYO Lz+1Xf9xlMM6IzqXAcVDga7dmxslCs+bt04wrCDxI28MbxRAJ1ih6SzpFUeMH+NqW77fqC iEsx3U5CVvFnTr9h9eE9qxQXMzOmNUM= Received: from mail-pj1-f70.google.com (mail-pj1-f70.google.com [209.85.216.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-104-TbI1Zf-vMZGEO3FJV9bcdw-1; Mon, 09 Jan 2023 12:43:25 -0500 X-MC-Unique: TbI1Zf-vMZGEO3FJV9bcdw-1 Received: by mail-pj1-f70.google.com with SMTP id pa16-20020a17090b265000b0020a71040b4cso3291746pjb.6 for ; Mon, 09 Jan 2023 09:43:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1f3d258CBQAVaEj+GWFwckAqPzqkYO/PnexhSFAP4w8=; b=quke0OTZv0OiX7aIOC98bTYrU6sdSRKe6j0fxOqi9kIlJTxKdpoPEoVPSv0RuEzFe0 fjjbuHpRA2xCoSWzpWtP02Zd0JuatB1Sh1U9SY+aAA5QyieiFZBpBdW+m5PEoo+6fumu HcE3C6r8mYEgZLjD6SYLt78nOTATJvKrkpeYhrmQFrIodDS6ob2oMgkKLETvteDt+2Gy 443p8TKBSZ6vN8X+knxNAXhZCZnbJ5KEKdhIRRED4FasMrdCuqndwOlFRlTHcq7zV0HZ DTCs1NsfrSmp/JNjWTwG3dB79R4WyfUDCNc3CDLW6euGwtx7sV/g+9sdE7yuCdFe/aLf F/XA== X-Gm-Message-State: AFqh2kq9LYU1X10/ugSLGiRQg3wdLn3lIsOEfEWEg/x81UgCSFfGqDGs k/zLzkqf/b+sQ9qIfPsy5AHHsrCf2z58QD6x8T8oweKG6nsSUCwKKgapv7Aj+QdfozP4t4SjVWo G00bkiQcLtCSafooFtyU= X-Received: by 2002:a05:6a00:4189:b0:580:f805:8899 with SMTP id ca9-20020a056a00418900b00580f8058899mr3802898pfb.76.1673286204797; Mon, 09 Jan 2023 09:43:24 -0800 (PST) X-Google-Smtp-Source: AMrXdXs1oT+YNKpv+WLzSHnJgfdeSYOAAni0xQNArLKPaaTxq4chMgH55aEOH5Y4P+x3S5T4wj0gInAcZS7PI7Sl418= X-Received: by 2002:a05:6a00:4189:b0:580:f805:8899 with SMTP id ca9-20020a056a00418900b00580f8058899mr3802893pfb.76.1673286204507; Mon, 09 Jan 2023 09:43:24 -0800 (PST) MIME-Version: 1.0 References: <20230106201315.1179306-1-ferruh.yigit@amd.com> In-Reply-To: From: David Marchand Date: Mon, 9 Jan 2023 18:43:13 +0100 Message-ID: Subject: Re: [PATCH] kni: fix build on RHEL 9.1 To: Ferruh Yigit Cc: Thomas Monjalon , dev@dpdk.org, stable@dpdk.org, daxuex.gao@intel.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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 On Mon, Jan 9, 2023 at 10:07 AM David Marchand wrote: > > Hi Ferruh, > > On Fri, Jan 6, 2023 at 9:13 PM Ferruh Yigit wrote: > > > > Linux kernel in the RHEL9.1 seems backported Linux commit [1] that drops > > netif_rx_ni(). > > > > This was fixed in DPDK [2] for vanilla Linux kernel. > > > > Adding RHEL9.1 check for the netif_rx_ni() usage to fix build error. > > > > [1] > > 2655926aea9b ("net: Remove netif_rx_any_context() and netif_rx_ni().") > > > > [2] > > Commit c98600d4bed6 ("kni: fix build with Linux 5.18") > > > > Bugzilla ID: 1076 > > Cc: stable@dpdk.org > > > > Signed-off-by: Ferruh Yigit > > LGTM. > Tested compilation with 9.0 and 9.1 kernel devel packages. > Reviewed-by: David Marchand Applied, thanks Ferruh. -- David Marchand