> > In case of application build with shared library mode unless option '-d' is > > passed, poll mode driver for devices is not initialized. Notifying the user > > just > > after rte_eal_init is pro active way of intimating the user. > > > > Signed-off-by: Vipin Varghese <vipin.vargh...@intel.com> > > --- > > + if (rte_eth_dev_count() == 0) > > + rte_exit(EXIT_FAILURE, "No Ethernet ports - bye\n");
Rebased to the new function rte_eth_dev_count_avail. > Acked-by: Reshma Pattan <reshma.pat...@intel.com> Applied, thanks