Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp7203526ybh; Thu, 8 Aug 2019 11:45:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJD7joHdvMC6IKdHs5MgZ+W1nt9yAU47B3BCUEEubxqVKQF9W4e7ovZuJ3uEJ0A+Mx/h+9 X-Received: by 2002:a17:902:2ae8:: with SMTP id j95mr13882925plb.276.1565289908644; Thu, 08 Aug 2019 11:45:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565289908; cv=none; d=google.com; s=arc-20160816; b=VzXF2Us9Rb23pnjlmmrDfQyOweO9o6TCje5hwJOYN29k9wfBKDKDERGo7xx33dPH3/ DRHhpRSLgBDINsx8bgkU/YGs/RGeEedMR6yDXNocVHXXrhdmgeHNxiK6i96Fo6YSbjw8 afnHsEI/bqip4y51jETV47pWYZqZEtkw4XLJJsLKdz7BU09ydxbocKXTaGayq6H/t+JS vDV3ssY/9d3Uky3P8uZzVzmiOutQRZ3hickl433pLDDoADzRXVyWu8vj6jggpHFlKVGb mLDpzL2Jj3ES18ZHqXNCpFlXCs3LzXIoPrXiCWDk04KYmjHMeTKzugT+0baYnS3aSAjZ KgKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=Fg/Hg4a9XRkl0/H2jR20HQMQBPhUa67KRqvEb0kFVFs=; b=sb4XxS7ook+kpZH1blAcPKsWzi0gsZahX2KAnqE/A0nPMf3X4XHQ4H7VrSpCDxUA04 70FmCGya8up4v+rQbsVBSuz/B6bIT2GdcSHD9wQazofETPgEel6NTOzBC6Y3+HsPAnjN Wrhzpq+p6z8nq/9f8nJpGOvIdUGjjfcjknC84uaGvsZho8W7OMHPm5nfXjyB8gDHOnUS kLEcYdIjk0eFqp6d8lJYURWL8fvlOlOkByqt2vQMRnW43riado6D2JoUxe/6gD34WwA6 wU2BYzVoUg0Gf6MoY+5GiVhYL4NOkFZDJKBdN0xP12UyfsJsgOdGHth65f0z/watUZZi Bd0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=muY67qYB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s24si434245pgq.372.2019.08.08.11.44.53; Thu, 08 Aug 2019 11:45:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@netronome-com.20150623.gappssmtp.com header.s=20150623 header.b=muY67qYB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403890AbfHHSn4 (ORCPT + 99 others); Thu, 8 Aug 2019 14:43:56 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:44100 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403901AbfHHSn4 (ORCPT ); Thu, 8 Aug 2019 14:43:56 -0400 Received: by mail-qk1-f193.google.com with SMTP id d79so69583863qke.11 for ; Thu, 08 Aug 2019 11:43:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=Fg/Hg4a9XRkl0/H2jR20HQMQBPhUa67KRqvEb0kFVFs=; b=muY67qYB7cLWtuGTKUBMccWvPuetMRp1yAU+R71o4E9fwQfcDjRMqDQQqOPSoz2hlW v+D42ifNTbcscas5noHCr6tMnJ5b/IDDnlSJG3Yda3kZdYxX1FKKLVmuIWwJBaU4ybqE pwayu6OUhNpnzX4VrxWh1sTudhgijkbUDIzZZXfH1yf/2KSv1zMI/lpPiK6ts3lRUZgA cgtLdd/jmKJLOQBBc+erJUT7js+fM1PBIxuk3ilwnC9VjBUULW7qK2iZmy4Z6gIBUSV5 gUQgIfUHKKXEO0QWyrJ+PQKPk4a1bZDZL0MqOGeEKXTfuzsGGZweJZGW+GOMl0WQKD4c zmMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=Fg/Hg4a9XRkl0/H2jR20HQMQBPhUa67KRqvEb0kFVFs=; b=T9UjE5Btumn2TnHTUSnIZUXgkzoftWHQIBY5arKpWokApI1PNPMKMv4zDcqNLsDrYs TJcBYqKU0vlcN6sQHTecNRyG8xWtif+t6AhtJEg44ARReVPsQ7pkGE2J7sQL+WlOluq/ kbuyzWmci0i7KsQEq7DSafKw+w2AAxVLHNRzk19A4wS2pJjVqgRP0iFFrud0bLS5gOi1 YEFYoW/6WM4MswSezJuNlUIfn3UpqjZX6BCgcFLbtZQ1TCM3j2Yle9DLKOmpNVfLtU39 koYss6KuHAcKVziaFUYQHJl18VI05xHzxzIaYdxFqvWRjeW9hMyhJD9lZ9t60/BngB10 XaKA== X-Gm-Message-State: APjAAAVHxLqgO/rZQTM5sDQHJ6p++95XYuOHQyGbAMISOQrBAPYYglRz 7a2JJynKyD/R5p/fYEBYLjCAUg== X-Received: by 2002:a37:9fc1:: with SMTP id i184mr2518832qke.289.1565289835477; Thu, 08 Aug 2019 11:43:55 -0700 (PDT) Received: from cakuba.netronome.com ([66.60.152.14]) by smtp.gmail.com with ESMTPSA id i74sm4184913qke.133.2019.08.08.11.43.54 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 08 Aug 2019 11:43:55 -0700 (PDT) Date: Thu, 8 Aug 2019 11:43:25 -0700 From: Jakub Kicinski To: Hayes Wang Cc: Maciej Fijalkowski , "netdev@vger.kernel.org" , nic_swsd , "linux-kernel@vger.kernel.org" , "linux-usb@vger.kernel.org" Subject: Re: [PATCH net-next 5/5] r8152: change rx_frag_head_sz and rx_max_agg_num dynamically Message-ID: <20190808114325.5c346d3a@cakuba.netronome.com> In-Reply-To: <0835B3720019904CB8F7AA43166CEEB2F18D0F3F@RTITMBSVM03.realtek.com.tw> References: <1394712342-15778-289-albertk@realtek.com> <1394712342-15778-294-albertk@realtek.com> <20190806151007.75a8dd2c@cakuba.netronome.com> <0835B3720019904CB8F7AA43166CEEB2F18D0D8E@RTITMBSVM03.realtek.com.tw> <20190808134959.00006a58@gmail.com> <0835B3720019904CB8F7AA43166CEEB2F18D0F3F@RTITMBSVM03.realtek.com.tw> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 8 Aug 2019 12:16:50 +0000, Hayes Wang wrote: > Maciej Fijalkowski [mailto:maciejromanfijalkowski@gmail.com] > > Sent: Thursday, August 08, 2019 7:50 PM =20 > > > Excuse me again. > > > I find the kernel supports the copybreak of Ethtool. > > > However, I couldn't find a command of Ethtool to use it. =20 > >=20 > > Ummm there's set_tunable ops. Amazon's ena driver is making use of it f= rom > > what > > I see. Look at ena_set_tunable() in > > drivers/net/ethernet/amazon/ena/ena_ethtool.c. =20 >=20 > The kernel could support it. And I has finished it. > However, when I want to test it by ethtool, I couldn't find suitable comm= and. > I couldn't find relative feature in the source code of ethtool, either. It's possible it's not implemented in the user space tool =F0=9F=A4=94 Looks like it got posted here: https://www.spinics.net/lists/netdev/msg299877.html But perhaps never finished?=20 It should be fairly straightforward to implement by looking at how phy-tunables are handled.