drivers/common: mark all symbols as internal

Now that we have the internal tag, let's avoid confusion with exported
symbols in common drivers that were using the experimental tag as a
workaround.
There is also no need to put internal API symbols in the public stable
ABI.

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
This commit is contained in:
David Marchand 2020-10-01 09:55:17 +02:00 committed by Thomas Monjalon
parent cda883bbb6
commit 6f2dc9c0b4
6 changed files with 18 additions and 15 deletions

View File

@ -18,7 +18,7 @@
* @return
* - length
*/
__rte_internal
int32_t
cpt_pmd_ops_helper_get_mlen_direct_mode(void);
@ -29,6 +29,7 @@ cpt_pmd_ops_helper_get_mlen_direct_mode(void);
* @return
* - length
*/
__rte_internal
int
cpt_pmd_ops_helper_get_mlen_sg_mode(void);
@ -38,6 +39,7 @@ cpt_pmd_ops_helper_get_mlen_sg_mode(void);
* @return
* - length
*/
__rte_internal
int
cpt_pmd_ops_helper_asym_get_mlen(void);
@ -50,13 +52,13 @@ cpt_pmd_ops_helper_asym_get_mlen(void);
* @return
* - 0 on success, negative on error
*/
__rte_experimental
__rte_internal
int cpt_fpm_init(uint64_t *fpm_table_iova);
/*
* Clear ECC FMUL precomputed table
*/
__rte_experimental
__rte_internal
void cpt_fpm_clear(void);
#endif /* _CPT_PMD_OPS_HELPER_H_ */

View File

@ -1,18 +1,11 @@
DPDK_21 {
INTERNAL {
global:
cpt_fpm_clear;
cpt_fpm_init;
cpt_pmd_ops_helper_asym_get_mlen;
cpt_pmd_ops_helper_get_mlen_direct_mode;
cpt_pmd_ops_helper_get_mlen_sg_mode;
local: *;
};
EXPERIMENTAL {
global:
cpt_fpm_clear;
cpt_fpm_init;
local: *;
};

View File

@ -1,4 +1,4 @@
DPDK_21 {
INTERNAL {
global:
rte_mvep_deinit;

View File

@ -5,6 +5,7 @@
#ifndef __RTE_MVEP_COMMON_H__
#define __RTE_MVEP_COMMON_H__
#include <rte_compat.h>
#include <rte_kvargs.h>
enum mvep_module_type {
@ -15,7 +16,9 @@ enum mvep_module_type {
MVEP_MOD_T_LAST
};
__rte_internal
int rte_mvep_init(enum mvep_module_type module, struct rte_kvargs *kvlist);
__rte_internal
int rte_mvep_deinit(enum mvep_module_type module);
#endif /* __RTE_MVEP_COMMON_H__ */

View File

@ -35,11 +35,16 @@ struct octeontx_mbox_hdr {
uint8_t res_code; /* Functional layer response code */
};
__rte_internal
int octeontx_mbox_init(void);
void octeontx_set_global_domain(uint16_t global_domain);
__rte_internal
uint16_t octeontx_get_global_domain(void);
__rte_internal
int octeontx_mbox_set_ram_mbox_base(uint8_t *ram_mbox_base, uint16_t domain);
__rte_internal
int octeontx_mbox_set_reg(uint8_t *reg, uint16_t domain);
__rte_internal
int octeontx_mbox_send(struct octeontx_mbox_hdr *hdr,
void *txdata, uint16_t txlen, void *rxdata, uint16_t rxlen);

View File

@ -1,4 +1,4 @@
DPDK_21 {
INTERNAL {
global:
octeontx_get_global_domain;