patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Luca Boccassi <bluca@debian.org>
To: stable@dpdk.org
Cc: vanshika.shukla@nxp.com, Lingli Chen <linglix.chen@intel.com>,
	Hemant Agrawal <hemant.agrawal@nxp.com>
Subject: Re: [PATCH 20.11 2/2] dpaa2: fix build with RTE_LIBRTE_IEEE1588
Date: Tue, 29 Mar 2022 15:11:56 +0100	[thread overview]
Message-ID: <2dfafbff07db8c05fd102c76e7da64410135dffe.camel@debian.org> (raw)
In-Reply-To: <20220329120953.152396-2-luca.boccassi@gmail.com>

On Tue, 2022-03-29 at 13:09 +0100, luca.boccassi@gmail.com wrote:
> From: Luca Boccassi <bluca@debian.org>
> 
> ../drivers/net/dpaa2/dpaa2_rxtx.c: In function ‘dpaa2_dev_rx’:
> ../drivers/net/dpaa2/dpaa2_rxtx.c:863:4: error: ‘priv’ undeclared (first use in this function); did you mean ‘ldiv’?
>     priv->rx_timestamp =
>     ^~~~
>     ldiv
> 
> Bugzilla ID: 982
> 
> Fixes: 1d10966a22ca ("net/dpaa2: fix timestamping for IEEE1588")
> 
> Signed-off-by: Luca Boccassi <bluca@debian.org>
> ---
>  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_rxtx.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, uint16_t nb_pkts)
>  	const struct qbman_fd *fd;
>  	struct qbman_pull_desc pulldesc;
>  	struct rte_eth_dev_data *eth_data = dpaa2_q->eth_data;
> +#if defined(RTE_LIBRTE_IEEE1588)
> +	struct dpaa2_dev_priv *priv = eth_data->dev_private;
> +#endif
>  
> 
>  	if (unlikely(!DPAA2_PER_LCORE_DPIO)) {
>  		ret = dpaa2_affine_qbman_swp();

FYI Vanshika, Hemant and Lingli

-- 
Kind regards,
Luca Boccassi

  reply	other threads:[~2022-03-29 14:11 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-29 12:09 [PATCH 20.11 1/2] Revert "regexdev: fix section attribute of symbols" luca.boccassi
2022-03-29 12:09 ` [PATCH 20.11 2/2] dpaa2: fix build with RTE_LIBRTE_IEEE1588 luca.boccassi
2022-03-29 14:11   ` Luca Boccassi [this message]
2022-03-31 12:25     ` Luca Boccassi
2022-04-01  5:29       ` [EXT] " Vanshika Shukla
2022-04-01  7:19         ` Christian Ehrhardt
2022-03-31 15:19     ` Hemant Agrawal
2022-03-29 14:20   ` Christian Ehrhardt
2022-03-29 14:07 ` [PATCH 20.11 1/2] Revert "regexdev: fix section attribute of symbols" Christian Ehrhardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2dfafbff07db8c05fd102c76e7da64410135dffe.camel@debian.org \
    --to=bluca@debian.org \
    --cc=hemant.agrawal@nxp.com \
    --cc=linglix.chen@intel.com \
    --cc=stable@dpdk.org \
    --cc=vanshika.shukla@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).