ring: create device from a ring
authorBruce Richardson <bruce.richardson@intel.com>
Wed, 30 Sep 2015 12:12:21 +0000 (13:12 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 3 Nov 2015 01:01:56 +0000 (02:01 +0100)
commitf3a0daf3473f1aec9ae60a8744404a0fcb1593be
tree22e5a8533fad36bd6bd519dfcbb1f1e6123395af
parent4768c47500ed967438439e6ba78ab16b6946c8de
ring: create device from a ring

Add a one-parameter function to take an existing rte_ring and wrap it as
an ethdev, returning the port id of the new ethdev instance.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
drivers/net/ring/rte_eth_ring.c
drivers/net/ring/rte_eth_ring.h
drivers/net/ring/rte_eth_ring_version.map