[dpdk-users] Segmentation fault in rte_eth_devices()

David Aldrich david.aldrich.ntml at gmail.com
Thu Jun 11 10:57:43 CEST 2020


Following on from my question, I want to enable more debug info in DPDK.  I
am building DPDK using:

usertools/dpdk-setup.sh

Am I correct in thinking that the build commands in that script use make
and I should modify the appropriate:

config/defconfig_*

file (defconfig_x86_64-native-linuxapp-gcc in my case) ?

If so, would these values be appropriate?

CONFIG_ RTE_LIBRTE_ETHDEV_DEBUG=y
RTE_LOG_LEVEL=RTE_LOG_DEBUG
RTE_LIBRTE_ETHDEV_DEBUG=y

(not sure whether all values should be prefixed by 'CONFIG_'?)

Finally, where do I specify '-O0 -g' for the DPDK build?

Best regards
David


More information about the users mailing list