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: sta...@dpdk.org Signed-off-by: Mohamed Feroz Abdul Majeeth <mabdulmaj...@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.y...@intel.com> Zoltan Kiss <zoltan.k...@schaman.hu> <zoltan.k...@linaro.org> Zorik Machulsky <zo...@amazon.com> Zyta Szpak <z...@marvell.com> <z...@semihalf.com> <zyta.sz...@semihalf.com> +Mohamed Feroz Abdul Majeeth <mabdulmaj...@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