Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp5349615pxb; Wed, 26 Jan 2022 09:57:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJxDMpFeAtBu1Tr0XCHMTrhbJ0RyIKzLiVaO4S3+TlbVpyFPGZyaNNgu6W0yF0uifUlq54tZ X-Received: by 2002:a17:90a:2c0a:: with SMTP id m10mr9774082pjd.183.1643219873079; Wed, 26 Jan 2022 09:57:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643219873; cv=none; d=google.com; s=arc-20160816; b=Keg8V2Ttfa7dn/ql4W74ofoc2SdY8sG+g05dy5aAmQ8AIyrfBBKjsYJ0hXYisReuSH Vm29EghzK72bafvZYzuTTfWGbldntFW7ZyZZBPh2FBVGwpD7skfDsN6Vxw/TLV3IJ8EH ti3mw0hpngy0+bgluWOrVUZuAXY/iO1yJr4egQj712RziR5e41Kth6EHlX0c/+CdWoCj NbEmN2ipOAD2+CGeQ5CXYkGbH4hQAyfdWeVd3OPPv3PJq7B+zs+tIghPGxcsR1BxxCrY 6rVHcTGdyKftlLdQDE0TeeAPOs11mTtYze+T8J6ys2Dfx/hiKCiW5b1hofQNigzfPT6d FEGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=1MBYEpG/bvkj53X8s1jZ3h3rehp2h5KyeqH26awNNVM=; b=rJrEIx5e/0e3U2G4weTfX2O/sdqwjxlry3rk237eDz9QOdWLTEGiDFJHnuBhvr8wX+ mSzI8CQeEHPY7I4PjIybUf9N4v79ChDaPUHE4cMBh3IMG0DLjNbU0dWVgR1MqpVORky0 T6jux9fIvbhEcaoGL0TUxrZeFg+wOXxA8++Qv8gtKqNv101lLFUB7Cj0mww6xOtnOAM4 +F77xN1xvkhCPrbp6YY39lASIKMFmUXM87hj0kW5Q/kiJPC+bo2pdF5su3AoIi2aoGeC OPo5jKtEznOoe91xGObZ4ecpv+FzR3UI7+kXBjzDuKQ1ARaFaooEjdr6zkpHduUjheQB n2XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=soYWJX0d; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o6si3277788pjt.142.2022.01.26.09.57.39; Wed, 26 Jan 2022 09:57:53 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=soYWJX0d; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237376AbiAZDzN (ORCPT + 99 others); Tue, 25 Jan 2022 22:55:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237323AbiAZDzL (ORCPT ); Tue, 25 Jan 2022 22:55:11 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D7B4C06161C; Tue, 25 Jan 2022 19:55:11 -0800 (PST) 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 0A6576179E; Wed, 26 Jan 2022 03:55:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21DDCC340E3; Wed, 26 Jan 2022 03:55:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643169310; bh=AdEQx6P4XOBwro+VlIIWa9C4GWuLQlwyRfT0o/UMBBw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=soYWJX0dTeTt9uaUa8Axn5HWVHMlOOEyPB5ZSYgJiJwv1RUeJeom11HhFHZZ1PXzd /fdlOGq9qUZq9SinSAHDiIjoYmHYjFHdQtifRmTB+Giczotv3DTZyIW7TQBtYpN0Zp 9XB6yyxfUXRExiJZAiP+y7uWn7ZWd2YWfmVOHo8Va9rdK67P+tvPVf91fsl+ypvRDh oqYZHfbqVBwCLiYoEkBwe/KqUIFi+mI0fXkral0kEpY1BR1nm/9knunscRpVTupyb9 N8ifhVtThqh1ERqv0RTEqdxHWTirjJlAIQFo6kexMa9w7VF1BDbuxwZoe9TXt6mK0m YOjpI6iD6Nnbg== Date: Tue, 25 Jan 2022 19:55:08 -0800 From: Jakub Kicinski To: Guangbin Huang Cc: , , , , , Subject: Re: [RESEND PATCH net-next 2/2] net: hns3: add ethtool priv-flag for TX push Message-ID: <20220125195508.585b0c40@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> In-Reply-To: <20220125072149.56604-3-huangguangbin2@huawei.com> References: <20220125072149.56604-1-huangguangbin2@huawei.com> <20220125072149.56604-3-huangguangbin2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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?