From: peng1x.zhang@intel.com
To: build_sh@intel.com
Cc: Peng Zhang <peng1x.zhang@intel.com>, stable@dpdk.org
Subject: [DPDK] net/ice: modify related error code to avoid misleading
Date: Wed, 27 Apr 2022 17:35:18 +0000 [thread overview]
Message-ID: <20220427173518.804621-1-peng1x.zhang@intel.com> (raw)
From: Peng Zhang <peng1x.zhang@intel.com>
Modify related error code to avoid misleading in following sceaniro.
The sceaniro is that create rule fail after VF reset.
Fixes: 285f63fc6bb7 ("net/ice: track DCF state of PF")
Cc: stable@dpdk.org
Signed-off-by: Peng Zhang <peng1x.zhang@intel.com>
---
drivers/net/ice/ice_switch_filter.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c
index 36c9bffb73..75c18eaea3 100644
--- a/drivers/net/ice/ice_switch_filter.c
+++ b/drivers/net/ice/ice_switch_filter.c
@@ -436,7 +436,7 @@ ice_switch_create(struct ice_adapter *ad,
if (ice_dcf_adminq_need_retry(ad))
ret = -EAGAIN;
else
- ret = -EINVAL;
+ ret = -EBUSY;
rte_flow_error_set(error, -ret,
RTE_FLOW_ERROR_TYPE_HANDLE, NULL,
--
2.25.1
reply other threads:[~2022-04-27 9:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220427173518.804621-1-peng1x.zhang@intel.com \
--to=peng1x.zhang@intel.com \
--cc=build_sh@intel.com \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).