DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 1/3] net/i40e: fix return status for unsupported VF message
@ 2021-05-10 12:20 Alvin Zhang
  2021-05-10 12:20 ` [dpdk-dev] [PATCH] net/iavf: fix error logs Alvin Zhang
                   ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Alvin Zhang @ 2021-05-10 12:20 UTC (permalink / raw)
  To: beilei.xing, Ting.Xu; +Cc: dev, Alvin Zhang, stable

This patch modifies the return status for unsupported VF messages,
in order to make it the same as the return status of the kernel driver.

Fixes: 4861cde46116 ("i40e: new poll mode driver")
Cc: stable@dpdk.org

Signed-off-by: Alvin Zhang <alvinx.zhang@intel.com>
---
 drivers/net/i40e/i40e_pf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/i40e/i40e_pf.c b/drivers/net/i40e/i40e_pf.c
index 9804ed4..308da1b 100644
--- a/drivers/net/i40e/i40e_pf.c
+++ b/drivers/net/i40e/i40e_pf.c
@@ -1464,8 +1464,8 @@
 	 */
 	default:
 		PMD_DRV_LOG(ERR, "%u received, not supported", opcode);
-		i40e_pf_host_send_msg_to_vf(vf, opcode, I40E_ERR_PARAM,
-								NULL, 0);
+		i40e_pf_host_send_msg_to_vf(vf, opcode,
+					    I40E_ERR_NOT_IMPLEMENTED, NULL, 0);
 		break;
 	}
 
-- 
1.8.3.1


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

end of thread, other threads:[~2021-05-12 10:34 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-10 12:20 [dpdk-dev] [PATCH 1/3] net/i40e: fix return status for unsupported VF message Alvin Zhang
2021-05-10 12:20 ` [dpdk-dev] [PATCH] net/iavf: fix error logs Alvin Zhang
2021-05-11  2:11   ` [dpdk-dev] [PATCH v2] " Alvin Zhang
2021-05-11  8:35   ` [dpdk-dev] [PATCH] " Zhang, Qi Z
2021-05-12  5:48   ` [dpdk-dev] [PATCH] net/i40e: fix VF RSS configuration Alvin Zhang
2021-05-12  6:16     ` Xing, Beilei
2021-05-12  6:26     ` [dpdk-dev] [PATCH v2] " Alvin Zhang
2021-05-12  7:16       ` [dpdk-dev] [PATCH v3] " Alvin Zhang
2021-05-12  9:23         ` [dpdk-dev] [PATCH v4] " Alvin Zhang
2021-05-12  9:26           ` Xing, Beilei
2021-05-12 10:34             ` Zhang, Qi Z
2021-05-10 12:20 ` [dpdk-dev] [PATCH 2/3] common/iavf: fix V-channel status Alvin Zhang
2021-05-10 12:20 ` [dpdk-dev] [PATCH 3/3] net/iavf: " Alvin Zhang

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).