Community
cancel
Showing results for 
Search instead for 
Did you mean: 
hovin
Beginner
326 Views

Can DPDK selectively init NIC ports

Jump to solution

I'm using an dual-port NIC, Mellanox ConnectX-5, and the DPDK version is dpdk-stable-19.11.3. After configuration, the call of rte_eth_dev_count_avail() returns 2. But only one port of my ConnectX-5 NIC is connected to the other machine. All I can find is to init all available ports like this.

RTE_ETH_FOREACH_DEV(portid)
    if (port_init(portid, mbuf_pool) != 0)
        rte_exit(EXIT_FAILURE, "Cannot init port %u\n", portid);

Can dpdk selectively init ports? Or is rte_eth_dev_count_avail() there any way to make  returning 1?

Tags (2)
0 Kudos
1 Solution
AlfredoS_Intel
Moderator
303 Views

Hi Hovin,

Thank you for posting in our Intel® Ethernet Communities Page.

We have a special support site for DPDK concerns. Please go to this link, https://www.intel.com/content/www/us/en/design/support/ips/training/welcome.html, and click "Access and Log In" to contact the DPDK support.

Please let us know if you have any further questions.

We look forward to hearing from you. If we do not get your reply, we will follow up after 3 business days.



Best Regards,

Alfred S

Intel® Customer Support


View solution in original post

2 Replies
AlfredoS_Intel
Moderator
304 Views

Hi Hovin,

Thank you for posting in our Intel® Ethernet Communities Page.

We have a special support site for DPDK concerns. Please go to this link, https://www.intel.com/content/www/us/en/design/support/ips/training/welcome.html, and click "Access and Log In" to contact the DPDK support.

Please let us know if you have any further questions.

We look forward to hearing from you. If we do not get your reply, we will follow up after 3 business days.



Best Regards,

Alfred S

Intel® Customer Support


View solution in original post

AlfredoS_Intel
Moderator
287 Views

Hi Hovin,

We are just following up.

It looks like you need more time to proceed with the recommendation that we have provided. Please let us know if you have further questions regarding it.

We will follow up again after 3 business days. Should we not hear from you, our system may automatically close the thread.



Best Regards,

Alfred S

Intel® Customer Support


Reply