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
net/hns3: remove redundant RSS tuple field
[dpdk.git]
/
drivers
/
net
/
hns3
/
hns3_tm.h
diff --git
a/drivers/net/hns3/hns3_tm.h
b/drivers/net/hns3/hns3_tm.h
index
9ccbb22
..
83e9cc8
100644
(file)
--- a/
drivers/net/hns3/hns3_tm.h
+++ b/
drivers/net/hns3/hns3_tm.h
@@
-1,5
+1,5
@@
/* SPDX-License-Identifier: BSD-3-Clause
/* SPDX-License-Identifier: BSD-3-Clause
- * Copyright(c) 2020-202
0
HiSilicon Limited.
+ * Copyright(c) 2020-202
1
HiSilicon Limited.
*/
#ifndef _HNS3_TM_H_
*/
#ifndef _HNS3_TM_H_
@@
-9,6
+9,18
@@
#include <rte_tailq.h>
#include <rte_tm_driver.h>
#include <rte_tailq.h>
#include <rte_tm_driver.h>
+struct hns3_port_limit_rate_cmd {
+ uint32_t speed; /* Unit Mbps */
+ uint32_t rsvd[5];
+};
+
+struct hns3_tc_limit_rate_cmd {
+ uint32_t speed; /* Unit Mbps */
+ uint8_t tc_id;
+ uint8_t rsvd[3];
+ uint32_t rsvd1[4];
+};
+
enum hns3_tm_node_type {
HNS3_TM_NODE_TYPE_PORT,
HNS3_TM_NODE_TYPE_TC,
enum hns3_tm_node_type {
HNS3_TM_NODE_TYPE_PORT,
HNS3_TM_NODE_TYPE_TC,