🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by "Romanowski, Rafal" Tue, 27 Oct 2026 11:39
RE: [PATCH net-next] ixgbevf: Warn when mailbox API negotiation fails
#7879
Author: "Romanowski, Rafal"
Date: Tue, 27 Oct 2026 11:39
57 lines
21175 bytes
> -----Original Message-----
> From: Aadityarangan Shridhar Iyengar <adiyenga@cisco.com>
> Sent: Friday, October 9, 2026 10:44 PM
> To: intel-wired-lan@lists.osuosl.org
> Cc: Nguyen, Anthony L <anthony.l.nguyen@intel.com>; Kitszel, Przemyslaw
> <przemyslaw.kitszel@intel.com>; netdev@vger.kernel.org; adiyenga@cisco.com
> Subject: [PATCH net-next] ixgbevf: Warn when mailbox API negotiation fails
> 
> 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>
> ---
>  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 7ce46b4b4821..76c9ac3ac69a 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.35.6

Tested-by: Rafal Romanowski <rafal.romanowski@intel.com>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads