drivers: mark internal NXP symbols

This patch moves the internal symbols to INTERNAL sections
so that any change in them is not reported as ABI breakage.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
This commit is contained in:
Hemant Agrawal 2020-05-15 15:17:44 +05:30 committed by David Marchand
parent 4d1f7981b4
commit 6b6ca75191
9 changed files with 35 additions and 17 deletions

View File

@ -75,3 +75,5 @@
name = rte_dpaa2_bpid_info
[suppress_function]
name = rte_dpaa2_mbuf_alloc_bulk
[suppress_function]
name_regexp = ^dpaa2?_.*tach$

View File

@ -6,12 +6,13 @@
#ifndef _DPAA2_SEC_EVENT_H_
#define _DPAA2_SEC_EVENT_H_
int
dpaa2_sec_eventq_attach(const struct rte_cryptodev *dev,
__rte_internal
int dpaa2_sec_eventq_attach(const struct rte_cryptodev *dev,
int qp_id,
struct dpaa2_dpcon_dev *dpcon,
const struct rte_event *event);
__rte_internal
int dpaa2_sec_eventq_detach(const struct rte_cryptodev *dev,
int qp_id);

View File

@ -1,8 +1,10 @@
DPDK_20.0 {
local: *;
};
INTERNAL {
global:
dpaa2_sec_eventq_attach;
dpaa2_sec_eventq_detach;
local: *;
};

View File

@ -6,14 +6,14 @@
#ifndef _DPAA_SEC_EVENT_H_
#define _DPAA_SEC_EVENT_H_
int
dpaa_sec_eventq_attach(const struct rte_cryptodev *dev,
__rte_internal
int dpaa_sec_eventq_attach(const struct rte_cryptodev *dev,
int qp_id,
uint16_t ch_id,
const struct rte_event *event);
int
dpaa_sec_eventq_detach(const struct rte_cryptodev *dev,
__rte_internal
int dpaa_sec_eventq_detach(const struct rte_cryptodev *dev,
int qp_id);
#endif /* _DPAA_SEC_EVENT_H_ */

View File

@ -1,8 +1,10 @@
DPDK_20.0 {
local: *;
};
INTERNAL {
global:
dpaa_sec_eventq_attach;
dpaa_sec_eventq_detach;
local: *;
};

View File

@ -160,12 +160,14 @@ struct dpaa_if_stats {
uint64_t tund; /**<Tx Undersized */
};
__rte_internal
int
dpaa_eth_eventq_attach(const struct rte_eth_dev *dev,
int eth_rx_queue_id,
u16 ch_id,
const struct rte_event_eth_rx_adapter_queue_conf *queue_conf);
__rte_internal
int
dpaa_eth_eventq_detach(const struct rte_eth_dev *dev,
int eth_rx_queue_id);

View File

@ -1,9 +1,14 @@
DPDK_20.0 {
global:
dpaa_eth_eventq_attach;
dpaa_eth_eventq_detach;
rte_pmd_dpaa_set_tx_loopback;
local: *;
};
INTERNAL {
global:
dpaa_eth_eventq_attach;
dpaa_eth_eventq_detach;
};

View File

@ -164,11 +164,13 @@ int dpaa2_remove_flow_dist(struct rte_eth_dev *eth_dev,
int dpaa2_attach_bp_list(struct dpaa2_dev_priv *priv, void *blist);
__rte_internal
int dpaa2_eth_eventq_attach(const struct rte_eth_dev *dev,
int eth_rx_queue_id,
struct dpaa2_dpcon_dev *dpcon,
const struct rte_event_eth_rx_adapter_queue_conf *queue_conf);
__rte_internal
int dpaa2_eth_eventq_detach(const struct rte_eth_dev *dev,
int eth_rx_queue_id);

View File

@ -1,9 +1,4 @@
DPDK_20.0 {
global:
dpaa2_eth_eventq_attach;
dpaa2_eth_eventq_detach;
local: *;
};
@ -14,3 +9,10 @@ EXPERIMENTAL {
rte_pmd_dpaa2_set_custom_hash;
rte_pmd_dpaa2_set_timestamp;
};
INTERNAL {
global:
dpaa2_eth_eventq_attach;
dpaa2_eth_eventq_detach;
};