From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4D7CC43334 for ; Mon, 11 Jul 2022 20:44:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230370AbiGKUo6 (ORCPT ); Mon, 11 Jul 2022 16:44:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229657AbiGKUo6 (ORCPT ); Mon, 11 Jul 2022 16:44:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEFE241D12 for ; Mon, 11 Jul 2022 13:44:57 -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 7495C61683 for ; Mon, 11 Jul 2022 20:44:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5944C34115; Mon, 11 Jul 2022 20:44:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657572296; bh=oTTI/sFYECmPYbjlogwc9NHIB+pa8H2pNywfsDg/tIU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Si28cbR/4w2QNavFLEgNLr7ZwP3YkVq2LjoayQaso720DgcGIJTfp+X+C2cyzNzmF KSHrWuLsQt4UrvCGqUO0kICul/cbDhtbvVvVDVz0Bmkn/HOC70LCNgrfLv/LcKkBeS 0y01Cs6X0rNXZIX9OyAHaCcx/y7dMSLR26hzcQa4CQe8RqtBBUcHrIyB8eptnLxwKo CJf4CR/9SJWCvqPQKik5N9RNY8U9eqRQ7Kmf9MDwrbIRsQSYX33lfgPL82HVOSz3b6 0vps/GyDZF3KSxAFoBqd44BnRUT4jnH3OKGG5DKNmYVfSZemPPeLiNlo6M0yurbCKo kmaEZFZRAD/Vw== Date: Mon, 11 Jul 2022 13:44:47 -0700 From: Jakub Kicinski To: James Yonan Cc: netdev@vger.kernel.org, therbert@google.com, stephen@networkplumber.org Subject: Re: [PATCH net-next v2] rfs: added /proc/sys/net/core/rps_allow_ooo flag to tweak flow alg Message-ID: <20220711134447.51162fd5@kernel.org> In-Reply-To: References: <20220624100536.4bbc1156@hermes.local> <20220628051754.365238-1-james@openvpn.net> <20220628100126.5a906259@kicinski-fedora-PC1C0HJN> <5ceef56b-9f7b-df36-17e4-1542d3306267@openvpn.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, 11 Jul 2022 14:38:39 -0600 James Yonan wrote: > Any further questions/comments about this patch?=C2=A0 The v2 patch=20 > incorporates all feedback received so far, including refactoring a large= =20 > conditional in the original code to make it more readable and maintainabl= e. There was another patch on the list doing a very similar thing right around the time you posted yours. IIUC wireguard implements farming=20 out decryption to multiple cores, implementing something in the tunnel layer seems better. You can do the crypto in process context which is much more efficient while at it, and put the packets back in order.