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

2016-05-09 Thread Wu, Jingjing
> -Original Message- > From: Richardson, Bruce > Sent: Friday, May 06, 2016 11:14 PM > To: Wu, Jingjing > Cc: Zhang, Helin; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] i40evf: fix return value if command fails > > On Thu, May 05, 2016 at 02:22:54PM

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

2016-05-06 Thread Bruce Richardson
On Thu, May 05, 2016 at 02:22:54PM +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] i40evf: fix return value if command fails

2016-05-05 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 --- drive