ethdev: fix checking Rx/Tx queue status
authorYanglong Wu <yanglong.wu@intel.com>
Fri, 11 May 2018 08:22:28 +0000 (16:22 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:31:54 +0000 (22:31 +0100)
commitb447e89e33336324e7b4729cd35b5a017fe5dd82
tree23ecf5c010efa31102b40b451bf697ac8f83def5
parent3d4faec9857f04dd25130ab51e356209b2559a39
ethdev: fix checking Rx/Tx queue status

Relax the check for queue setup, since some device
may not update queue states during dev_stop.

Fixes: cac923cfea47 ("ethdev: support runtime queue setup")

Signed-off-by: Yanglong Wu <yanglong.wu@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_ethdev/rte_ethdev.c