git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
common/mlx5: fix default devargs initialization
[dpdk.git]
/
drivers
/
net
/
i40e
/
i40e_tm.c
diff --git
a/drivers/net/i40e/i40e_tm.c
b/drivers/net/i40e/i40e_tm.c
index
5d722f9
..
cab296e
100644
(file)
--- a/
drivers/net/i40e/i40e_tm.c
+++ b/
drivers/net/i40e/i40e_tm.c
@@
-554,7
+554,7
@@
i40e_node_add(struct rte_eth_dev *dev, uint32_t node_id,
}
/* check level */
if (level_id != RTE_TM_NODE_LEVEL_ID_ANY &&
- level_id != parent_node_type + 1) {
+ level_id !=
(uint32_t)
parent_node_type + 1) {
error->type = RTE_TM_ERROR_TYPE_NODE_PARAMS;
error->message = "Wrong level";
return -EINVAL;