patches for DPDK stable branches
 help / color / mirror / Atom feed
From: "Ferriter, Cian" <cian.ferriter@intel.com>
To: "Ferriter, Cian" <cian.ferriter@intel.com>,
	"Chandran, Sugesh" <sugesh.chandran@intel.com>
Cc: Hemant Agrawal <hemant.agrawal@nxp.com>,
	"stable@dpdk.org" <stable@dpdk.org>
Subject: Re: [dpdk-stable] [PATCH v2 1/2] bus/fslmc: fix undefined reference of memsegs
Date: Mon, 10 Sep 2018 12:37:03 +0000	[thread overview]
Message-ID: <579B86492DFB364BBA627A48FB30C90E4C1F2872@IRSMSX102.ger.corp.intel.com> (raw)
In-Reply-To: <1536582402-147107-1-git-send-email-cian.ferriter@intel.com>

Please ignore this mail. An error on my part when using the "git send-email" CMD.

> -----Original Message-----
> From: Ferriter, Cian
> Sent: 10 September 2018 13:27
> To: cferrite; sugeshch
> Cc: Hemant Agrawal <hemant.agrawal@nxp.com>; stable@dpdk.org;
> Ferriter, Cian <cian.ferriter@intel.com>
> Subject: [PATCH v2 1/2] bus/fslmc: fix undefined reference of memsegs
> 
> From: Hemant Agrawal <hemant.agrawal@nxp.com>
> 
> This patch fix the undefined reference issue with rte_dpaa2_memsegs when
> compiled in shared lib mode with EXTRA_CFLAGS="-g -O0"
> 
> Bugzilla ID: 61
> Fixes: 365fb925d3b3 ("bus/fslmc: optimize physical to virtual address search")
> Cc: stable@dpdk.org
> 
> Reported-by: Keith Wiles <keith.wiles@intel.com>
> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
> Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
> Signed-off-by: Cian Ferriter <cian.ferriter@intel.com>
> ---
>  drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c            | 7 +++++++
>  drivers/bus/fslmc/rte_bus_fslmc_version.map         | 1 +
>  drivers/mempool/dpaa2/dpaa2_hw_mempool.c            | 7 -------
>  drivers/mempool/dpaa2/rte_mempool_dpaa2_version.map | 1 -
>  4 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c
> b/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c
> index 39c5adf..db49d63 100644
> --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c
> +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpbp.c
> @@ -28,6 +28,13 @@
>  #include "portal/dpaa2_hw_pvt.h"
>  #include "portal/dpaa2_hw_dpio.h"
> 
> +/* List of all the memseg information locally maintained in dpaa2
> +driver. This
> + * is to optimize the PA_to_VA searches until a better mechanism (algo)
> +is
> + * available.
> + */
> +struct dpaa2_memseg_list rte_dpaa2_memsegs
> +	= TAILQ_HEAD_INITIALIZER(rte_dpaa2_memsegs);
> +
>  TAILQ_HEAD(dpbp_dev_list, dpaa2_dpbp_dev);  static struct dpbp_dev_list
> dpbp_dev_list
>  	= TAILQ_HEAD_INITIALIZER(dpbp_dev_list); /*!< DPBP device list */
> diff --git a/drivers/bus/fslmc/rte_bus_fslmc_version.map
> b/drivers/bus/fslmc/rte_bus_fslmc_version.map
> index fe45a11..b4a8817 100644
> --- a/drivers/bus/fslmc/rte_bus_fslmc_version.map
> +++ b/drivers/bus/fslmc/rte_bus_fslmc_version.map
> @@ -114,5 +114,6 @@ DPDK_18.05 {
>  	dpdmai_open;
>  	dpdmai_set_rx_queue;
>  	rte_dpaa2_free_dpci_dev;
> +	rte_dpaa2_memsegs;
> 
>  } DPDK_18.02;
> diff --git a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c
> b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c
> index 7d0435f..84ff128 100644
> --- a/drivers/mempool/dpaa2/dpaa2_hw_mempool.c
> +++ b/drivers/mempool/dpaa2/dpaa2_hw_mempool.c
> @@ -33,13 +33,6 @@
>  struct dpaa2_bp_info rte_dpaa2_bpid_info[MAX_BPID];  static struct
> dpaa2_bp_list *h_bp_list;
> 
> -/* List of all the memseg information locally maintained in dpaa2 driver. This
> - * is to optimize the PA_to_VA searches until a better mechanism (algo) is
> - * available.
> - */
> -struct dpaa2_memseg_list rte_dpaa2_memsegs
> -	= TAILQ_HEAD_INITIALIZER(rte_dpaa2_memsegs);
> -
>  /* Dynamic logging identified for mempool */  int dpaa2_logtype_mempool;
> 
> diff --git a/drivers/mempool/dpaa2/rte_mempool_dpaa2_version.map
> b/drivers/mempool/dpaa2/rte_mempool_dpaa2_version.map
> index b9d996a..b45e7a9 100644
> --- a/drivers/mempool/dpaa2/rte_mempool_dpaa2_version.map
> +++ b/drivers/mempool/dpaa2/rte_mempool_dpaa2_version.map
> @@ -3,7 +3,6 @@ DPDK_17.05 {
> 
>  	rte_dpaa2_bpid_info;
>  	rte_dpaa2_mbuf_alloc_bulk;
> -	rte_dpaa2_memsegs;
> 
>  	local: *;
>  };
> --
> 2.7.4

      reply	other threads:[~2018-09-10 12:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-10 12:26 Cian Ferriter
2018-09-10 12:37 ` Ferriter, Cian [this message]

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=579B86492DFB364BBA627A48FB30C90E4C1F2872@IRSMSX102.ger.corp.intel.com \
    --to=cian.ferriter@intel.com \
    --cc=hemant.agrawal@nxp.com \
    --cc=stable@dpdk.org \
    --cc=sugesh.chandran@intel.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).