Hello,I am learning DPDK.I am using the following network cards that support dpdk.I am seeing rte_eth_dev_count_avail is failing. code is as follows:====================================nb_ports = rte_eth_dev_count_avail();
if( nb_ports < 2 || ( nb_ports & 1 ) )
rte_exit( EXIT_FAILURE, "Error: %u number of ports must be even\n", nb_ports );
====================================I have one card and just because it is for learning purposes, I have looped back both the slots of the same cards so that I can send on one slot and receive on another slot.Can someone please help me how to fix the issue.Device Driver is bnxt_enPlatform is Ubuntu 22.04Please let me know if any more information is required.
Thanks & Regards
--
Lokesh Chakka.