diff options
| author | root <[email protected]> | 2024-01-09 08:20:21 +0000 |
|---|---|---|
| committer | root <[email protected]> | 2024-01-09 08:20:21 +0000 |
| commit | 5f4d71b683d3d460bb0785a9426a4f12c81d99c9 (patch) | |
| tree | ad90f13e0866045d6a7afe5aa45f5ecad71b1c9d /shaping/include | |
| parent | 7c599b8c88ecc009651062eddbff0b07909b8928 (diff) | |
TSG-18176:对于一个session,当同一个profile多次作为primary profile出现时,按规则匹配顺序,只执行匹配的第一条rule,使用被执行的rule配置的fair-factor。
当同一个profile作为borrow多次出现时,暂时忽略此情况不处理
Diffstat (limited to 'shaping/include')
| -rw-r--r-- | shaping/include/shaper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shaping/include/shaper.h b/shaping/include/shaper.h index 33eb103..b7741a3 100644 --- a/shaping/include/shaper.h +++ b/shaping/include/shaper.h @@ -113,6 +113,7 @@ struct shaping_rule_info { int vsys_id; int id;//rule_id int fair_factor; + int has_dup_profile; struct shaping_profile_info primary; struct shaping_profile_info borrowing[SHAPING_REF_PROFILE_NUM_MAX]; int borrowing_num; |
