]> git.baikalelectronics.ru Git - kernel.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)
commitc82474c69868c14899a86a3e6ef1cf0d729f23bb
tree9bf472819f1ded8315787852c97ab2e3afafe50c
parent553bf439723622e71c34208df66e3d5ad4c55b9b
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