> > 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 <[email protected]> > > --- > > + 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 <[email protected]> Applied, thanks

