diff options
author | Peng Li <lipeng321@huawei.com> | 2017-12-22 12:21:40 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-27 10:40:10 -0500 |
commit | 482d2e9c1cc7c0e154464e3e052db09e5e62541f (patch) | |
tree | 227314fa34978ac3c759d6bd56410edf3a34ef4f /drivers/net/ethernet/hisilicon/hns3/hnae3.h | |
parent | 214bb1c78a4dd94ba748f1707ecc70041abe1fd3 (diff) | |
download | lwn-482d2e9c1cc7c0e154464e3e052db09e5e62541f.tar.gz lwn-482d2e9c1cc7c0e154464e3e052db09e5e62541f.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hnae3.h')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hnae3.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hnae3.h b/drivers/net/ethernet/hisilicon/hns3/hnae3.h index a9e2b32834c5..d8877215723d 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hnae3.h +++ b/drivers/net/ethernet/hisilicon/hns3/hnae3.h @@ -386,6 +386,8 @@ struct hnae3_ae_ops { u16 vlan, u8 qos, __be16 proto); void (*reset_event)(struct hnae3_handle *handle, enum hnae3_reset_type reset); + void (*get_channels)(struct hnae3_handle *handle, + struct ethtool_channels *ch); }; struct hnae3_dcb_ops { |