Article View: linux.kernel.netdev
Article #2308Re: [PATCH net 0/2] bnge fixes
From: Björn Töpel
Date: Mon, 12 Oct 2026 11:51
Date: Mon, 12 Oct 2026 11:51
22 lines
6160 bytes
6160 bytes
Vikas Gupta <vikas.gupta@broadcom.com> writes: > Hi, > > This series fixes RSS indirection table and context sizing for large RX > ring counts. Patch 1 caps the hardware RSS context count and RX rings > to the RSS table size, preventing out-of-bounds writes and an oversized > memset(). Patch 2 fixes the indirection table sizing so rings above > the table size still receive default RSS traffic. > > Thanks, > Vikas > > Dharmender Garg (2): > bnge: fix RSS table sizing for large RX ring counts > bnge: cap RSS contexts and RX rings to the RSS table size LGTM. Tiny nit: If you respin for some reason, the patch order should be reversed -- capping before the rounding fix? Reviewed-by: Björn Töpel <bjorn@kernel.org>
Technical Details
Message-ID:
<87o6czcf2z.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-344940-linux-kernel-netdev=dewy.ruReferences:
<20261012054325.1782819-1-vikas.gupta@broadcom.com>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-344940-linux-kernel-netdev=dewy.ru From: bjorn@kernel.org (Björn Töpel) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net 0/2] bnge fixes Date: Mon, 12 Oct 2026 13:51:00 +0200 Organization: Usenet Network Message-ID: <87o6czcf2z.fsf@all.your.base.are.belong.to.us> References: <20261012054325.1782819-1-vikas.gupta@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: usenet.network; logging-data="1769422"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:H/sF26bjOzjii67Ps95L+FHgDlA= sha256:5UzooKvHh0iLpcbyDTbQZsBPtMxJbnVQpUejQT+kP8E= sha1:1L0c5xjuUD68ocNqPlFP4ZY5QWE= sha256:vNevA9JgflGnPFCXSGV6NNlS1e9zcJIIL2Ep+Is/XV8= 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 AC02810FBC2; Mon, 12 Oct 2026 15:16:40 +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 EFTkc6ZZsoNL; Mon, 12 Oct 2026 15:16:37 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-344940-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id 89D7210FB8D; Mon, 12 Oct 2026 15:16:26 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id 44F883E01C; Mon, 12 Oct 2026 11:53:38 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 31C3C418348; Mon, 12 Oct 2026 11:51:05 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SU5mfdAz" 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 314F43B5303; Mon, 12 Oct 2026 11:51:03 +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=1791805865; cv=none; b=aIm0rFrmpH25+3olJwidME/iZea7AnRNWPSTdHMKaHk5VWUmLTN4rjYt5DXf9qZ8FRQHCUmlKjhR08SiI0d/W3MqaqKk+UTmdYSxIpBm0utuP+UUiZpWcALNX9B/b1bO/dMyiQ4Ea2X20VkcPdP8LtB7fP93vt3t1KYmoQymazw= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791805865; c=relaxed/simple; bh=auwg9QgxLhnE1InTXXGJFHS16ZPGCnIel6Upaaciny4=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=jNd4mLCp7tgj0M1C41juowgRTbc/n1YtCqqIkIQ0Js8H0AFkeXq81ko1LNQMnCr8H/TZU72y0mzXdS6hnfr6YY+YmPPth5MTw0mBBPAqjIBARVRa4Itzfd1jnzuYXNlnLCvn0Oof17dRl+XU73savcHb3VOXUHXUOtH/dad3Eso= 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=SU5mfdAz; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id EEDF01F0089B; Mon, 12 Oct 2026 11:51:02 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791805863; bh=ooyxWk2yObkRmeRDkrc6crB49O5NVRfnR1NX/ptc5P8=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=SU5mfdAz6DvWVc+2DyuN7OaFoWw0TX5aDDkc6PJdUWrNuq90JuZe1ayynCgSMPidp xBBi6OnUUqj1ly3lNO/qoFf7x/FQKh1t9wfkMxvxtKseDGJ19suNcGJeRgGWUKQu3M hid3dwSx8rjRVNgF8UoSubXCLl/+VQfhpu7E4wH/Zj7ZbaV5bWXgYkkaVu9DWSlDnT Z2GC4my/e1+hOWXQwu+Sf6aIwDQ+iW71uToKjQpjUiOK/ZAnxu7UEQvdoLGgj3d/b9 vm+5CKBl5fRBUc6QSY8GYd2Vpxb78XG1DjAOCD5g3pk+VcWhThkEOTUFikiv+HhQoD 9g9Io5yNKY8Gg== X-Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bhargava.marreddy@broadcom.com, rahul-rg.gupta@broadcom.com, vsrama-krishna.nemani@broadcom.com, rajashekar.hudumula@broadcom.com, dharmender.garg@broadcom.com, ajit.khaparde@broadcom.com, Vikas Gupta <vikas.gupta@broadcom.com> X-In-Reply-To: <20261012054325.1782819-1-vikas.gupta@broadcom.com> 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>