]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: add support for set_ringparam
authorLipeng <lipeng321@huawei.com>
Tue, 10 Oct 2017 08:42:04 +0000 (16:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Oct 2017 20:09:13 +0000 (13:09 -0700)
commit90f79e9e365b85f27d32b5ab045900ce7f77a46d
tree779e83596980bef26641516621ba948870732272
parentb629b347df599dbf2f5a549fad693f7809c9500d
net: hns3: add support for set_ringparam

This patch supports the ethtool's set_ringparam().

Signed-off-by: Lipeng <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c