net/i40e: fix wrong return value when handling PF message
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Wed, 21 Dec 2016 08:29:40 +0000 (16:29 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:40:52 +0000 (19:40 +0100)
commitaca95e38cc13a2ddc65b459186e45c1a1447625e
tree2332655029e112d02d66c94251e3a912d448d911
parent36ba0c0097c6aaf969fe520f91352e772a143904
net/i40e: fix wrong return value when handling PF message

When VF receives a message from PF, it should check the return
value. But in i40evf_execute_vf_cmd the value is ignored and not
returned to the caller.

Fixes: 95cd21f45d1b ("i40evf: allocate virtchnl commands buffer per VF")

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/i40e/i40e_ethdev.h
drivers/net/i40e/i40e_ethdev_vf.c