net: hns3: add support to query tqps number
authorPeng Li <lipeng321@huawei.com>
Fri, 22 Dec 2017 04:21:40 +0000 (12:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Dec 2017 15:40:10 +0000 (10:40 -0500)
commit482d2e9c1cc7c0e154464e3e052db09e5e62541f
tree227314fa34978ac3c759d6bd56410edf3a34ef4f
parent214bb1c78a4dd94ba748f1707ecc70041abe1fd3
net: hns3: add support to query tqps number

This patch adds the support to query tqps number for PF driver
by using ehtool -l command.

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/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c