net/iavf: return error if opcode is mismatched
authorLeyi Rong <leyi.rong@intel.com>
Mon, 20 Apr 2020 06:16:16 +0000 (14:16 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:09 +0000 (13:57 +0200)
commit837c2ed86e4c826c93391db412f693616c71e472
treee29a19bf7b855ebbcdfba6c9be0b7962d8b51cd1
parent63b5e3243929c776607053e04b336cd6c1fe87a0
net/iavf: return error if opcode is mismatched

Adds error return when the opcode of read message is
mismatched which is received from adminQ.

Signed-off-by: Leyi Rong <leyi.rong@intel.com>
Reviewed-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_vchnl.c