ixgbe: add queue start failure check
authorMichael Qiu <michael.qiu@intel.com>
Tue, 27 Jan 2015 12:16:18 +0000 (20:16 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 27 Jan 2015 14:09:29 +0000 (15:09 +0100)
commitbfca21f8a0defa7173895ba00e30f685b3209b81
treeeb480a6ccbe98975266d0c14bb335082756aa56e
parentd0bd0db1ce96e430aab09a31e8f8849dfe59b839
ixgbe: add queue start failure check

For ixgbe, when queue start fails, for example, mbuf allocate
failure, the device will still start successfully, which could be
an issue.

Add return status check of queue start to avoid this issue.

Signed-off-by: Michael Qiu <michael.qiu@intel.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_pmd_ixgbe/ixgbe_ethdev.c
lib/librte_pmd_ixgbe/ixgbe_ethdev.h
lib/librte_pmd_ixgbe/ixgbe_rxtx.c