Re: [patch net 1/2] net: hns: fix return value of the function about rss

2016-03-10 Thread Yankejian (Hackim Yim)
On 2016/3/10 16:11, Andy Shevchenko wrote: > On Thu, 2016-03-10 at 10:16 +0800, Kejian Yan wrote: >> 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. >> > @@ -

Re: [patch net 1/2] net: hns: fix return value of the function about rss

2016-03-10 Thread Andy Shevchenko
On Thu, 2016-03-10 at 10:16 +0800, Kejian Yan wrote: > 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. > @@ -1213,7 +1213,7 @@ hns_get_rss(struct net_device *netd

[patch net 1/2] net: hns: fix return value of the function about rss

2016-03-09 Thread 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 --- drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 2 +- drivers/net/ethernet/hisilicon/hn