[dpdk-dev] [PATCH v2] i40evf: fix return value if command fails

2016-05-30 Thread Bruce Richardson
On Tue, May 10, 2016 at 10:51:59AM +0800, Jingjing Wu wrote: > Previously, if message is sent successfully, but no response is > received, function "i40evf_execute_vf_cmd" will return without error. > The root cause is value "err" is overwritten. This patch fixes it. > > Fixes: ae19955e7c86 ("i40e

[dpdk-dev] [PATCH v2] i40evf: fix return value if command fails

2016-05-10 Thread Jingjing Wu
Previously, if message is sent successfully, but no response is received, function "i40evf_execute_vf_cmd" will return without error. The root cause is value "err" is overwritten. This patch fixes it. Fixes: ae19955e7c86 ("i40evf: support reporting PF reset") Signed-off-by: Jingjing Wu --- v2 cha