summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a0c2166)
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>
; Ignore moving mlx5 stable functions to INTERNAL
[suppress_file]
file_name_regexp = ^librte_common_mlx5\.
; Ignore moving mlx5 stable functions to INTERNAL
[suppress_file]
file_name_regexp = ^librte_common_mlx5\.
+; Ignore moving DPAAx stable functions to INTERNAL
+[suppress_file]
+ file_name_regexp = ^librte_common_dpaax\.
#include <limits.h>
#include <rte_common.h>
#include <dpaa_list.h>
#include <limits.h>
#include <rte_common.h>
#include <dpaa_list.h>
#ifndef OF_INIT_DEFAULT_PATH
#define OF_INIT_DEFAULT_PATH "/proc/device-tree"
#ifndef OF_INIT_DEFAULT_PATH
#define OF_INIT_DEFAULT_PATH "/proc/device-tree"
uint64_t buf[OF_FILE_BUF_MAX >> 3];
};
uint64_t buf[OF_FILE_BUF_MAX >> 3];
};
const struct device_node *of_find_compatible_node(
const struct device_node *from,
const char *type __rte_unused,
const struct device_node *of_find_compatible_node(
const struct device_node *from,
const char *type __rte_unused,
dev_node != NULL; \
dev_node = of_find_compatible_node(dev_node, type, compatible))
dev_node != NULL; \
dev_node = of_find_compatible_node(dev_node, type, compatible))
const void *of_get_property(const struct device_node *from, const char *name,
size_t *lenp) __attribute__((nonnull(2)));
const void *of_get_property(const struct device_node *from, const char *name,
size_t *lenp) __attribute__((nonnull(2)));
bool of_device_is_available(const struct device_node *dev_node);
bool of_device_is_available(const struct device_node *dev_node);
const struct device_node *of_find_node_by_phandle(uint64_t ph);
const struct device_node *of_find_node_by_phandle(uint64_t ph);
const struct device_node *of_get_parent(const struct device_node *dev_node);
const struct device_node *of_get_parent(const struct device_node *dev_node);
const struct device_node *of_get_next_child(const struct device_node *dev_node,
const struct device_node *prev);
const struct device_node *of_get_next_child(const struct device_node *dev_node,
const struct device_node *prev);
const void *of_get_mac_address(const struct device_node *np);
#define for_each_child_node(parent, child) \
for (child = of_get_next_child(parent, NULL); child != NULL; \
child = of_get_next_child(parent, child))
const void *of_get_mac_address(const struct device_node *np);
#define for_each_child_node(parent, child) \
for (child = of_get_next_child(parent, NULL); child != NULL; \
child = of_get_next_child(parent, child))
uint32_t of_n_addr_cells(const struct device_node *dev_node);
uint32_t of_n_size_cells(const struct device_node *dev_node);
uint32_t of_n_addr_cells(const struct device_node *dev_node);
uint32_t of_n_size_cells(const struct device_node *dev_node);
const uint32_t *of_get_address(const struct device_node *dev_node, size_t idx,
uint64_t *size, uint32_t *flags);
const uint32_t *of_get_address(const struct device_node *dev_node, size_t idx,
uint64_t *size, uint32_t *flags);
uint64_t of_translate_address(const struct device_node *dev_node,
const uint32_t *addr) __attribute__((nonnull));
uint64_t of_translate_address(const struct device_node *dev_node,
const uint32_t *addr) __attribute__((nonnull));
bool of_device_is_compatible(const struct device_node *dev_node,
const char *compatible);
bool of_device_is_compatible(const struct device_node *dev_node,
const char *compatible);
* subsystem that is device-tree-dependent. Eg. Qman/Bman, config layers, etc.
* The path should usually be "/proc/device-tree".
*/
* subsystem that is device-tree-dependent. Eg. Qman/Bman, config layers, etc.
* The path should usually be "/proc/device-tree".
*/
int of_init_path(const char *dt_path);
/* of_finish() allows a controlled tear-down of the device-tree layer, eg. if a
int of_init_path(const char *dt_path);
/* of_finish() allows a controlled tear-down of the device-tree layer, eg. if a
#define DPAAX_MEM_SPLIT_MASK_OFF (DPAAX_MEM_SPLIT - 1) /**< Offset */
/* APIs exposed */
#define DPAAX_MEM_SPLIT_MASK_OFF (DPAAX_MEM_SPLIT - 1) /**< Offset */
/* APIs exposed */
int dpaax_iova_table_populate(void);
int dpaax_iova_table_populate(void);
void dpaax_iova_table_depopulate(void);
void dpaax_iova_table_depopulate(void);
int dpaax_iova_table_update(phys_addr_t paddr, void *vaddr, size_t length);
int dpaax_iova_table_update(phys_addr_t paddr, void *vaddr, size_t length);
void dpaax_iova_table_dump(void);
static inline void *dpaax_iova_table_get_va(phys_addr_t paddr) __rte_hot;
void dpaax_iova_table_dump(void);
static inline void *dpaax_iova_table_get_va(phys_addr_t paddr) __rte_hot;
+ local: *;
+};
+
+INTERNAL {
global:
dpaax_iova_table_depopulate;
global:
dpaax_iova_table_depopulate;
of_init_path;
of_n_addr_cells;
of_translate_address;
of_init_path;
of_n_addr_cells;
of_translate_address;
-
- local: *;
-};
-
-INTERNAL {