Skip to content

Commit

Permalink
net/hns3: fix typo in function name
Browse files Browse the repository at this point in the history
[ upstream commit 28ad38dd7403d64b3c0aa6dfd33e314bdce276c6 ]

This patch fixes a typo.

Fixes: c09c784 ("net/hns3: support traffic management")

Signed-off-by: Jie Hai <haijie1@huawei.com>
Acked-by: Huisong Li <lihuisong@huawei.com>
Acked-by: Chengwen Feng <fengchengwen@huawei.com>
  • Loading branch information
Jie Hai authored and kevintraynor committed Nov 15, 2023
1 parent 0aaa1f6 commit 79ee20d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/hns3/hns3_tm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 79ee20d

Please sign in to comment.