bus/fslmc: fix undefined reference of memsegs
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: 365fb925d3
("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>
This commit is contained in:
parent
7281cf520f
commit
3605968c2f
@ -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 */
|
||||
|
@ -114,5 +114,6 @@ DPDK_18.05 {
|
||||
dpdmai_open;
|
||||
dpdmai_set_rx_queue;
|
||||
rte_dpaa2_free_dpci_dev;
|
||||
rte_dpaa2_memsegs;
|
||||
|
||||
} DPDK_18.02;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -3,7 +3,6 @@ DPDK_17.05 {
|
||||
|
||||
rte_dpaa2_bpid_info;
|
||||
rte_dpaa2_mbuf_alloc_bulk;
|
||||
rte_dpaa2_memsegs;
|
||||
|
||||
local: *;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user