[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220315032108.57228-1-wangjie125@huawei.com>
Date: Tue, 15 Mar 2022 11:21:06 +0800
From: Jie Wang <wangjie125@...wei.com>
To: <mkubecek@...e.cz>, <davem@...emloft.net>, <kuba@...nel.org>,
<wangjie125@...wei.com>
CC: <netdev@...r.kernel.org>, <huangguangbin2@...wei.com>,
<lipeng321@...wei.com>, <shenjian15@...wei.com>,
<moyufeng@...wei.com>, <linyunsheng@...wei.com>,
<tanhuazhong@...wei.com>, <salil.mehta@...wei.com>,
<chenhao288@...ilicon.com>
Subject: [RFC net-next 0/2] add ethtool ops support for fresh device features
As Jakub Kicinski comment in patch:
https://lore.kernel.org/netdev/20220125195508.585b0c40@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net/
, there are no ethtool command similar to ethtool -k for features contained
entirely to the driver. Fresh device features such as tx push need this
kind of command to set/get feature attributes.
So this patch adds new ethtool command support for new features belongs to
the driver. The second patch adds hns3 support for this new command to
configure tx push feature. This command can be easily reused by other
features.
Comments are welcomed and i'm still testing this command.
Jie Wang (2):
net: ethtool: add ethtool ability to set/get fresh device features
net: hns3: add ethtool set/get device features support for hns3 driver
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 1 +
.../ethernet/hisilicon/hns3/hns3_ethtool.c | 77 +++++++++++++++++++
include/linux/ethtool.h | 4 +
include/uapi/linux/ethtool.h | 27 +++++++
net/ethtool/ioctl.c | 43 +++++++++++
5 files changed, 152 insertions(+)
--
2.33.0
Powered by blists - more mailing lists