APP = dpdk-pdump
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += $(WERROR_FLAGS)
# all source are stored in SRCS-y
# Copyright(c) 2018 Intel Corporation
sources = files('main.c')
-allow_experimental_apis = true
deps += ['ethdev', 'kvargs', 'pdump']
APP = dpdk-procinfo
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += $(WERROR_FLAGS)
# all source are stored in SRCS-y
# Copyright(c) 2018 Intel Corporation
sources = files('main.c')
-allow_experimental_apis = true
deps += ['ethdev', 'metrics', 'security']
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
LDLIBS += -lpthread
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_kni
# this driver can be built if-and-only-if KNI library is buildable
build = dpdk_conf.has('RTE_LIBRTE_KNI')
-allow_experimental_apis = true
sources = files('rte_eth_kni.c')
deps += 'kni'
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
include $(RTE_SDK)/mk/rte.extapp.mk
LDFLAGS_SHARED = $(shell pkg-config --libs libdpdk)
LDFLAGS_STATIC = -Wl,-Bstatic $(shell pkg-config --static --libs libdpdk)
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -Wno-deprecated-declarations
build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build
please change the definition of the RTE_TARGET environment variable)
endif
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3
CFLAGS += $(WERROR_FLAGS)
CFLAGS += -Wno-deprecated-declarations
build = false
endif
deps += ['hash', 'vhost']
-allow_experimental_apis = true
cflags += '-Wno-deprecated-declarations'
sources = files(
'main.c', 'vxlan.c', 'vxlan_setup.c'
return strcmp(dev->name, name);
}
-int __rte_experimental
+int
rte_dev_is_probed(const struct rte_device *dev)
{
/* The field driver should be set only when the probe is successful. */
return 0;
}
-unsigned int __rte_experimental
+unsigned int
rte_socket_count(void)
{
const struct rte_config *config = rte_eal_get_configuration();
return config->numa_node_count;
}
-int __rte_experimental
+int
rte_socket_id_by_idx(unsigned int idx)
{
const struct rte_config *config = rte_eal_get_configuration();
return start_routine(routine_arg);
}
-__rte_experimental int
+int
rte_ctrl_thread_create(pthread_t *thread, const char *name,
const pthread_attr_t *attr,
void *(*start_routine)(void *), void *arg)
};
/**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice
- *
* Query status of a device.
*
* @param dev
* @return
* (int)true if already probed successfully, 0 otherwise.
*/
-__rte_experimental
int rte_dev_is_probed(const struct rte_device *dev);
/**
int rte_eal_init(int argc, char **argv);
/**
- * @warning
- * @b EXPERIMENTAL: this API may change without prior notice
- *
* Clean up the Environment Abstraction Layer (EAL)
*
* This function must be called to release any internal resources that EAL has
* @return 0 Successfully released all internal EAL resources
* @return -EFAULT There was an error in releasing all resources.
*/
-int __rte_experimental rte_eal_cleanup(void);
+int rte_eal_cleanup(void);
/**
* Check if a primary process is currently alive
* @return
* the number of physical sockets as recognized by EAL
*/
-unsigned int __rte_experimental
+unsigned int
rte_socket_count(void);
/**
* - physical socket id as recognized by EAL
* - -1 on error, with errno set to EINVAL
*/
-int __rte_experimental
+int
rte_socket_id_by_idx(unsigned int idx);
/**
* On success, returns 0; on error, it returns a negative value
* corresponding to the error number.
*/
-__rte_experimental int
+int
rte_ctrl_thread_create(pthread_t *thread, const char *name,
const pthread_attr_t *attr,
void *(*start_routine)(void *), void *arg);
return 0;
}
-int __rte_experimental
+int
rte_eal_cleanup(void)
{
/* if we're in a primary process, we need to mark hugepages as freeable
DPDK_19.05 {
global:
+ rte_ctrl_thread_create;
+ rte_dev_is_probed;
rte_devargs_add;
rte_devargs_dump;
rte_devargs_insert;
rte_devargs_parsef;
rte_devargs_remove;
rte_devargs_type_count;
+ rte_eal_cleanup;
+ rte_socket_count;
+ rte_socket_id_by_idx;
} DPDK_18.11;
rte_class_find_by_name;
rte_class_register;
rte_class_unregister;
- rte_ctrl_thread_create;
rte_delay_us_sleep;
rte_dev_dma_map;
rte_dev_dma_unmap;
rte_dev_event_monitor_stop;
rte_dev_hotplug_handle_disable;
rte_dev_hotplug_handle_enable;
- rte_dev_is_probed;
rte_dev_iterator_init;
rte_dev_iterator_next;
- rte_eal_cleanup;
rte_extmem_attach;
rte_extmem_detach;
rte_extmem_register;
rte_service_lcore_attr_get;
rte_service_lcore_attr_reset_all;
rte_service_may_be_active;
- rte_socket_count;
- rte_socket_id_by_idx;
};