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 1AC65A04FF for ; Thu, 31 Mar 2022 14:26:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EE5B74014F; Thu, 31 Mar 2022 14:26:02 +0200 (CEST) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) by mails.dpdk.org (Postfix) with ESMTP id EB4E74014F for ; Thu, 31 Mar 2022 14:26:01 +0200 (CEST) Received: by mail-lj1-f176.google.com with SMTP id h11so31745639ljb.2 for ; Thu, 31 Mar 2022 05:26:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=r3Orn7YkAMrIqin0W0Kzs8WCcBYMDGdRLN+95p4fzLk=; b=D7Fd789zTd2+LiK36nLZl0WZwT9fQFAY6ubH/h1RcIKeNcfK9DD+l9jNU5+78OKJJZ mpeCJkVKXuiAGZR4Ap3eSvG3O94Jm7qtg7ZXZ72F2Cye0VO0IV5jQTc0bOzghj4FvZZN e4OPKTsH4fvnkhH2UZGm3Q4V5MIGruwFC8V/p+x4NkU02wQT5pQn7zMWB3pxKoAvRYo+ rBOdCJi051VoOan8a2EnhhfbhFOEKBX+f3zye6uyd6rMpq5dCruTQhnNmicWeQCYJJEe +LLYnFUNYRcCmxOcw5Sea6m2OwtH+miyG1sXtLNmreejW11S0w8tBeORCvlFOTZ2D7MU pEOQ== X-Gm-Message-State: AOAM531bzYKWa+VvoKx+XjbPkYp2jpTPm0OtVpfBxLU8YeCNOmmdbMXp rxWcB/ATsHgokzaIAdxI560eYX78XB0R6A== X-Google-Smtp-Source: ABdhPJzo1xSKKuoqHYErReRjaeRSUVj9d5XUDT5jQr+nivU0jPNK0Rxsi9DQFaM5eNyBDteGCmTZEQ== X-Received: by 2002:a2e:bf04:0:b0:246:7ace:e157 with SMTP id c4-20020a2ebf04000000b002467acee157mr10529486ljr.241.1648729561130; Thu, 31 Mar 2022 05:26:01 -0700 (PDT) Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com. [209.85.167.47]) by smtp.gmail.com with ESMTPSA id z11-20020a2e7e0b000000b0024afddb594fsm52870ljc.71.2022.03.31.05.26.00 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 31 Mar 2022 05:26:00 -0700 (PDT) Received: by mail-lf1-f47.google.com with SMTP id e16so41140386lfc.13 for ; Thu, 31 Mar 2022 05:26:00 -0700 (PDT) X-Received: by 2002:ac2:4c87:0:b0:44a:6b72:2232 with SMTP id d7-20020ac24c87000000b0044a6b722232mr10547219lfl.396.1648729560246; Thu, 31 Mar 2022 05:26:00 -0700 (PDT) MIME-Version: 1.0 References: <20220329120953.152396-1-luca.boccassi@gmail.com> <20220329120953.152396-2-luca.boccassi@gmail.com> <2dfafbff07db8c05fd102c76e7da64410135dffe.camel@debian.org> In-Reply-To: <2dfafbff07db8c05fd102c76e7da64410135dffe.camel@debian.org> From: Luca Boccassi Date: Thu, 31 Mar 2022 13:25:48 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 20.11 2/2] dpaa2: fix build with RTE_LIBRTE_IEEE1588 To: dpdk stable Cc: Vanshika Shukla , Lingli Chen , Hemant Agrawal Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Tue, 29 Mar 2022 at 15:11, Luca Boccassi wrote: > > On Tue, 2022-03-29 at 13:09 +0100, luca.boccassi@gmail.com wrote: > > From: Luca Boccassi > > > > ../drivers/net/dpaa2/dpaa2_rxtx.c: In function =E2=80=98dpaa2_dev_rx=E2= =80=99: > > ../drivers/net/dpaa2/dpaa2_rxtx.c:863:4: error: =E2=80=98priv=E2=80=99 = undeclared (first use in this function); did you mean =E2=80=98ldiv=E2=80= =99? > > priv->rx_timestamp =3D > > ^~~~ > > ldiv > > > > Bugzilla ID: 982 > > > > Fixes: 1d10966a22ca ("net/dpaa2: fix timestamping for IEEE1588") > > > > Signed-off-by: Luca Boccassi > > --- > > drivers/net/dpaa2/dpaa2_rxtx.c | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_r= xtx.c > > index ecd004f9fa..23e193f86c 100644 > > --- a/drivers/net/dpaa2/dpaa2_rxtx.c > > +++ b/drivers/net/dpaa2/dpaa2_rxtx.c > > @@ -772,6 +772,9 @@ dpaa2_dev_rx(void *queue, struct rte_mbuf **bufs, u= int16_t nb_pkts) > > const struct qbman_fd *fd; > > struct qbman_pull_desc pulldesc; > > struct rte_eth_dev_data *eth_data =3D dpaa2_q->eth_data; > > +#if defined(RTE_LIBRTE_IEEE1588) > > + struct dpaa2_dev_priv *priv =3D eth_data->dev_private; > > +#endif > > > > > > if (unlikely(!DPAA2_PER_LCORE_DPIO)) { > > ret =3D dpaa2_affine_qbman_swp(); > > FYI Vanshika, Hemant and Lingli Ping - this is a blocker for the 20.11.5 LTS release, would it be possible to have a quick review from NXP? Thanks!