net/iavf: fix mismatch command
authorJunyu Jiang <junyux.jiang@intel.com>
Tue, 1 Sep 2020 08:14:36 +0000 (08:14 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:07 +0000 (18:55 +0200)
commitb343b6eefd9d281d1adffe701407c59a4f74b1f9
tree0afd1485c85666a9b96c410d34538fcf763bbbcf
parent242d6564ae9cef215cf3a270fa057cf9634f519c
net/iavf: fix mismatch command

The "command mismatch" warning shouldn't be triggered by
VIRTCHNL_OP_EVENT opcode, because the VIRTCHNL_OP_EVENT
opcode is used by PF notifies status change events to VF.
This patch fixed the issue.

Fixes: 837c2ed86e4c ("net/iavf: return error if opcode is mismatched")
Cc: stable@dpdk.org
Signed-off-by: Junyu Jiang <junyux.jiang@intel.com>
Reviewed-by: Qiming Yang <qiming.yang@intel.com>
drivers/net/iavf/iavf_vchnl.c