git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bed70e5
)
ethdev: expand queue threshold size of RED parameters
author
Rosen Xu
<rosen.xu@intel.com>
Thu, 16 Aug 2018 01:14:16 +0000
(09:14 +0800)
committer
Cristian Dumitrescu
<cristian.dumitrescu@intel.com>
Mon, 8 Oct 2018 15:51:54 +0000
(17:51 +0200)
There's very commonly that more than 4G DDR memory in NIC for HQoS,
so right now the queue threshold size of RED needs to expand to
uint64_t. This patch fixes it.
Signed-off-by: Rosen Xu <rosen.xu@intel.com>
lib/librte_ethdev/rte_tm.h
patch
|
blob
|
history
diff --git
a/lib/librte_ethdev/rte_tm.h
b/lib/librte_ethdev/rte_tm.h
index
955f02f
..
646ef38
100644
(file)
--- a/
lib/librte_ethdev/rte_tm.h
+++ b/
lib/librte_ethdev/rte_tm.h
@@
-831,10
+831,10
@@
enum rte_tm_cman_mode {
*/
struct rte_tm_red_params {
/** Minimum queue threshold */
- uint
32
_t min_th;
+ uint
64
_t min_th;
/** Maximum queue threshold */
- uint
32
_t max_th;
+ uint
64
_t max_th;
/** Inverse of packet marking probability maximum value (maxp), i.e.
* maxp_inv = 1 / maxp