Article View: linux.kernel.netdev
Article #699Re: [PATCH net v3 1/2] eth: fbnic: Preserve channels across resume
From: Björn Töpel
Date: Thu, 08 Oct 2026 14:19
Date: Thu, 08 Oct 2026 14:19
43 lines
7187 bytes
7187 bytes
netdev-bot+sashiko@kernel.org writes: > Thank you for your contribution! Sashiko AI review found 2 potential > issue(s) to consider. > > Critical: 0 · High: 2 · Medium: 0 (2) · Low: 0 > > If you believe none of the issues are legitimate, please reply to each > issue of Medium severity or higher and explain why the AI is wrong. > If any of them are legitimate and you plan to respin, please let patchwork > know by including "pw-bot: cr" as a separate line at the end of your reply > (one such reply per series is enough). > > - [High] This patch makes resume fail outright when fewer MSI-X vectors > come back than before suspend, and the commit message describes that… > - [High] After one failed resume, num_napi stays 0 for good, and the next > open divides by zero and oopses. Handling fewer IRQs is left for a separate patch, as noted in the commit message and cover letter. I'll fix the "still fails" wording. Hmm, you're right about num_napi. It now holds the configured channel count, so clearing it on error is wrong. I'll drop that assignment. The napi[0] check handles the freed vectors. pw-bot: cr > Pre-existing issues: > - [Medium] This problem wasn't introduced by this patch, but > __fbnic_pm_attach() calls fbnic_up() without holding rtnl or the… > - [Medium] This problem wasn't introduced by this patch, but > fbnic_service_task_stop() uses cancel_delayed_work(), which does not… Both medium issues are already present before this series. I'll keep this series focused on the channel and queue-count fixes. These can be handled separately. Björn
Technical Details
Message-ID:
<87o6d41di8.fsf@all.your.base.are.belong.to.us>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343029-linux-kernel-netdev=dewy.ruReferences:
<20261002125617.409447-2-bjorn@kernel.org> <179129269393.434549.14053731707723183539@kernel.org>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343029-linux-kernel-netdev=dewy.ru From: bjorn@kernel.org (Björn Töpel) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v3 1/2] eth: fbnic: Preserve channels across resume Date: Thu, 08 Oct 2026 16:19:11 +0200 Organization: Usenet Network Message-ID: <87o6d41di8.fsf@all.your.base.are.belong.to.us> References: <20261002125617.409447-2-bjorn@kernel.org> <179129269393.434549.14053731707723183539@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: usenet.network; logging-data="897743"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:8RlXBOqnDt8EpLxwfRziHFGPLhg= sha256:0j0s6OY63zzFLP6f1zyMmuXBdHVCiEIQLzw7ga9WWts= sha1:q57yRnh10KlZJ8tJTAH7NhTpeKY= sha256:gKjNTgDYg06PZIJu9X52+hKOONS5rXg1b+TOi58MxLQ= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 76E5710F414; Thu, 8 Oct 2026 17:21:51 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.341 X-Spam-Status: No, score=-1.341 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZKS239Cud3KO; Thu, 8 Oct 2026 17:21:44 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-343029-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id D2F7310F3FE; Thu, 8 Oct 2026 17:21:39 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id E6E223A1F0; Thu, 8 Oct 2026 14:19:17 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62FF3336895; Thu, 8 Oct 2026 14:19:17 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="F5kveWsu" X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C7D53328FD; Thu, 8 Oct 2026 14:19:16 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791469157; cv=none; b=QOTbtqqiuj2DWtnlSFcYZ6NvrTsOIo41gn/ocfCpaJugtg0ARJiK3nz+/2tzaHNWIKmo4vGHx+AptuzMY8FWOj5J5/wPusKb+SHDzBm02hjNquYDq3Cet2UEhjfR1tnwd1Fk7UF6cgD8GjeQUa69RvK+2zc7FukCiOHA2WmC52s= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791469157; c=relaxed/simple; bh=+5RGssvc9D45JOYfE/hAmydJ9+Mwb2N4hypGNDqkb2g=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=XoG0Ks1aMv4b9BjRGfUCAeJ5UKOtYEFolS3/Ov7eTENxwBExEsXOAC+Wj/mFmWsf5kSW+OXFhz1qioz+Q5zqc4MR+67glYM6voZqWSrXaj1z9wCFFgIrxIgpnlUAD77DKq493nHqc+ekQyjzUJU7ZFq/Z+wQKwmQj9U5JXwmWp4= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=F5kveWsu; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 509CD1F000FF; Thu, 8 Oct 2026 14:19:15 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791469156; bh=gnzZocDc58pGi8A74Eaktq0CNcKrtOIGDjXGA3pwfqk=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=F5kveWsusKhpJAlQf9c7wPhZhDfWE0v1W1DPziRVSvanYT43u3QrxkMVjUM/dUiXt XFBLvKtZd6pjamTBzvoYz7CG6g1fSdIRSoFC5MKKb63DJ6AofvH37X4FHpUl1rwLky 610uZ4qsqVIyGPOE3Rl5/7qZxixRAmfAdANrmOPtytLX5Gg/KwbzheBzVilwdzN4ek yKPwEODf7HqVk/MumCHvtZVU11k2ndQN8YwVYjpCq4lYsAUc19WLsdC7culScJ0vmO 1t8v+9zvIWUKOWTbVetkxGw16J54hFsnfXhgJrn6htSdEFeZJ4ZZEviO0AoD44Jdik TAbl3CKQ1dTHQ== X-Cc: alexanderduyck@fb.com, kuba@kernel.org, kernel-team@meta.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, pabeni@redhat.com, linux@armlinux.org.uk, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, mike.marciniszyn@gmail.com, almasrymina@google.com, netdev-bot+sashiko@kernel.org X-In-Reply-To: <179129269393.434549.14053731707723183539@kernel.org> X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>