Re: [PATCH net 06/10] net: hns: fix return value of the function about rss

2016-03-21 Thread Yisen Zhuang
在 2016/3/21 23:42, David Miller 写道: > From: Yisen Zhuang > Date: Mon, 21 Mar 2016 19:06:37 +0800 > >> diff --git a/drivers/net/ethernet/hisilicon/hns/hns_ethtool.c >> b/drivers/net/ethernet/hisilicon/hns/hns_ethtool.c >> index 3c4a3bc..f3a5e05 100644 >> --- a/drivers/net/ethernet/hisilicon/hns

Re: [PATCH net 06/10] net: hns: fix return value of the function about rss

2016-03-21 Thread David Miller
From: Yisen Zhuang Date: Mon, 21 Mar 2016 19:06:37 +0800 > diff --git a/drivers/net/ethernet/hisilicon/hns/hns_ethtool.c > b/drivers/net/ethernet/hisilicon/hns/hns_ethtool.c > index 3c4a3bc..f3a5e05 100644 > --- a/drivers/net/ethernet/hisilicon/hns/hns_ethtool.c > +++ b/drivers/net/ethernet/hisi

[PATCH net 06/10] net: hns: fix return value of the function about rss

2016-03-21 Thread Yisen Zhuang
From: Kejian Yan Both .get_rxfh and .get_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 Signed-off-by: Yisen Zhuang Reviewed-by: Andy Shevchenko --- drivers/net/e