From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.11 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796423897; b=r6trb8UbHVTRVv1sRQwap+GwquXQUOq8CyiW3a18T12isCEU2EQqWkL4AdKtUUUbX1zW vUH8T9gma4Wfj0rJ602WOjSJnWjeBYvQVVcao2eobxJjP/Smt0P2CU0D8j4tplcuY6Uca wvWqE4vBRAEBww5+oqS7o3WSusR2ihjHaFsWC79VKG/we2fJ0ON4bse2RM8sLVdgzIllU JHQ4CethUMYQldDtJLxuZxIJDFKYtB+Q6Nql2pAArJeoG2RbLoQOHMb2C6pU5L5w2ZpEx 9qRK1bI/u7dDQBzhsOqXQ8DnsX6ZdFqz+aCOuYc2wecA+z5QF4nyIqpqjmRQDDqaW9g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796423897; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:From:To:Cc:Subject: Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=++vNCMc8X4mdRb43AU4bAazpakioYh2L0w7skykpuOo=; b=ftDu7edklyJxJIU46ScjnkSabALxvDC2x59v2AyIJE0iyIxuYvoxB1j5VVAucP5qlJe+ ZxgOEtEANBRbfXccGaJBCCleN4C5weDTyQDubcwgieTcgKQWlyVn/msNsL/pIZiKPrbmX VnZq9a44hhrVcc7jy8IDYD7Aqmk6tACzqY4p6Gkq1vxdN+g5jeDVmyIb51vDvSgCgFYfD txQrzqs5OA4J4YY7J9azt2KPXO5tEg+sY9eF8qnIqeWYva2J3eQUaQBM56gOvAwH21KPD 2Ed8sAl6tF+/LpI0yj5/dbCOKktJ7USoUhVuf/o7jsI2bhjmk2KeQKv1PFE3p86H/aQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=eh7jBExv; arc=none smtp.remote-ip=198.175.65.11 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D3A8606A680 for ; Fri, 4 Dec 2026 22:38:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6D3A8606A680 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=eh7jBExv DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796423898; x=1827959898; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=++vNCMc8X4mdRb43AU4bAazpakioYh2L0w7skykpuOo=; b=eh7jBExvJYZYx73i7VR0F5447d/60Vcan6F1tpIgzbTiEGTobbS+63NB VLdZje4TZXQLKS4MBR3GtxDLtMM/brtPTMSuJxyr3H3mqo98Gyw38Hkva yr1QlUnkbtkQezSeOrIa/IutYxV6ZSkxmN8VBD4w/fOEl4H9y4kAqvxsV UGJGqh07qyWrLbAndfpOx3uiNviHgcx6c6/ac/3sw4V5i4ZSnNm82+JZ9 FIJJpXNtvtTcmynqtkqJHK1XvunFzEsWv7PDrjKEqBY9lNHJ4f6/9Jv8+ xmKddrbJkusbfR98m428mim2Cawzo+AnyrF9w6Xawl+bvyLS8HgNrFMD7 A==; X-CSE-ConnectionGUID: i14SOX8STHaSy42ND6ZLWg== X-CSE-MsgGUID: KNu1ByELT5yV3Z4CgxlQlA== X-IronPort-AV: E=McAfee;i="6800,10657,11986"; a="5316121" X-IronPort-AV: E=Sophos;i="6.29,79,1794902400"; d="scan'208";a="5316121" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2026 14:38:15 -0800 X-CSE-ConnectionGUID: +2Z9XJPqRjiRr0up/QGXpg== X-CSE-MsgGUID: Nss7X4dySk23hkhFPsNRrg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,79,1794902400"; d="scan'208";a="13966845" Received: from anguy11-upstream.jf.intel.com ([10.166.9.133]) by orviesa008.jf.intel.com with ESMTP; 04 Dec 2026 14:38:14 -0800 From: Tony Nguyen 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 , anthony.l.nguyen@intel.com, jedrzej.jagielski@intel.com, jacob.e.keller@intel.com, aleksandr.loktionov@intel.com, Rafal Romanowski Subject: [PATCH net-next 5/5] ixgbevf: Warn when mailbox API negotiation fails Date: Fri, 4 Dec 2026 14:38:05 -0800 Message-ID: <20261204223807.3920143-6-anthony.l.nguyen@intel.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20261204223807.3920143-1-anthony.l.nguyen@intel.com> References: <20261204223807.3920143-1-anthony.l.nguyen@intel.com> X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Aadityarangan Shridhar Iyengar 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 Tested-by: Rafal Romanowski Signed-off-by: Tony Nguyen --- 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