Article View: linux.kernel.netdev
Article #5705Re: [PATCH net 2/2] selftests: netdevsim: Add FIB notification tests for nexthop objects
From: David Ahern
Date: Tue, 20 Oct 2026 20:33
Date: Tue, 20 Oct 2026 20:33
22 lines
8598 bytes
8598 bytes
On 10/19/26 8:03 AM, Ido Schimmel wrote:
> Add IPv4 and IPv6 test cases that program a route that uses a nexthop
> object and check that two notifications are emitted for it, with the
> second one carrying the RTM_F_TRAP flag.
>
> The new route_nexthop_check() helper follows the same pattern as the
> existing route_{addition,deletion,replacement}_check() helpers.
>
> Without "ipv6: Hold RCU when emitting route hardware flags
> notification", the IPv6 test case passes, but triggers suspicious RCU
> usage splats. The IPv4 test case is added for completeness.
>
> Assisted-by: LLM
> Signed-off-by: Ido Schimmel <idosch@nvidia.com>
> ---
> .../net/netdevsim/fib_notifications.sh | 66 +++++++++++++++++++
> 1 file changed, 66 insertions(+)
>
Reviewed-by: David Ahern <dsahern@kernel.org>
Technical Details
Message-ID:
<f2bcccb4-0790-48bd-a292-fecba10e85ec@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-349560-linux-kernel-netdev=dewy.ruReferences:
<20261019140337.2886875-1-idosch@nvidia.com> <20261019140337.2886875-3-idosch@nvidia.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-349560-linux-kernel-netdev=dewy.ru From: dsahern@kernel.org (David Ahern) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net 2/2] selftests: netdevsim: Add FIB notification tests for nexthop objects Date: Tue, 20 Oct 2026 14:33:03 -0600 Organization: Usenet Network Message-ID: <f2bcccb4-0790-48bd-a292-fecba10e85ec@kernel.org> References: <20261019140337.2886875-1-idosch@nvidia.com> <20261019140337.2886875-3-idosch@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="3954172"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:2QkVV/7SPb7PTOuGFbzQ4g45wtc= sha256:2k71FYIWB35SAcROUXkk6FdZ26BeW1msrLGSx6bsuG4= sha1:znPmHww5H4jHuBh1EUYfwAXZEWM= sha256:0FvNcqAuYIDMwmLBXSFwqxlucv7+bvKZ7w1OVn3av2I= Content-Language: en-US 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 81705110E3E; Tue, 20 Oct 2026 23:37:31 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.729 X-Spam-Status: No, score=-3.729 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.329, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, 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 QEEeODlgbhEe; Tue, 20 Oct 2026 23:37:28 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-349560-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 ABA20110E07; Tue, 20 Oct 2026 23:37:19 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id A71672A3BC; Tue, 20 Oct 2026 20:33:05 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1792528385; b=q3CkkgBmPPn+OTFMloTHPvHDo0GV9nmV3v2NLsKZDE6O3wHM+oX4JmX27IPTwW5ZS2vp SXCKsgWRl1UZd3aCjtqFSEBslF272MwYnC5G/+BwKyNHEhQNsO6OOnvXRMvmpc09qCCE0 kDqg2HngGoK8qSm7vOXx4YEPLHnHaQb7Uec7VRGHZl1b6N1ndUzBTNnUJRaZIOZELKSof h0z9e48xBZzF6AIbBHDa6rmk/B8tRoN4xwHb8N03a4ITc9i6jIRjtCMtMYDlZK5yPn0PZ cfIzHb3aN+xmdY9bJS4b1QhODt3aRQ9S3wbMupbElUFLNeTeOkrSLBRbHA5MUd9N3qw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792528385; h=X-Original-To:Received:Received:DKIM-Signature:Message-ID:Date: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:User-Agent: Subject:Content-Language:To:Cc:References:From:In-Reply-To: Content-Type:Content-Transfer-Encoding; bh=HokUeG8K61PqpdYWUVTP/w5f2xfNpsSk7jsIIuyA5pA=; b=pm8va22/u+zXH+8FQV7MMFLMPRMrgVLmezLF9yas4DJcOxKjeFjThay21131jL8aHhuv wTTmpb1lnU5Dx3QaYZzbuo1eq6i+XGTndlAw9o+AtuPpMzMvWHL795soew8H45wnQldmh XLgSATrirYt1inK2VvwkkKut7YWwJqGA8QUCPZik7+dNbR4dc5EnhyTwCDVS4pSN96XCH E0eWn9rv0YDL9wmOP1xrDIP+SGi/N3XspJFY2m+qRLMK24dtGnCIxKxpx3kQiwBQmOKuC 5UzEWISHzuz/zO2QPtZPV2a9PiS5KxQhoRfsDA9zCDT9DBwnfSud6nXlTUu/jjh4qWg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=T6m3j63p; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7E2F8606A322; Tue, 20 Oct 2026 20:33:05 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=T6m3j63p X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792528384; b=TiAQqkGzTZkz0UxIC5vwQk0RhJ4Zon4IzJjgW215vDKSmU0eZBDB5s3HWnUPg24Yg1gE DDzTNbhOCF7h1ovca5V8Pn0mPKrXgMWdUvxukc/n/u9oa5d7BEFGVqiCa9bDAwGGtzwVw FVNawJCEBo1WooKBKXxbt1iRgxG03O1tNGpQXf/fxPzBK07yoV2QZZ5RUcl+cwwJc+iW+ n5ZX6qy/k+Feug43RKqEqcYQZJTvOa8FXOolBrjnvUJFeg1DPvsCiMNJn2a2I/CnL8iUR HpcYribFK3H8bTRYVPpq6zYglX9roqmL5EurRy6e8PzDrp9JanPdX01NJG/IVwoYHmg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792528384; h=Received:DKIM-Signature:Message-ID:Date:MIME-Version:User-Agent: Subject:Content-Language:To:Cc:References:From:In-Reply-To: Content-Type:Content-Transfer-Encoding; bh=HokUeG8K61PqpdYWUVTP/w5f2xfNpsSk7jsIIuyA5pA=; b=LZqjhF18QyzpCMnCRaVk9KUqaBLMUDwb6+2qbmAwt2m2w3hKpGJMRuzfSjuTY9LkEx/P 1pCeOoge/qef4FTUk0pxtNQMWwrGAZIUXowR5kMlRls0LZmyTIzlrz6IcXcmdDaJWKMEL Z60XHDB/PfznJXJV/XFUv1Vt2bthGnv5VUtj7zi5KHJj/MxCg4MZd6bmchmPwi+RpnrXw 4eeJQG7HtP8ZinYOqe8CHEo9dfZlucu12khpDI03++j3W9CRNLbZmXl0gwiy5L1BMfUV7 yI+AHATOBnMpCoMvsKYsjU8Bl+5oXf4VyOJHCCo+RHOcWdksT3kyKn+Hz2hgAcTOQOg== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=T6m3j63p; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 61011606A321 for <netdev@vger.kernel.org>; Tue, 20 Oct 2026 20:33:04 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id A086B1F000CA; Tue, 20 Oct 2026 20:33:03 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1792528384; bh=HokUeG8K61PqpdYWUVTP/w5f2xfNpsSk7jsIIuyA5pA=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=T6m3j63poNq10qY8QWwhrf+ACKb/kLHteqgU8jHz90x+M/DIq+2SsU1fETzIKgLil Ntvkw74FrmppLTvy8K5tZmKcpzu8wqYTZZfWOOZRkr+LAU5qQkrpKTCD/BCNqtG34V 2yZMVhEKQyfDJNKvl1fVfy9dB0u3kzDXiudaLLM8L3+trWy/gjkW1fnzZUrOzzY/QT b4OxvN/1G62866S5WiB6Q3kSVWlLUIAcOSRFJZbtM+lonyf4saEDect3umI3F3xMCo zOdxgBoRaFPi1Nyd//9tC2NqkyHoDr/ORUl8WI1aJd57ZSLHUecAKQOEcAGJcpIsPw tdrVwipwW+USA== X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list X-User-Agent: Mozilla Thunderbird X-Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com, edumazet@kernel.org, horms@kernel.org, andrew+netdev@lunn.ch, petrm@nvidia.com X-In-Reply-To: <20261019140337.2886875-3-idosch@nvidia.com>