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 E489DA0506 for ; Tue, 29 Mar 2022 16:11:59 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BF45F40141; Tue, 29 Mar 2022 16:11:59 +0200 (CEST) Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) by mails.dpdk.org (Postfix) with ESMTP id 9AE7240141 for ; Tue, 29 Mar 2022 16:11:58 +0200 (CEST) Received: by mail-ed1-f50.google.com with SMTP id y10so20841230edv.7 for ; Tue, 29 Mar 2022 07:11:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:content-transfer-encoding:user-agent:mime-version; bh=8ySm7QcjECDgj/jqC0UPIngGvgyjJlFKcIJWFYojbQY=; b=quLJcidBMsrfq2XAgkmuqHlwGBdT3fWHgpD4nOWXkKqJRFVDMgLh4/eqhWMbBKLxlM Pgke1U91tpZveUKBn0XMsL10/g48T58eOkajqm5LhrvjQBBTO+toeJn0By0eQiB2i5cT U9MdW2Xkghksb9NnELHCqsLiV7Ax9fkg+WiFhrIcYGSndO8OpUvT+gx4/G5AAeF/SNK3 WXAJbdAbVHzJH22HMHU37IBQ0AlXnNxyao8OcSCr0fsUGOBA4p5HRtSf8JRi5l5pOEmI mAexe3v6DQ494fcrxCFI1O5szhLPn31fsQWQEexi689C5x5KwauQcVnPks5NfHMAP9Vo 70PQ== X-Gm-Message-State: AOAM533MRzf8uQ8xRsH9PLgecc6566txNYdQF3G5ZxsUrYIPV/+zZJtU CK45Ix/Gnsf48102TeT//rDBLx2PeKeBDw== X-Google-Smtp-Source: ABdhPJzwyV8Ag/lg0BsF8qcaKTUGYX6RHbszODsDK05TtGUKndambtjCawwtl42QWLycfNkT11Yb2A== X-Received: by 2002:a50:99cd:0:b0:418:d6c2:2405 with SMTP id n13-20020a5099cd000000b00418d6c22405mr4839306edb.342.1648563117860; Tue, 29 Mar 2022 07:11:57 -0700 (PDT) Received: from localhost ([2a01:4b00:f41a:3600:360b:9754:2e3a:c344]) by smtp.gmail.com with ESMTPSA id m21-20020a17090677d500b006df766974basm7284463ejn.3.2022.03.29.07.11.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Mar 2022 07:11:57 -0700 (PDT) Message-ID: <2dfafbff07db8c05fd102c76e7da64410135dffe.camel@debian.org> Subject: Re: [PATCH 20.11 2/2] dpaa2: fix build with RTE_LIBRTE_IEEE1588 From: Luca Boccassi To: stable@dpdk.org Cc: vanshika.shukla@nxp.com, Lingli Chen , Hemant Agrawal Date: Tue, 29 Mar 2022 15:11:56 +0100 In-Reply-To: <20220329120953.152396-2-luca.boccassi@gmail.com> References: <20220329120953.152396-1-luca.boccassi@gmail.com> <20220329120953.152396-2-luca.boccassi@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.38.3-1+plugin MIME-Version: 1.0 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, 2022-03-29 at 13:09 +0100, luca.boccassi@gmail.com wrote: > From: Luca Boccassi >=20 > ../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 un= declared (first use in this function); did you mean =E2=80=98ldiv=E2=80=99? > =C2=A0=C2=A0=C2=A0=C2=A0priv->rx_timestamp =3D > =C2=A0=C2=A0=C2=A0=C2=A0^~~~ > =C2=A0=C2=A0=C2=A0=C2=A0ldiv >=20 > Bugzilla ID: 982 >=20 > Fixes: 1d10966a22ca ("net/dpaa2: fix timestamping for IEEE1588") >=20 > Signed-off-by: Luca Boccassi > --- > =C2=A0drivers/net/dpaa2/dpaa2_rxtx.c | 3 +++ > =C2=A01 file changed, 3 insertions(+) >=20 > diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxt= x.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, uin= t16_t nb_pkts) > =C2=A0 const struct qbman_fd *fd; > =C2=A0 struct qbman_pull_desc pulldesc; > =C2=A0 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 > =C2=A0 >=20 > =C2=A0 if (unlikely(!DPAA2_PER_LCORE_DPIO)) { > =C2=A0 ret =3D dpaa2_affine_qbman_swp(); FYI Vanshika, Hemant and Lingli --=20 Kind regards, Luca Boccassi