[dpdk-dev] [PATCH v11 2/2] librte_pmd_null: Support port hotplug function
Stephen Hemminger
stephen at networkplumber.org
Thu Feb 26 01:49:02 CET 2015
Build fails if HOTPLUG is disabled
== Build lib/librte_ether
CC rte_ethdev.o
/var/src/dpdk/lib/librte_ether/rte_ethdev.c:430:1: error: ‘rte_eth_dev_get_device_type’ defined but not used [-Werror=unused-function]
rte_eth_dev_get_device_type(uint8_t port_id)
^
/var/src/dpdk/lib/librte_ether/rte_ethdev.c:438:1: error: ‘rte_eth_dev_save’ defined but not used [-Werror=unused-function]
rte_eth_dev_save(struct rte_eth_dev *devs, size_t size)
^
/var/src/dpdk/lib/librte_ether/rte_ethdev.c:450:1: error: ‘rte_eth_dev_get_changed_port’ defined but not used [-Werror=unused-function]
rte_eth_dev_get_changed_port(struct rte_eth_dev *devs, uint8_t *port_id)
^
/var/src/dpdk/lib/librte_ether/rte_ethdev.c:464:1: error: ‘rte_eth_dev_get_addr_by_port’ defined but not used [-Werror=unused-function]
rte_eth_dev_get_addr_by_port(uint8_t port_id, struct rte_pci_addr *addr)
^
/var/src/dpdk/lib/librte_ether/rte_ethdev.c:481:1: error: ‘rte_eth_dev_get_name_by_port’ defined but not used [-Werror=unused-function]
rte_eth_dev_get_name_by_port(uint8_t port_id, char *name)
^
/var/src/dpdk/lib/librte_ether/rte_ethdev.c:503:1: error: ‘rte_eth_dev_is_detachable’ defined but not used [-Werror=unused-function]
rte_eth_dev_is_detachable(uint8_t port_id)
^
cc1: all warnings being treated as errors
More information about the dev
mailing list