patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] net/iavf: fix virtual channel return value error
@ 2019-12-19  5:56 Yahui Cao
  2019-12-23  7:11 ` [dpdk-stable] [PATCH v2] " Yahui Cao
  2019-12-24  4:13 ` [dpdk-stable] [PATCH v3] " Yahui Cao
  0 siblings, 2 replies; 5+ messages in thread
From: Yahui Cao @ 2019-12-19  5:56 UTC (permalink / raw)
  To: Jingjing Wu, Wenzhuo Lu
  Cc: dev, stable, Qi Zhang, Yahui Cao, Xiaolong Ye, Simei Su

Original virtual channel return value is overwritten by _clear_cmd().

Fixes: 22b123a36d07 ("net/avf: initialize PMD")
Cc: stable@dpdk.org

Signed-off-by: Yahui Cao <yahui.cao@intel.com>
---
 drivers/net/iavf/iavf.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/iavf/iavf.h b/drivers/net/iavf/iavf.h
index bbd4d75d0..b12ad4119 100644
--- a/drivers/net/iavf/iavf.h
+++ b/drivers/net/iavf/iavf.h
@@ -181,7 +181,6 @@ _clear_cmd(struct iavf_info *vf)
 {
 	rte_wmb();
 	vf->pend_cmd = VIRTCHNL_OP_UNKNOWN;
-	vf->cmd_retval = VIRTCHNL_STATUS_SUCCESS;
 }
 
 /* Check there is pending cmd in execution. If none, set new command. */
-- 
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-01-04 10:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-19  5:56 [dpdk-stable] [PATCH] net/iavf: fix virtual channel return value error Yahui Cao
2019-12-23  7:11 ` [dpdk-stable] [PATCH v2] " Yahui Cao
2019-12-24  4:13 ` [dpdk-stable] [PATCH v3] " Yahui Cao
2019-12-24  5:16   ` Zhang, Qi Z
2020-01-04 10:20     ` Ye Xiaolong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).