]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: hns: set-coalesce-usecs returns errno by dsaf.ko
authorLisheng <lisheng011@huawei.com>
Mon, 28 Mar 2016 10:40:57 +0000 (18:40 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Mar 2016 15:39:16 +0000 (11:39 -0400)
commit9832ce4c0bb90e4dcedf4280947341b1eb6728e6
tree9bf472819f1ded8315787852c97ab2e3afafe50c
parent43adc067c5a070a5ef97d0c25e33df19c4481484
net: hns: set-coalesce-usecs returns errno by dsaf.ko

It may fail to set coalesce usecs to HW, and Ethtool needs to know if it
is successful to cfg the parameter or not. So it needs return the errno by
dsaf.ko.

Signed-off-by: Lisheng <lisheng011@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hnae.h
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c