ethdev: prevent from starting/stopping already started/stopped device
authorKonstantin Ananyev <konstantin.ananyev@intel.com>
Mon, 9 Jun 2014 17:26:16 +0000 (18:26 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 10 Jun 2014 22:29:36 +0000 (00:29 +0200)
commit4a481f1aec2dee4170f26d9c31f079cf56198795
treefb497c3b19146a0a0d941b20fd6706991b579f8e
parent6b6c73feb7fa6cce8d8a26b729f1a62b5d6f121c
ethdev: prevent from starting/stopping already started/stopped device

Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_ether/rte_ethdev.c