Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp390341rwb; Fri, 4 Aug 2023 14:40:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEoA0MPYbUo+5CLHVeHt+LyNj3CWOx+Q44eWm56onp9bUKODZF5rD8qm2TVN3rnTVnMZ4EM X-Received: by 2002:a17:902:d50e:b0:1bb:b2f7:e058 with SMTP id b14-20020a170902d50e00b001bbb2f7e058mr2841524plg.52.1691185206932; Fri, 04 Aug 2023 14:40:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691185206; cv=none; d=google.com; s=arc-20160816; b=CUr96TBW/AizInXLCheWRA+gZ4kzmg6IRctPO/9EYS4fnGo8RRW7+xniV6hNJwrXyM AhTdAUFXkLzsQL+wzym1SIAjAQ10hwmPG40j7phjAV57gEPLTkxq5SbYMPN8CIClhme3 GqsYtbBb28ykPt10qPPSBzcaOWYNdTb/k/Ny3TJb5f41ZOHCCCvrqR+QCpLyH0SXFoJS wz/KgIU54xiT5Rgvj9uSepAag1xtZe0bEa1j9XXt0JtvcLak3VAlic10zjhAW7km0a/E 7lSQkb50UGFP3bKGPD7hViJ2pmrLyM9RpmJZEmwywZMdFT9JEcL/In9ExtRw/4DaeUFg RSGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xcsViil0DGLXaWdiuVDPCxOVUlw+P8Xq3hHgt2h9jaA=; fh=OpyRO7dd6jcRYQljAgsHG7Q+jIfR3htLlHe01NIj81Q=; b=kuMrOiArfbzjI3pEU17fAQut4J3JhbxqBAtNZXnzaiAD3KQXLEqZZqzmSkvYNC1Ry0 maRkJoAww5Lk4jDmgApgRr7o1WQ5cvD/HkYUi9GT3QDjpHXG5mOo0Kjrxa7mF37lZKWX mcjke3xl4BTFX25m3GIZhLnNrtgVRB6s1tuWrhzJN5IBav0/qw49YXyV3gkuhzSR7E2P qZPuVJed1/n3UbSzXGine+aILbqBDnep88JQtzRf7DG2jOp3CcvEPop3DsC38QSNIfT6 CjwI/7b1xyIoHqIviXQ3qXWCKqZngBw5rhOAThxYGNwBJ5cbsx5IxXG1urTskY7ZaN3t cKJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="DKp9R/cJ"; 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 n7-20020a170902f60700b001b9fb999147si2204228plg.89.2023.08.04.14.39.53; Fri, 04 Aug 2023 14:40:06 -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="DKp9R/cJ"; 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 S229909AbjHDUlc (ORCPT + 99 others); Fri, 4 Aug 2023 16:41:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229899AbjHDUla (ORCPT ); Fri, 4 Aug 2023 16:41:30 -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 287904C3B for ; Fri, 4 Aug 2023 13:41:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9872A620A7 for ; Fri, 4 Aug 2023 20:41:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A863C433C8; Fri, 4 Aug 2023 20:41:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691181687; bh=xcsViil0DGLXaWdiuVDPCxOVUlw+P8Xq3hHgt2h9jaA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DKp9R/cJgL+kEeGwHIXbHHblJtel4OuIyrNgsdzLS6d182eIkNfc5/8YnPDlNPEK3 c4oGvUPStMf6kOHhP8xE98/9uKBnRFnPIuEFg9g8pVWK7VsuPHzSOoNsMz+mi0PISQ mPKzbLHFY+HHeU120+jawOOHRfhObjUEhEWUB0acBhjF0ySQGSIKD9Ndl0v+zB7xfu Johmm/LzB5E2sNYx4ezxv+t1+XSruYi5EHqEeNz4gTViCCtzIrBLo6Q5huYcoxqT9i guCiZ/HAbhK9QM//ws/vrt8o6kja4gGEjdHFpuTQs9qBFsmK0VjJwNqa1gANZacRPf 25Ay99oWkeY+A== Date: Fri, 4 Aug 2023 22:41:21 +0200 From: Simon Horman To: "huangjie.albert" Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , Magnus Karlsson , Maciej Fijalkowski , Jonathan Lemon , Pavel Begunkov , Menglong Dong , Yunsheng Lin , Richard Gobert , "open list:NETWORKING DRIVERS" , open list , "open list:XDP (eXpress Data Path)" Subject: Re: [RFC Optimizing veth xsk performance 01/10] veth: Implement ethtool's get_ringparam() callback Message-ID: References: <20230803140441.53596-1-huangjie.albert@bytedance.com> <20230803140441.53596-2-huangjie.albert@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230803140441.53596-2-huangjie.albert@bytedance.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 Thu, Aug 03, 2023 at 10:04:27PM +0800, huangjie.albert wrote: > some xsk libary calls get_ringparam() API to get the queue length nit: libary -> library Please consider using checkpatch.pl --codespell