From: Tony Nguyen <anthony.l.nguyen@intel.com>
To: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
edumazet@kernel.org, andrew+netdev@lunn.ch, willemb@google.com,
netdev@vger.kernel.org
Cc: Aadityarangan Shridhar Iyengar <adiyenga@cisco.com>,
anthony.l.nguyen@intel.com, jedrzej.jagielski@intel.com,
jacob.e.keller@intel.com, aleksandr.loktionov@intel.com,
Rafal Romanowski <rafal.romanowski@intel.com>
Subject: [PATCH net-next 5/5] ixgbevf: Warn when mailbox API negotiation fails
Date: Fri, 4 Dec 2026 14:38:05 -0800 [thread overview]
Message-ID: <20261204223807.3920143-6-anthony.l.nguyen@intel.com> (raw)
In-Reply-To: <20261204223807.3920143-1-anthony.l.nguyen@intel.com>
From: Aadityarangan Shridhar Iyengar <adiyenga@cisco.com>
ixgbevf_negotiate_api() tries supported mailbox API versions from newest
to oldest. If all attempts fail, it continues without reporting the
failure, leaving the API version at its reset default. This makes mailbox
communication failures difficult to diagnose.
Warn when the version list is exhausted and include the error from the
final attempt. Do not warn about individual failed attempts, since a PF
rejecting a newer version before accepting an older one is expected.
This is a diagnostic improvement only; negotiation, fallback and recovery
behavior remain unchanged.
This is a diagnostic improvement only.
Signed-off-by: Aadityarangan Shridhar Iyengar <adiyenga@cisco.com>
Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
---
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
index 7eb4acf59dab..52670b616abc 100644
--- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
+++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
@@ -2344,6 +2344,10 @@ static void ixgbevf_negotiate_api(struct ixgbevf_adapter *adapter)
idx++;
}
+ if (api[idx] == ixgbe_mbox_api_unknown)
+ netdev_warn(adapter->netdev,
+ "Mailbox API negotiation with PF failed: %d\n", err);
+
ixgbevf_set_features(adapter);
if (adapter->pf_features & IXGBEVF_PF_SUP_ESX_MBX) {
--
2.47.1
next prev parent reply other threads:[~2026-12-04 22:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 22:38 [PATCH net-next 0/5][pull request] Intel Wired LAN Driver Updates 2026-12-04 (ixgbe, ixgbevf) Tony Nguyen
2026-12-04 22:38 ` [PATCH net-next 1/5] ixgbe: E610: force phy link to get down when interface is down Tony Nguyen
2026-12-05 22:47 ` netdev-bot+sashiko
2026-12-04 22:38 ` [PATCH net-next 2/5] ixgbe: use ktime_get_real_ns() in ixgbe_ptp_reset() Tony Nguyen
2026-12-04 22:38 ` [PATCH net-next 3/5] ixgbe: use int instead of u32 for error code variables Tony Nguyen
2026-12-05 22:47 ` netdev-bot+sashiko
2026-12-04 22:38 ` [PATCH net-next 4/5] ixgbe: LinkSec deprecated macros cleanup Tony Nguyen
2026-12-04 22:38 ` Tony Nguyen [this message]
2026-12-05 22:47 ` [PATCH net-next 5/5] ixgbevf: Warn when mailbox API negotiation fails netdev-bot+sashiko
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=20261204223807.3920143-6-anthony.l.nguyen@intel.com \
--to=anthony.l.nguyen@intel.com \
--cc=adiyenga@cisco.com \
--cc=aleksandr.loktionov@intel.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=jacob.e.keller@intel.com \
--cc=jedrzej.jagielski@intel.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=rafal.romanowski@intel.com \
--cc=willemb@google.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