Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp7155995rwr; Tue, 25 Apr 2023 08:50:11 -0700 (PDT) X-Google-Smtp-Source: AKy350bSUhjljzSDk9h0pt85CtSvELjM79d4wE8Z6g1QWzHJRdWS2OI0eH9EdQKFNA+jIJ+Orxwo X-Received: by 2002:a05:6a21:328d:b0:ee:ac3c:d2de with SMTP id yt13-20020a056a21328d00b000eeac3cd2demr23722674pzb.28.1682437810871; Tue, 25 Apr 2023 08:50:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682437810; cv=none; d=google.com; s=arc-20160816; b=a0ZIdFr092Lu/mDjT1WcIUMk6lu73YW/Tco+O7Rco71jMWGsxGutKNLE/ksOO/ewX8 4dZneGrFYTAPNy9Nm05ET53PBe1oUnoU1hs8sNtTJLfaaBxHKNaTn0xjjEwml4yU8ybc 0s7fpD0YwcOjZOqpfdl7QpNNdQVICqMg1MfyBZ2+BXCu0RioG5C5YHJA11+yb7sEoLit 2w9pRyh0fSSqwjrNXqQL0LEBHAE+dP1kI4rNfRNKz8/1dG4LVuuMQGB1lAonNhve63Nf EcNl2jhr0DOgUs9qXgVKhHL0EVUYSRCk/dQWxznMIzBD5Bx3GLRCNDzeE0SEJKP1eKXB 46nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=jj3M2Q/w3am3kFocA2jdn10GJp2ZzdMghbwIHzYVow8=; b=R5NMdGj45fIlDtujoU85pOPP/XDuD6RhSolBK6Su4kzIlGY5weKIqYy0vrtxJAZPnR fPyHQmSxoYfqRHstx9QZJN5O6soiNJq3RiLSKTqQ6y3/JIww71pvUbwooziSszrHAkK0 TrsijZPCCoGUPPKRCOINqZFvOgS+qPND3zQ2RpH+IA1s7I9lqmJsmlCVHeuJQfcGh9iQ jm47unuC3lfryWFlTz0DVSaGH6ssunSJRLOwXABu0hRcWdU2c+EavQRITX53cFzMLb4O Do6D+QhffszC7bf8CGqCcD8EC+upj6jBKvc/YA3l8RlOCadmtWhHTu+homYk+4Hj1HGB wKPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=c56Y2Of2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 69-20020a630248000000b0052866b25be5si3061326pgc.746.2023.04.25.08.49.58; Tue, 25 Apr 2023 08:50:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=c56Y2Of2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234339AbjDYPmA (ORCPT + 99 others); Tue, 25 Apr 2023 11:42:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58004 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233685AbjDYPl7 (ORCPT ); Tue, 25 Apr 2023 11:41:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEB02B454; Tue, 25 Apr 2023 08:41:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6629F61791; Tue, 25 Apr 2023 15:41:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8FA9FC433EF; Tue, 25 Apr 2023 15:41:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682437317; bh=IKWz+GGutBkjD9113YcFUYBetBw1I+xVwhSFb82zAaI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=c56Y2Of2BOHGd5rbWKhEZHIYh55nGV7IfYErs8y80IyjgEXZ41dBeIDWlEeSaZabX lSMT63MvkWGBEHXgpG3ih5+JGDuQVs6uqnaLyoQR0vtW42QNeCExyS9y1CHyf5/NvZ H4ODybnRaxAo1+CzbaR3Ru334oed10qtBjFhU9G7NMPfJ/Ynngqc2K558EDg+An5gS 18DWwCPoLuDh1YxdqoPYIef7rEcNISOcgE0QusgKO3FznCymG8syq9fQjrBuec1VcZ A8xyeFw6LeL6+MXKZBEtUdG01Yaxd469Ntei62fW3oKGl8qqrC0/ReTlCd1pxSy8bB Y6T0OEHLWr9DQ== Date: Tue, 25 Apr 2023 08:41:56 -0700 From: Jakub Kicinski To: Cai Huoqing Cc: "David S. Miller" , Eric Dumazet , Paolo Abeni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] netdevsim: fib: Make use of rhashtable_iter Message-ID: <20230425084156.03682288@kernel.org> In-Reply-To: <20230425144556.98799-1-cai.huoqing@linux.dev> References: <20230425144556.98799-1-cai.huoqing@linux.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 25 Apr 2023 22:45:55 +0800 Cai Huoqing wrote: > Iterating 'fib_rt_ht' by rhashtable_walk_next and rhashtable_iter directly > instead of using list_for_each, because each entry of fib_rt_ht can be > found by rhashtable API. And remove fib_rt_list. ## Form letter - net-next-closed The merge window for v6.3 has begun and therefore net-next is closed for new drivers, features, code refactoring and optimizations. We are currently accepting bug fixes only. Please repost when net-next reopens after May 8th. RFC patches sent for review only are obviously welcome at any time. -- pw-bot: defer