From: Mohamed Feroz Abdul Majeeth <mabdulmajeet@marvell.com>
To: <dev@dpdk.org>
Cc: <jerinj@marvell.com>, <vattunuru@marvell.com>,
Mohamed Feroz Abdul Majeeth <mabdulmajeet@marvell.com>,
<stable@dpdk.org>
Subject: [PATCH v0 1/1] net/octeon_ep: fix increase mbox timeout
Date: Fri, 27 Jun 2025 15:48:53 +0530 [thread overview]
Message-ID: <20250627101853.5632-1-mabdulmajeet@marvell.com> (raw)
Extend the mailbox timeout to 2500 ms in the Octeon driver
to ensure firmware responses are received, preventing premature
timeouts in mailbox request handling. This improves reliability
of control network APIs, addressing issues where the previous
timeout was too short for consistent operation.
Fixes: c836a7ba33ee ("net/octeon_ep: support mailbox between VF and PF")
Cc: stable@dpdk.org
Signed-off-by: Mohamed Feroz Abdul Majeeth <mabdulmajeet@marvell.com>
---
.mailmap | 1 +
drivers/net/octeon_ep/otx_ep_mbox.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.mailmap b/.mailmap
index 8483d96ec5..753853b396 100644
--- a/.mailmap
+++ b/.mailmap
@@ -1850,3 +1850,4 @@ Ziye Yang <ziye.yang@intel.com>
Zoltan Kiss <zoltan.kiss@schaman.hu> <zoltan.kiss@linaro.org>
Zorik Machulsky <zorik@amazon.com>
Zyta Szpak <zyta@marvell.com> <zr@semihalf.com> <zyta.szpak@semihalf.com>
+Mohamed Feroz Abdul Majeeth <mabdulmajeet@marvell.com>
diff --git a/drivers/net/octeon_ep/otx_ep_mbox.h b/drivers/net/octeon_ep/otx_ep_mbox.h
index 4f7afe7635..1a49780ce1 100644
--- a/drivers/net/octeon_ep/otx_ep_mbox.h
+++ b/drivers/net/octeon_ep/otx_ep_mbox.h
@@ -69,7 +69,7 @@ enum otx_ep_link_autoneg {
OTX_EP_LINK_AUTONEG,
};
-#define OTX_EP_MBOX_TIMEOUT_MS 1200
+#define OTX_EP_MBOX_TIMEOUT_MS 2500
#define OTX_EP_MBOX_MAX_RETRIES 2
#define OTX_EP_MBOX_MAX_DATA_SIZE 6
#define OTX_EP_MBOX_MAX_DATA_BUF_SIZE 256
--
2.34.1
reply other threads:[~2025-06-27 10:19 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=20250627101853.5632-1-mabdulmajeet@marvell.com \
--to=mabdulmajeet@marvell.com \
--cc=dev@dpdk.org \
--cc=jerinj@marvell.com \
--cc=stable@dpdk.org \
--cc=vattunuru@marvell.com \
/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).