]> 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)
commitb23079eafa983bf9745838d1e0f335bc312a0323
tree9bf472819f1ded8315787852c97ab2e3afafe50c
parent734fe7123ca3539f2376005f13dab0acad435f55
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