Lines Matching refs:retval
303 int retval; in port_init() local
311 retval = rte_eth_dev_info_get(port, &dev_info); in port_init()
312 if (retval != 0) { in port_init()
314 port, strerror(-retval)); in port_init()
315 return retval; in port_init()
340 retval = rte_eth_dev_configure(port, rx_rings, tx_rings, &port_conf); in port_init()
341 if (retval != 0) in port_init()
342 return retval; in port_init()
346 retval = rte_eth_rx_queue_setup(port, q, rx_ring_size, in port_init()
349 if (retval < 0) in port_init()
350 return retval; in port_init()
357 retval = rte_eth_tx_queue_setup(port, q, tx_ring_size, in port_init()
359 if (retval < 0) in port_init()
360 return retval; in port_init()
365 retval = rte_eth_macaddr_get(port, &addr); in port_init()
366 if (retval != 0) { in port_init()
368 port, rte_strerror(-retval)); in port_init()
369 return retval; in port_init()
377 retval = rte_eth_promiscuous_enable(port); in port_init()
378 if (retval != 0) in port_init()
379 return retval; in port_init()