]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: fix return value of the function about rss
authorKejian Yan <yankejian@huawei.com>
Tue, 22 Mar 2016 08:06:27 +0000 (16:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Mar 2016 19:45:58 +0000 (15:45 -0400)
commit954177247e1ab71721daa9f9419dbc3c9448ad91
treee650ffc314007ed4c22c64223fe31b2571c07ad3
parent7aaf1d1317194b94911092219f04de5c10d04927
net: hns: fix return value of the function about rss

Both .get_rxfh and .set_rxfh are always return 0, it should return result
from hardware when getting or setting rss. And the rss function should
return the correct data type.

Signed-off-by: Kejian Yan <yankejian@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/hns_ae_adapt.c
drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c