diff options
author | Peng Li <lipeng321@huawei.com> | 2017-12-22 12:21:41 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-27 10:40:20 -0500 |
commit | 09f2af6405b8cd4b2d91ec88188df6f06da38853 (patch) | |
tree | a62ddc49fcde4d8becfb76918243cfeb2fbf5220 /drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | |
parent | 482d2e9c1cc7c0e154464e3e052db09e5e62541f (diff) | |
download | lwn-09f2af6405b8cd4b2d91ec88188df6f06da38853.tar.gz lwn-09f2af6405b8cd4b2d91ec88188df6f06da38853.zip |
net: hns3: add support to modify tqps number
This patch adds the support to change tqps number for PF driver
by using ehtool -L command.
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Mingguang Qu <qumingguang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c b/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c index 23af36c21568..1b2d79bf1fd2 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c @@ -893,6 +893,7 @@ static const struct ethtool_ops hns3_ethtool_ops = { .set_link_ksettings = hns3_set_link_ksettings, .nway_reset = hns3_nway_reset, .get_channels = hns3_get_channels, + .set_channels = hns3_set_channels, }; void hns3_ethtool_set_ops(struct net_device *netdev) |