OSDN Git Service

net: hns3: fix the ring count for ETHTOOL_GRXRINGS
authorLipeng <lipeng321@huawei.com>
Tue, 10 Oct 2017 08:42:07 +0000 (16:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Oct 2017 20:09:14 +0000 (13:09 -0700)
commitabf11d04fd9dbec778219d76a9d38c36f65fbc24
treecbc1ceb7371bd0b2360a09d7154293f3c9e1ec78
parent07d2995425eb8eb4874b94bf62fb1490a2014d76
net: hns3: fix the ring count for ETHTOOL_GRXRINGS

This patch fix the ring count for ETHTOOL_GRXRINGS. Ring count
not TC size should be return for command "ethtool -n ethx".

Signed-off-by: Lipeng <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_ethtool.c