Closed rudh24 closed 2 years ago
Unfortunately we do not have mellanox hardware to test this behavior so this is hard for us to debug. When you run the DPDK hello world example are you using the version of DPDK included with ONVM, or a more recent update?
I use the one included with ONVM. I understand the hardware unavailability. This machine is also equipped with an intel 10G NIC.(this has been bound to dpdk as well). If other people haven't encountered this, this might be a platform specific issue Thank you for your quick response.
Workaround: Was able to make it work by using an externally installed DPDK. I made sure to include the mellanox pmd in the dpdk config - specifically setting the following in config/common_base
CONFIG_RTE_LIBRTE_MLX5_PMD=y
CONFIG_RTE_LIBRTE_MLX5_DEBUG=y
Can open enhancement to include support for Mellanox. Additionally, since Makefile installation for DPDK is deprecated, and will be removed from 20.11, recommend opening a new enhancement for migrating dpdk install to the meson/ninja based install.
Bug Report
Current Behavior The onvm_mgr does not initiate the PCI probe within the
rte_eal_init()
. This ends up reporting 0 eth devices, and subsequently no ports to work with. I've followed the installation steps listed. The only difference is that I work with Mellanox NICs.The DPDK helloworld example appears to work. Please see "Additional Context" for the console output.
Expected behavior/code onvm_mgr startup should find the available devices.
Steps to reproduce Follow the steps in https://github.com/sdnfv/openNetVM/blob/master/docs/Install.md
Environment
Possible Solution
I found a DPDK mailing thread where people faced a similar issue: https://mails.dpdk.org/archives/users/2016-March/000375.html But the fix mentioned in this hasn't worked for me so far.
Additional context/Screenshots Hello world output.
onvm_mgr startup output: