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

2017-12-19 Thread lipeng (Y)
On 2017/12/20 3:18, David Miller wrote: From: Lipeng Date: Tue, 19 Dec 2017 12:02:24 +0800 @@ -2651,6 +2651,19 @@ static int hns3_get_ring_config(struct hns3_nic_priv *priv) return ret; } +static void hns3_put_ring_config(struct hns3_nic_priv *priv) +{ + struct hnae3_han

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

2017-12-19 Thread David Miller
From: Lipeng Date: Tue, 19 Dec 2017 12:02:24 +0800 > @@ -2651,6 +2651,19 @@ static int hns3_get_ring_config(struct hns3_nic_priv > *priv) > return ret; > } > > +static void hns3_put_ring_config(struct hns3_nic_priv *priv) > +{ > + struct hnae3_handle *h = priv->ae_handle; > + u1