On Thu, 25 May 2017 16:57:54 +0100 Andrew Rybchenko <arybche...@solarflare.com> wrote:
> + retval = rte_eth_dev_adjust_nb_rx_tx_desc(portid, &nb_rxd, &nb_txd); > + if (retval != 0) > + rte_exit(EXIT_FAILURE, "port %u: > rte_eth_dev_adjust_nb_rx_tx_desc " > + "failed (res=%d)\n", portid, retval); > + rte_exit is equivalent to panic in kernel. No API call should call rte_exit. Instead the error must be propogated back to caller and/or leave the slave in a dead state.