When RTE_LIBRTE_MBUF_DEBUG enabled, rte_mbuf_sanity_check() function defined in rte_mbuf.so library, add it while linking the librte_pmd_ice.so library to fix the build issue. error log: /usr/bin/ld: ice_rxtx.o: in function `ice_recv_pkts': ice_rxtx.c:(.text+0x1d97): undefined reference to `rte_mbuf_sanity_check' /usr/bin/ld: ice_rxtx.o: in function `ice_tx_queue_release_mbufs': ice_rxtx.c:(.text+0x21e0): undefined reference to `rte_mbuf_sanity_check' /usr/bin/ld: ice_rxtx.c:(.text+0x22b3): undefined reference to `rte_mbuf_sanity_check' /usr/bin/ld: ice_rxtx.c:(.text+0x24a0): undefined reference to `rte_mbuf_sanity_check' /usr/bin/ld: ice_rxtx.c:(.text+0x2640): undefined reference to `rte_mbuf_sanity_check' /usr/bin/ld: ice_rxtx.o:ice_rxtx.c:(.text+0x299f): more undefined references to `rte_mbuf_sanity_check' follow Fixes: 50370662b727 ("net/ice: support device and queue ops") Signed-off-by: Jerin Jacob <jerinj@marvell.com> Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
DPDK is a set of libraries and drivers for fast packet processing. It supports many processor architectures and both FreeBSD and Linux. The DPDK uses the Open Source BSD-3-Clause license for the core libraries and drivers. The kernel components are GPL-2.0 licensed. Please check the doc directory for release notes, API documentation, and sample application information. For questions and usage discussions, subscribe to: users@dpdk.org Report bugs and issues to the development mailing list: dev@dpdk.org
Description
Languages
C
99.1%
Meson
0.5%
Python
0.2%
Shell
0.1%