Re: [PATCH V2 net-next 01/17] net: hns3: add support to query tqps number

2017-12-19 Thread lipeng (Y)
On 2017/12/20 3:16, David Miller wrote: From: Lipeng Date: Tue, 19 Dec 2017 12:02:23 +0800 @@ -5002,6 +5002,26 @@ static void hclge_uninit_ae_dev(struct hnae3_ae_dev *ae_dev) ae_dev->priv = NULL; } +static u32 hclge_get_max_channels(struct hnae3_handle

Re: [PATCH V2 net-next 01/17] net: hns3: add support to query tqps number

2017-12-19 Thread David Miller
From: Lipeng Date: Tue, 19 Dec 2017 12:02:23 +0800 > @@ -5002,6 +5002,26 @@ static void hclge_uninit_ae_dev(struct hnae3_ae_dev > *ae_dev) > ae_dev->priv = NULL; > } > > +static u32 hclge_get_max_channels(struct hnae3_handle *handle) > +{ > + struct

[PATCH V2 net-next 01/17] net: hns3: add support to query tqps number

2017-12-18 Thread Lipeng
This patch adds the support to query tqps number for PF driver by using ehtool -l command. Signed-off-by: qumingguang Signed-off-by: Lipeng --- drivers/net/ethernet/hisilicon/hns3/hnae3.h | 2 ++