]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: fixes the issue by using ethtool -s
authorChenny Xu <chenny.xu@huawei.com>
Fri, 16 Oct 2015 09:03:19 +0000 (17:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Oct 2015 02:57:06 +0000 (19:57 -0700)
commitfa66566d3db525d7ef57652eaf776a4403ce7a34
treec366649ba72202979a7bea8f6e0662df1cb8669d
parentd11b5a0664914a6887b8e3fe7235af4ee246478e
net: hns: fixes the issue by using ethtool -s

  before this patch, hns driver only permits user to set the net device
by using ethtool -s when the device is link up. it is obviously not so
good. it needs to be set no matter it is link up or down. so this patch
fixes this issue.

Signed-off-by: yankejian <yankejian@huawei.com>
Signed-off-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: lisheng <lisheng011@huawei.com>
Signed-off-by: lipeng <lipeng321@huawei.com>
Signed-off-by: Chenny Xu <chenny.xu@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c