Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp37339pxb; Mon, 31 Jan 2022 14:34:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJx2hfoFCkmHP0RCBmI9jwIRLsggANt9CJDE6sMAcrBW1eDmd0zP6dGhVPMQ0fLDegTLrNOH X-Received: by 2002:a17:903:183:: with SMTP id z3mr23213195plg.127.1643668443077; Mon, 31 Jan 2022 14:34:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643668443; cv=none; d=google.com; s=arc-20160816; b=Ugie6TAauEGkiFp13mhrJIbt8hZ6Mw+lWcuf4N2GENLXezJswgMsUZgcpF0g77xdJ1 K7TlONyLKba3h9CgQZWyqp34e30UpdCq7qN7AIACmADa7PUaHaF2XwgdZRIWfyZNtWJC mdjd7WMB6bdblQKEcboey73IOaVbwNh/daZUMU5nGlVbJZQJS0/cHwo7Fu4APAjQbocK ZCqTebfRIvf+TencAQ+qVoOJtJyHgFmQOk5LDGoDTi0OrsbFOGlAugGaQ0gbLpxjJSIt UmD52sfrNTbKxFrY8pzh6uok8YD1zZ/ZGix5Q5tw0Oww/G5ujAyBqpLLps4h29NHWjUf Z8og== 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 :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=TKDvYpPMzUDXRMCY0RFhJCfNY2B+HX3aFyEylPC0d2E=; b=k8L0GtTEZVHTgX+iTWzGAjW7dFtxwG2djMd5bngjVbTDwByiMIE3V2yKw5r5orpAQl Zyo9UPv1pcLA1okZVRggsCLR7ys8epl5zR/dpPxoIot8wDaUxyF3Bozj+vXnnwaDRAlN CZ+6WRV8Rv5SZCM+AlXZcxsQtNVliCVnjl+2YfFO4TEg64F2OKlNUjlFNWCpJ6u8uP6B gcLaonMZznJ3hro1vNeht8aNGSCgV45M/6ZFlc/QEaqJyqDX2v98px/BUckBb/zGahX3 sM+Wixplzg3lqD4gU86TSqu6SEhsSzxeUCir1rS2N45juZ3yk6d6PfePJwSbU3rfuw4x 2fNw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 4si15418581pgm.456.2022.01.31.14.33.52; Mon, 31 Jan 2022 14:34:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352002AbiA2BOU (ORCPT + 99 others); Fri, 28 Jan 2022 20:14:20 -0500 Received: from szxga03-in.huawei.com ([45.249.212.189]:32130 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229812AbiA2BOS (ORCPT ); Fri, 28 Jan 2022 20:14:18 -0500 Received: from kwepemi100001.china.huawei.com (unknown [172.30.72.55]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4Jlx9J2Y0Rz8wWp; Sat, 29 Jan 2022 09:11:16 +0800 (CST) Received: from kwepemm600016.china.huawei.com (7.193.23.20) by kwepemi100001.china.huawei.com (7.221.188.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Sat, 29 Jan 2022 09:14:16 +0800 Received: from [10.67.102.67] (10.67.102.67) by kwepemm600016.china.huawei.com (7.193.23.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Sat, 29 Jan 2022 09:14:15 +0800 Subject: Re: [RESEND PATCH net-next 2/2] net: hns3: add ethtool priv-flag for TX push To: Jakub Kicinski CC: , , , , , References: <20220125072149.56604-1-huangguangbin2@huawei.com> <20220125072149.56604-3-huangguangbin2@huawei.com> <20220125195508.585b0c40@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> From: "huangguangbin (A)" Message-ID: <2b7029d4-c1a7-93af-1846-7b91703f9edf@huawei.com> Date: Sat, 29 Jan 2022 09:14:15 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20220125195508.585b0c40@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.102.67] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemm600016.china.huawei.com (7.193.23.20) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2022/1/26 11:55, Jakub Kicinski wrote: > On Tue, 25 Jan 2022 15:21:49 +0800 Guangbin Huang wrote: >> From: Yufeng Mo >> >> Add a control private flag in ethtool for enable/disable >> TX push feature. > > I think it's a pretty standard feature for NICs which also support RDMA. > Mellanox/nVidia has it (or at least it the previous gen HW did), > Broadcom's bnxt driver does it as well. > > Can we make this a standard knob via ethtool? Not entirely sure under > which switch, maybe it's okay to add it under -g? Perhaps we need a new > command similar to -k but for features contained entirely to the driver? > . > Hi Jakub, We consider adding a new command for this feature. We will send RFC after we finish it.