Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3219504iob; Mon, 16 May 2022 16:20:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+6IRpejLe0MK+hL8tGgqGuSqHLabZ27vvLojMVV4yIlWjreFXTKl0AL94eXOcBjrqCXA3 X-Received: by 2002:a17:902:e385:b0:161:823d:5309 with SMTP id g5-20020a170902e38500b00161823d5309mr6212810ple.62.1652743205868; Mon, 16 May 2022 16:20:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652743205; cv=none; d=google.com; s=arc-20160816; b=ig2Z5efL+zKjYXZgrZYSUt0cavi8xm4Ob6OHlzD41TwdNEsDMSFYX6LiH/PB/NB5ik moFpi1ybFolZDweS4OZZiSl1jYLh9vwUBH1w8JRhzcUDNYGnB9Q8Tzp0bJUQsoc36p2u fGClMwzjL419gJ1YBRZwl40Z6W7yUBHtVlmihFkuovQsZFdINHGM7nZAH6UebktrDnn+ bHkQSm//vK12XSq4CrBTNkpvpNtp94lUeQK2abZGgj108z2iWqZBQUS2korn5jUAlP8q AwxNTPJzQc4lLmjEzTFuhmyxmGYKRAWlu2IhDIq+Nw43IgsNDCmAdxoHZn9C0GS9wf3T zl4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=oarqd/2OqrWJgCiCamFnR105OS5P65Ff+2fi5ctWkqo=; b=NFIBJAF+j6hKg7CCeE17v53mwSA/q9Xztswcpu/eN1+bhk7cE51crjAlfwtv35cSW0 AzvNtjjFaY1t275zD33TD3RtPpDoF0/3HvhB9WIV//BE+6kptO/3S89ATb1KgCueN47k maOe/mfVnWn3BLLRlfW4VfdGNjtToyu7y10WfI4BtVfpXSTTUhEMEjTC1qOV/clYZq0z U+/nrjnTftxJ1TXrnh1hWhB/w4dQEU0xJcdHd4ChUdN5JRmpoxvLy4JK99xRYV+8ZVL3 A6LiecJb51n4VM7JGIFS+IWot9xMj2foihHmSfnKgsF/ImbC113as8Heqx3dxmfICg3K 6dKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=vL7kTfTu; 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 i15-20020a170902cf0f00b001614730d68esi11405988plg.25.2022.05.16.16.19.54; Mon, 16 May 2022 16:20:05 -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=vL7kTfTu; 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 S244613AbiEPOr4 (ORCPT + 99 others); Mon, 16 May 2022 10:47:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244670AbiEPOrv (ORCPT ); Mon, 16 May 2022 10:47:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E0573A5F0; Mon, 16 May 2022 07:47:47 -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 7C0586077B; Mon, 16 May 2022 14:47:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 594BBC385AA; Mon, 16 May 2022 14:47:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1652712465; bh=Tpt8DedwEkOnxWbxtjaHnRXxuWJlxdVeWklSQpueJ+Y=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=vL7kTfTulQ9Kg33T1n6CpC/XII9/bSAExdr6mjNTu/OGRhHJO2b1kekKuu04ME0V/ 9LNziCPLPhSMyke8L5dYRjucx7VhxRC34v4uaY7bKYwO12/GdvLyZQUeWv+cxiLmd9 g12bQ11koU/rE09ZYHlJVFgThQxgXW9mDQRCkEcg4jOF4ixuC980QzkSiH7RMkUzSr 6Pd7Ua/+6thWk20QH8qE2XvUg2fETAgz1oeCk++skQGT2GQAh5+V5udrRPpVQFr+8l ZalKFMA8j9v9xbPbXF5OMihEjGZSXEXJSHvGsVCSAUe3ehxKlKrtF4OJ/suYYvD8h7 dZN3b9pcruUIA== Message-ID: Date: Mon, 16 May 2022 08:47:42 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH net-next v3 00/10] UDP/IPv6 refactoring Content-Language: en-US To: Paolo Abeni , Pavel Begunkov , netdev@vger.kernel.org, "David S . Miller" , Jakub Kicinski Cc: Eric Dumazet , linux-kernel@vger.kernel.org References: From: David Ahern In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, 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 5/16/22 7:48 AM, Paolo Abeni wrote: > Hello, > > On Fri, 2022-05-13 at 16:26 +0100, Pavel Begunkov wrote: >> Refactor UDP/IPv6 and especially udpv6_sendmsg() paths. The end result looks >> cleaner than it was before and the series also removes a bunch of instructions >> and other overhead from the hot path positively affecting performance. >> >> Testing over dummy netdev with 16 byte packets yields 2240481 tx/s, >> comparing to 2203417 tx/s previously, which is around +1.6% > > I personally feel that some patches in this series have a relevant > chance of introducing functional regressions and e.g. syzbot will not > help to catch them. That risk is IMHO relevant considered that the > performance gain here looks quite limited. > > There are a few individual changes that IMHO looks like nice cleanup > e.g. patch 5, 6, 8, 9 and possibly even patch 1. > > I suggest to reduce the patchset scope to them. > I agree with that sentiment. The set also needs testcases that captures the various permutations.