[1/4] net/hns3: fix a typo

Message ID 20231018013938.3830742-2-haijie1@huawei.com (mailing list archive)
State Superseded, archived
Delegated to: Ferruh Yigit
Headers
Series add telemetry commands for TM capabilities |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Jie Hai Oct. 18, 2023, 1:39 a.m. UTC
  This patch fixes a typo.

Fixes: c09c7847d892 ("net/hns3: support traffic management")
Cc: stable@dpdk.org

Signed-off-by: Jie Hai <haijie1@huawei.com>
---
 drivers/net/hns3/hns3_tm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

lihuisong (C) Oct. 18, 2023, 11:32 a.m. UTC | #1
hns3 patch can be stripped from this series.
ltgm,
Acked-by: Huisong Li <lihuisong@huawei.com>


在 2023/10/18 9:39, Jie Hai 写道:
> This patch fixes a typo.
>
> Fixes: c09c7847d892 ("net/hns3: support traffic management")
> Cc: stable@dpdk.org
>
> Signed-off-by: Jie Hai <haijie1@huawei.com>
> ---
>   drivers/net/hns3/hns3_tm.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/hns3/hns3_tm.c b/drivers/net/hns3/hns3_tm.c
> index 67402a700f46..d9691640140b 100644
> --- a/drivers/net/hns3/hns3_tm.c
> +++ b/drivers/net/hns3/hns3_tm.c
> @@ -739,7 +739,7 @@ hns3_tm_node_type_get(struct rte_eth_dev *dev, uint32_t node_id,
>   }
>   
>   static void
> -hns3_tm_nonleaf_level_capsbilities_get(struct rte_eth_dev *dev,
> +hns3_tm_nonleaf_level_capabilities_get(struct rte_eth_dev *dev,
>   				       uint32_t level_id,
>   				       struct rte_tm_level_capabilities *cap)
>   {
> @@ -818,7 +818,7 @@ hns3_tm_level_capabilities_get(struct rte_eth_dev *dev,
>   	memset(cap, 0, sizeof(struct rte_tm_level_capabilities));
>   
>   	if (level_id != HNS3_TM_NODE_LEVEL_QUEUE)
> -		hns3_tm_nonleaf_level_capsbilities_get(dev, level_id, cap);
> +		hns3_tm_nonleaf_level_capabilities_get(dev, level_id, cap);
>   	else
>   		hns3_tm_leaf_level_capabilities_get(dev, cap);
>
  
Jie Hai Oct. 27, 2023, 6:20 a.m. UTC | #2
@all
The patch "[PATCH 1/4] net/hns3: fix a typo" has been moved to patchset
"[0/8] net/hns3: add some bugfix for hns3", see

https://patches.dpdk.org/project/dpdk/cover/20231027060947.3183983-1-haijie1@huawei.com/

On 2023/10/18 19:32, lihuisong (C) wrote:
> hns3 patch can be stripped from this series.
> ltgm,
> Acked-by: Huisong Li <lihuisong@huawei.com>
> 
> 
> 在 2023/10/18 9:39, Jie Hai 写道:
>> This patch fixes a typo.
>>
>> Fixes: c09c7847d892 ("net/hns3: support traffic management")
>> Cc: stable@dpdk.org
>>
>> Signed-off-by: Jie Hai <haijie1@huawei.com>
>> ---
>>   drivers/net/hns3/hns3_tm.c | 4 ++--
>>   1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/net/hns3/hns3_tm.c b/drivers/net/hns3/hns3_tm.c
>> index 67402a700f46..d9691640140b 100644
>> --- a/drivers/net/hns3/hns3_tm.c
>> +++ b/drivers/net/hns3/hns3_tm.c
>> @@ -739,7 +739,7 @@ hns3_tm_node_type_get(struct rte_eth_dev *dev, 
>> uint32_t node_id,
>>   }
>>   static void
>> -hns3_tm_nonleaf_level_capsbilities_get(struct rte_eth_dev *dev,
>> +hns3_tm_nonleaf_level_capabilities_get(struct rte_eth_dev *dev,
>>                          uint32_t level_id,
>>                          struct rte_tm_level_capabilities *cap)
>>   {
>> @@ -818,7 +818,7 @@ hns3_tm_level_capabilities_get(struct rte_eth_dev 
>> *dev,
>>       memset(cap, 0, sizeof(struct rte_tm_level_capabilities));
>>       if (level_id != HNS3_TM_NODE_LEVEL_QUEUE)
>> -        hns3_tm_nonleaf_level_capsbilities_get(dev, level_id, cap);
>> +        hns3_tm_nonleaf_level_capabilities_get(dev, level_id, cap);
>>       else
>>           hns3_tm_leaf_level_capabilities_get(dev, cap);
> .
  

Patch

diff --git a/drivers/net/hns3/hns3_tm.c b/drivers/net/hns3/hns3_tm.c
index 67402a700f46..d9691640140b 100644
--- a/drivers/net/hns3/hns3_tm.c
+++ b/drivers/net/hns3/hns3_tm.c
@@ -739,7 +739,7 @@  hns3_tm_node_type_get(struct rte_eth_dev *dev, uint32_t node_id,
 }
 
 static void
-hns3_tm_nonleaf_level_capsbilities_get(struct rte_eth_dev *dev,
+hns3_tm_nonleaf_level_capabilities_get(struct rte_eth_dev *dev,
 				       uint32_t level_id,
 				       struct rte_tm_level_capabilities *cap)
 {
@@ -818,7 +818,7 @@  hns3_tm_level_capabilities_get(struct rte_eth_dev *dev,
 	memset(cap, 0, sizeof(struct rte_tm_level_capabilities));
 
 	if (level_id != HNS3_TM_NODE_LEVEL_QUEUE)
-		hns3_tm_nonleaf_level_capsbilities_get(dev, level_id, cap);
+		hns3_tm_nonleaf_level_capabilities_get(dev, level_id, cap);
 	else
 		hns3_tm_leaf_level_capabilities_get(dev, cap);