]> asedeno.scripts.mit.edu Git - linux.git/commit
net: hns: Correct HNS RSS key set function
authorlipeng <lipeng321@huawei.com>
Sat, 1 Apr 2017 11:03:39 +0000 (12:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Apr 2017 21:48:43 +0000 (14:48 -0700)
commit64ec10dc2ab8ef5bc6e76b1d4bc8203c08a6da1e
treedbd83f5a3b7e7826f4fa4c8b1f071b9e7b37d4e5
parentf2aaed557ecff57f7523f889acf1981fb23c4047
net: hns: Correct HNS RSS key set function

This patch fixes below ethtool configuration error:

localhost:~ # ethtool -X eth0 hkey XX:XX:XX...
Cannot set Rx flow hash configuration: Operation not supported

Signed-off-by: lipeng <lipeng321@huawei.com>
Reviewed-by: Yisen Zhuang <yisen.zhuang@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@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_ethtool.c