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 E80D84237C; Mon, 9 Jan 2023 10:08:09 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CAFEF40687; Mon, 9 Jan 2023 10:08:09 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 66FE64067C for ; Mon, 9 Jan 2023 10:08:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673255287; 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=MuOVlxgmXCPLjUZMELxvuuHMygEnAcUmMQ2ftFJ1WHc=; b=BZRukq70kVh9AsFrdkFi/0vsIuDj+52EL18oNCsoAolOBwpFBuJW0xxQejt19jZWDn531v U8EHxAOfNiNUSFPoeH5fkD5a/3TyqlFzBXOOG/oWsL3a0feHjkZac3NI+Px7VIMpewoOch RdHHD1U6gnaPLg8sABR0y4z6xNVvjGA= Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-561-ljgukQFtOwawtzBz76SKQw-1; Mon, 09 Jan 2023 04:08:06 -0500 X-MC-Unique: ljgukQFtOwawtzBz76SKQw-1 Received: by mail-pl1-f197.google.com with SMTP id d2-20020a170902cec200b001899479b1d8so5996341plg.22 for ; Mon, 09 Jan 2023 01:08:06 -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=MuOVlxgmXCPLjUZMELxvuuHMygEnAcUmMQ2ftFJ1WHc=; b=TM1Lk1objxUPfs8Cfbcf2LXMsC2b6jyBY8gwIhMZeSKTa7F2AiS1nn2Ljkzn6tVJmB NnjHshN+P5zvMNrrKSbeEdRKhCrYQ7I8Qcq0PrQWj559dxBXYtnhBfxYQv46Xr4u3QDP RL57kamdAMAwuT3GPZGtBOBBgNNKOLmA5f3z07kAiQR7PpnSTs1MAkKhG3N4F81FpXZ/ kJt+CrcKvYil03iUg2jgonaQZ/EB+nczHm3VYMkJGwRcg+r+vwXxtpd7VS4wb/CPRjTy 5hoE5S+SMBRB44wIoow0N25qXlNSiY4ngbQqHdZATGsEVHNxkGz0omTCh06zmCdsU7BH XgWg== X-Gm-Message-State: AFqh2koIFgphiKYrMfKOBk5oIqi1t/NIAt+yud2tuRoxhjhNTZErT3V+ jrH1jLZpkFMnC4rnKO+xS5Q9to25qpZykG7EDAes/XX3h+yaQDUs+4wk7fe8noXf5oD1MjNnCw2 R+S7Kd4QmFxhDjPSuCjY= X-Received: by 2002:a17:90a:708d:b0:226:197:63fd with SMTP id g13-20020a17090a708d00b00226019763fdmr3227991pjk.55.1673255285327; Mon, 09 Jan 2023 01:08:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXsCydMQbHVyt8oCRcVbWjhC5O/VJqnMWyt4TkvmqblFdljCg/ulYcE1T78NdEFV57sdPcXOkoY9ZmbZiRnjGgo= X-Received: by 2002:a17:90a:708d:b0:226:197:63fd with SMTP id g13-20020a17090a708d00b00226019763fdmr3227987pjk.55.1673255285066; Mon, 09 Jan 2023 01:08:05 -0800 (PST) MIME-Version: 1.0 References: <20230106201315.1179306-1-ferruh.yigit@amd.com> In-Reply-To: <20230106201315.1179306-1-ferruh.yigit@amd.com> From: David Marchand Date: Mon, 9 Jan 2023 10:07:53 +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 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 -- David Marchand