[dpdk-dev] [PATCH] pmd_ring: return new port id on ethdev creation

2015-06-22 Thread Thomas Monjalon
> The rte_eth_from_rings API allowed the creation of an ethdev port at > runtime using rte_rings as the underlying storage. However, the return > value from this function was either 0 or -1, and these values were never > actually documented in the API documentation. Unfortunately, the programmers >

[dpdk-dev] [PATCH] pmd_ring: return new port id on ethdev creation

2015-06-18 Thread Bruce Richardson
The rte_eth_from_rings API allowed the creation of an ethdev port at runtime using rte_rings as the underlying storage. However, the return value from this function was either 0 or -1, and these values were never actually documented in the API documentation. Unfortunately, the programmers guide doc