[PATCH v0 1/1] net/octeon_ep: fix increase mbox timeout

Mohamed Feroz Abdul Majeeth mabdulmajeet at marvell.com
Fri Jun 27 12:18:53 CEST 2025


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 at dpdk.org

Signed-off-by: Mohamed Feroz Abdul Majeeth <mabdulmajeet at 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 at intel.com>
 Zoltan Kiss <zoltan.kiss at schaman.hu> <zoltan.kiss at linaro.org>
 Zorik Machulsky <zorik at amazon.com>
 Zyta Szpak <zyta at marvell.com> <zr at semihalf.com> <zyta.szpak at semihalf.com>
+Mohamed Feroz Abdul Majeeth <mabdulmajeet at 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



More information about the dev mailing list