]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: change the returned tqp number by ethtool -x
authorPeng Li <lipeng321@huawei.com>
Fri, 22 Dec 2017 04:21:42 +0000 (12:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Dec 2017 15:40:30 +0000 (10:40 -0500)
commit4664af9851d543f126a82044149b5cc2853e0508
treed18509a288e024de035a3c741f1a26668a2205df
parent29eca66493c636cb70fae30da916f76c8ae38a2d
net: hns3: change the returned tqp number by ethtool -x

This patch modifies the return data of get_rxnfc, it will return
the current handle's rss_size but not the total tqp number.
because the tc_size has been change to the log2 of roundup
power of two of rss_size.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Mingguang Qu <qumingguang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c