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 smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7BB55C61DF7 for ; Thu, 23 Nov 2023 03:22:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 0A031812F3; Thu, 23 Nov 2023 03:22:11 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 0A031812F3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1700709731; bh=vGugQLI6AWUbXo1Bl1SDgURlkXk49HZGzIJ8Nhzj2PA=; h=Date:From:To:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Cc:From; b=1jevohJIUIf04ijMg8DRqkRnuMp++uKCPQb4HZssx1Twig4mKjJmO2qU+bPznKbyw mwlTX47kRkyAE9arSa9/Z3BT2WJim8S+9zN1UG9n9kZT3oDxVh/UJeabxXuy8k74di Nut1HQMcB5nBOn8oY2iy26B/xNrXO1VDkt8B34mMXzTrbUdsM5+BrHWbfQkbssrGV1 DAAnAeAjittNiEwNlmSTozFt9bVgkak6bmeCjvbQzv/f9fmQBfxaPnnbAyhtJ4PoKm tpnwAkEfpOhCfs9KQXtceyxacrETwHTbBKbt41tzcvnHxRM1wYx2tmzIwhJ1iqDDjJ Meu5Wk6EQvR1Q== X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OuP8tSf61zri; Thu, 23 Nov 2023 03:22:10 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 1A8E281393; Thu, 23 Nov 2023 03:22:10 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 1A8E281393 Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id B90D61BF4DB for ; Thu, 23 Nov 2023 03:22:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 83C0240399 for ; Thu, 23 Nov 2023 03:22:08 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 83C0240399 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KPqJXc9M9AD1 for ; Thu, 23 Nov 2023 03:22:07 +0000 (UTC) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by smtp2.osuosl.org (Postfix) with ESMTPS id 9E3D9402E6 for ; Thu, 23 Nov 2023 03:22:07 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 9E3D9402E6 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id 74D99B80DBF; Thu, 23 Nov 2023 03:22:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AF702C433C8; Thu, 23 Nov 2023 03:22:02 +0000 (UTC) Date: Wed, 22 Nov 2023 19:22:01 -0800 From: Jakub Kicinski To: "Zhang, Xuejun" Message-ID: <20231122192201.245a0797@kernel.org> In-Reply-To: <3d60fabf-7edf-47a2-9b95-29b0d9b9e236@intel.com> References: <20230727021021.961119-1-wenjun1.wu@intel.com> <20230822034003.31628-1-wenjun1.wu@intel.com> <20230822081255.7a36fa4d@kernel.org> <0893327b-1c84-7c25-d10c-1cc93595825a@intel.com> <5aed9b87-28f8-f0b0-67c4-346e1d8f762c@intel.com> <20231118084843.70c344d9@kernel.org> <3d60fabf-7edf-47a2-9b95-29b0d9b9e236@intel.com> MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700709723; bh=yAc2hE061dNOWccQc37rtV38ITS3Vn4u5CYPg8/n4Gk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=OwA2SWorUNCEzk8EowGrclIWcuGhbpXO1hC2zUlxu6W/+XTqwWLCLMgU/OVEW1NPA Pptk52YDyySnXpvLwsvAWmvFASfnyefyblEaiZ8xNr0FcoStAnyENB64wJDoQZrAVX LJBgDsmHZsWEq/OXZJ83vvgE+Z2v9iZ/FMrNGMJNQtm3vGDsk51Zn9uMexKqCC+IvQ ycPX9uWMnBpjL8bX3cIxzNwBWoxHRoURKngX2XlRYO9O0VqKtHhGj1xetg9WSw2Kbp BlqE6a7r3roQi2TvOv2aY8KLijDYLIyJ5UfchwwbbUxBirXymgl5ZYHVhKhd1wCj3t qXGxbLP/o9mng== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=OwA2SWor Subject: Re: [Intel-wired-lan] [PATCH iwl-next v4 0/5] iavf: Add devlink and devlink rate support' X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jiri Pirko , "Samudrala, Sridhar" , netdev@vger.kernel.org, maxtram95@gmail.com, "Chittim, Madhu" , anthony.l.nguyen@intel.com, qi.z.zhang@intel.com, intel-wired-lan@lists.osuosl.org, pabeni@redhat.com, Wenjun Wu Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" On Wed, 22 Nov 2023 14:19:14 -0800 Zhang, Xuejun wrote: > The proposed API would incur net/core and driver changes as follows > a) existing drivers with ndo_set_tx_maxrate support upgraded to use new > ndo_set_tx_rate > b) net sysfs (replacing ndo_set_maxrate with ndo_set_tx_rate with > minrate and burst set to 0, -1 means ignore) > c) Keep the existing /sys/class/net/ethx/queues/tx_nn/tx_maxrate as it > is currently > d) Add sysfs entry as /sys/class/net/ethx/queues/tx_nn/tx_minrate & > /sys/class/net/ethx/queues/tx_nn/burst You described extending the sysfs API (which the ndo you mention is for) and nothing about converging the other existing APIs. _______________________________________________ Intel-wired-lan mailing list Intel-wired-lan@osuosl.org https://lists.osuosl.org/mailman/listinfo/intel-wired-lan