net/iavf/base: fix adminq return
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 3 Dec 2019 07:03:16 +0000 (15:03 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:01 +0000 (19:46 +0100)
commit013d5e879fe357176e0ade1cb6561917a7d46864
tree88dfbc9b4934a9a6aa86e4a7d04fc2e957c51d8b
parentbb82f6502052d00e8b91351d5902e1d4bb13ef23
net/iavf/base: fix adminq return

When send a adminq, if get IAVF_AQ_RC_BUSY, we should return
IAVF_ERR_NOT_READY.

Fixes: e5b2a9e957e7 ("net/avf/base: add base code for avf PMD")
Cc: stable@dpdk.org
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/iavf/base/iavf_adminq.c