In rte_sched_subport_config() API, subport_profile_id is not set correctly.
Fixes: ac6fcb841b0f ("sched: update subport rate dynamically")
Cc: cristian.dumitre...@intel.com
Signed-off-by: Megha Ajmera
Acked by: Dumitrescu, Cristian
---
lib/sched/rte_sched.c | 2 --
1 file changed, 2
Removed unused subport field from profile.cfg
Correctly using subport profile id in subport config load.
Fixes: 802d214dc880 ("examples/qos_sched: update subport rate dynamically")
Cc: sta...@dpdk.org
Signed-off-by: Megha Ajmera
Acked-by: Cristian Dumitrescu
---
examples/qos_sched/
Config load functions updated to support 100G rates
for subport and pipes.
Signed-off-by: Megha Ajmera
---
examples/qos_sched/cfg_file.c | 294 ++
1 file changed, 230 insertions(+), 64 deletions(-)
diff --git a/examples/qos_sched/cfg_file.c b/examples/qos_sched
In rte_sched_subport_config() API, subport_profile_id is not set correctly.
Fixes: ac6fcb841b0f ("sched: update subport rate dynamically")
Cc: cristian.dumitre...@intel.com
Signed-off-by: Megha Ajmera
Acked-by: Dumitrescu, Cristian
---
lib/sched/rte_sched.c | 2 --
1 file changed, 2
Config load functions updated to support 100G rates
for subport and pipes.
Added new parse function to convert string to unsigned
long long.
Added error checks.
Signed-off-by: Megha Ajmera
---
examples/qos_sched/cfg_file.c | 180 +-
examples/qos_sched/cfg_file.h
Removed unused subport field from profile.cfg
Correctly using subport profile id in subport config load.
Fixes: 802d214dc880 ("examples/qos_sched: update subport rate dynamically")
Cc: sta...@dpdk.org
Signed-off-by: Megha Ajmera
Acked-by: Cristian Dumitrescu
---
examples/qos_sched/
In rte_sched_subport_config() API, subport_profile_id is not set correctly.
Fixes: ac6fcb841b0f ("sched: update subport rate dynamically")
Cc: cristian.dumitre...@intel.com
Signed-off-by: Megha Ajmera
Acked-by: Dumitrescu, Cristian
---
lib/sched/rte_sched.c | 2 --
1 file changed, 2
Removed unused subport field from profile.cfg
Correctly using subport profile id in subport config load.
Fixes: 802d214dc880 ("examples/qos_sched: update subport rate dynamically")
Cc: sta...@dpdk.org
Signed-off-by: Megha Ajmera
Acked-by: Cristian Dumitrescu
---
examples/qos_sched/
- Config load functions updated to support 100G rates
for subport and pipes.
- Added new parse function to convert string to unsigned
long long.
- Added error checks.
- Fixed format warnings.
Signed-off-by: Megha Ajmera
---
examples/qos_sched/cfg_file.c | 179
_ov_enabled variable in subport structure.
Fixes: f5e60154ade ("sched: enable traffic class oversubscription
conditionally")
Signed-off-by: Megha Ajmera
Acked-by: Cristian Dumitrescu
---
lib/sched/rte_sched.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib
Cleanup of sched config options those are by-default not defined.
Signed-off-by: Megha Ajmera
Acked-by: Cristian Dumitrescu
---
config/rte_config.h | 7 ---
lib/sched/rte_sched.c | 4
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/config/rte_config.h b/config
Cleanup of sched config options those are by-default not defined.
Signed-off-by: Megha Ajmera
Acked-by: Cristian Dumitrescu
---
config/rte_config.h| 7 ---
doc/guides/sample_app_ug/qos_scheduler.rst | 3 +--
lib/sched/rte_sched.c | 4
3
In rte_sched_subport_config() API, subport_profile_id is not set correctly.
Fixes: ac6fcb841b0f ("sched: update subport rate dynamically")
Cc: cristian.dumitre...@intel.com
Signed-off-by: Megha Ajmera
---
lib/sched/rte_sched.c | 2 --
1 file changed, 2 deletions(-)
diff --git a
Removed ununsed subport field from profile.cfg
Correctly using subport profile id in subport config load.
Fixes: 802d214dc880 ("examples/qos_sched: update subport rate dynamically")
Cc: cristian.dumitre...@intel.com
Signed-off-by: Megha Ajmera
---
examples/qos_sched/cfg_f
Removed unused subport field from profile.cfg
Correctly using subport profile id in subport config load.
Fixes: 802d214dc880 ("examples/qos_sched: update subport rate dynamically")
Cc: cristian.dumitre...@intel.com
Signed-off-by: Megha Ajmera
---
examples/qos_sched/cfg_file.c | 2 +-
In rte_sched_subport_config() API, subport_profile_id is not set correctly.
Fixes: ac6fcb841b0f ("sched: update subport rate dynamically")
Cc: cristian.dumitre...@intel.com
Signed-off-by: Megha Ajmera
---
lib/sched/rte_sched.c | 2 --
1 file changed, 2 deletions(-)
diff --git a
Removed unused subport field from profile.cfg
Correctly using subport profile id in subport config load.
Fixes: 802d214dc880 ("examples/qos_sched: update subport rate dynamically")
Cc: cristian.dumitre...@intel.com
Signed-off-by: Megha Ajmera
---
examples/qos_sched/cfg_file.c | 2 +-
Config load functions updated to support 100G rates
for subport and pipes.
Signed-off-by: Megha Ajmera
---
examples/qos_sched/cfg_file.c | 64 +--
1 file changed, 32 insertions(+), 32 deletions(-)
diff --git a/examples/qos_sched/cfg_file.c b/examples/qos_sched
This issue is happening due to non-initialization of some
fields in “rte_eth_rxconf” structure in our application.
Doing a memset to zero before initialization in HQoS application.
Signed-off-by: Megha Ajmera
---
examples/qos_sched/init.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a
Current position of "tv_ov_enable" variable in
rte_sched_subport structure makes the "memory" variable unused.
Fixes: f5e60154ade ("sched: enable traffic class oversubscription
conditionally")
CC: marcinx.danilew...@intel.com
Signed-off-by: Megha Ajmera
---
lib/
From: Megha Ajmera
---
examples/qos_sched/profile.cfg | 2 --
1 file changed, 2 deletions(-)
diff --git a/examples/qos_sched/profile.cfg b/examples/qos_sched/profile.cfg
index d4b21c0170..8da5777538 100644
--- a/examples/qos_sched/profile.cfg
+++ b/examples/qos_sched/profile.cfg
@@ -26,8 +26,6
In rte_sched_subport_config() API, subport_profile_id is not set correctly.
Signed-off-by: Megha Ajmera
---
lib/sched/rte_sched.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
index 599c7e9536..09f855a04b 100644
--- a/lib/sched/rte_sched.c
Signed-off-by: Megha Ajmera
---
examples/qos_sched/profile.cfg | 2 --
1 file changed, 2 deletions(-)
diff --git a/examples/qos_sched/profile.cfg b/examples/qos_sched/profile.cfg
index d4b21c0170..8da5777538 100644
--- a/examples/qos_sched/profile.cfg
+++ b/examples/qos_sched/profile.cfg
Currently in hqos tc rates, tb sizes can be configured upto 25G.
Signed-off-by: Megha Ajmera
---
examples/qos_sched/cfg_file.c | 64 +--
1 file changed, 32 insertions(+), 32 deletions(-)
diff --git a/examples/qos_sched/cfg_file.c b/examples/qos_sched/cfg_file.c
---
examples/qos_sched/profile.cfg | 2 --
1 file changed, 2 deletions(-)
diff --git a/examples/qos_sched/profile.cfg b/examples/qos_sched/profile.cfg
index d4b21c0170..8da5777538 100644
--- a/examples/qos_sched/profile.cfg
+++ b/examples/qos_sched/profile.cfg
@@ -26,8 +26,6 @@ number of subports
---
lib/sched/rte_sched.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
index 599c7e9536..09f855a04b 100644
--- a/lib/sched/rte_sched.c
+++ b/lib/sched/rte_sched.c
@@ -1263,8 +1263,6 @@ rte_sched_subport_config(struct rte_sched_port *port,
---
examples/qos_sched/cfg_file.c | 66 +--
1 file changed, 33 insertions(+), 33 deletions(-)
diff --git a/examples/qos_sched/cfg_file.c b/examples/qos_sched/cfg_file.c
index 450482f07d..fe0b42b023 100644
--- a/examples/qos_sched/cfg_file.c
+++ b/examples/qos_sched
v1:
* Removed unused HQoS #defines from rte_config.
* Enabled stats in HQoS by default.
* TC subscription for best effort queues is always enabled in HQoS library.
* VECTOR defines are removed from HQoS library.
Megha Ajmera (4):
sched: Cleanup qos scheduler defines from rte_config
sched
Cleanup of sched config options those are by-default not defined.
Signed-off-by: Megha Ajmera
Acked-by: Cristian Dumitrescu
---
config/rte_config.h| 7 ---
doc/guides/sample_app_ug/qos_scheduler.rst | 3 +--
lib/sched/rte_sched.c | 4
3
Removed "RTE_SCHED_COLLECT_STATS" flag from HQoS.
Signed-off-by: Megha Ajmera
---
lib/sched/rte_sched.c | 12
1 file changed, 12 deletions(-)
diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
index 6c3e3bb0bf..6f2d85edc0 100644
--- a/lib/sched/rte_sched.c
+++ b
Removed "RTE_SCHED_SUBPORT_TC_OV" flag from HQoS.
Signed-off-by: Megha Ajmera
---
lib/sched/rte_sched.c | 91 ---
1 file changed, 91 deletions(-)
diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
index 6f2d85edc0..807134b48d 100644
Removed "RTE_SCHED_VECTOR" flag from HQoS.
Signed-off-by: Megha Ajmera
---
lib/sched/rte_sched.c | 53 ---
1 file changed, 53 deletions(-)
diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
index 807134b48d..8ad5ca7e05 100644
--- a
from the code.
Stats collection is now always enabled.
* RTE_SCHED_SUBPORT_TC_OV flag is removed.
TC subscription for best effort queues is always enabled in HQoS library.
* RTE_SCHED_VECTOR flag is removed from HQoS library as the code under this
flag is no longer useful.
Megha Ajmera (4
Cleanup of sched config options those are by-default not defined.
Signed-off-by: Megha Ajmera
Acked-by: Cristian Dumitrescu
---
config/rte_config.h| 8 ++--
doc/guides/sample_app_ug/qos_scheduler.rst | 3 +--
lib/sched/rte_sched.c | 4
3
Removed "RTE_SCHED_COLLECT_STATS" flag from HQoS.
Signed-off-by: Megha Ajmera
---
lib/sched/rte_sched.c | 12
1 file changed, 12 deletions(-)
diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
index 6c3e3bb0bf..6f2d85edc0 100644
--- a/lib/sched/rte_sched.c
+++ b
Removed "RTE_SCHED_SUBPORT_TC_OV" flag from HQoS.
Signed-off-by: Megha Ajmera
---
lib/sched/rte_sched.c | 91 ---
1 file changed, 91 deletions(-)
diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
index 6f2d85edc0..807134b48d 100644
Removed "RTE_SCHED_VECTOR" flag from HQoS.
Signed-off-by: Megha Ajmera
---
lib/sched/rte_sched.c | 53 ---
1 file changed, 53 deletions(-)
diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
index 807134b48d..8ad5ca7e05 100644
--- a
the code under this
flag is no longer useful. Only scalar version is supported.
* Rebased with latest main branch code.
Megha Ajmera (4):
sched: remove code no longer needed
sched: move grinder configuration flag
sched: enable statistics unconditionally
sched: enable traffic class
Remove RTE_SCHED_VECTOR flag from rte_config.h.
This flag is no longer useful. Only scalar version is supported.
Signed-off-by: Megha Ajmera
---
config/arm/meson.build | 1 -
config/rte_config.h| 1 -
lib/sched/rte_sched.c | 54 --
3 files changed
Grinder configuration is now moved to sched library.
Number of grinders can also modified by specifying
RTE_SCHED_PORT_N_GRINDERS=N in CFLAGS, where N is number of grinders.
Signed-off-by: Megha Ajmera
---
config/rte_config.h| 1 -
doc/guides/sample_app_ug
Removed RTE_SCHED_COLLECT_STATS flag from rte_config.h.
Stats collection is always enabled.
Signed-off-by: Megha Ajmera
---
config/rte_config.h| 1 -
doc/guides/sample_app_ug/qos_scheduler.rst | 6 --
lib/sched/rte_sched.c | 12
3
Removed RTE_SCHED_SUBPORT_TC_OV from rte_config.h.
Best effort traffic class oversubscription is always enabled.
Signed-off-by: Megha Ajmera
---
config/rte_config.h | 1 -
drivers/net/softnic/rte_eth_softnic_tm.c | 18 -
examples/qos_sched/init.c| 2
arithmetic,
and then used in a context that expects an expression of type "uint64_t"
(64 bits, unsigned).
Coverity issue: 375859
Signed-off-by: Megha Ajmera
---
examples/qos_sched/args.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/qos_sched/args
arithmetic, and then used in a context that expects an expression of
type "uint64_t" (64 bits, unsigned).
Coverity issue: 375859
Signed-off-by: Megha Ajmera
---
examples/qos_sched/args.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/examples/qos_sched/args
Added new API to enable or disable TC over subscription for best
effort traffic class at subport level.
By default TC OV is disabled for subport.
Signed-off-by: Megha Ajmera
---
lib/sched/rte_sched.c | 182 +++---
lib/sched/rte_sched.h | 18 +
lib/sched
This reverts commit d91c4b1bb5a938734fe8e66da8f965304919f38e.
When enabling TC OV unconditionally, it is observed the performance
drops by ~20% hence reverting this commit.
Signed-off-by: Megha Ajmera
---
config/rte_config.h | 1 +
drivers/net/softnic/rte_eth_softnic_tm.c
This reverts commit d91c4b1bb5a938734fe8e66da8f965304919f38e.
When enabling TC OV unconditionally, it is observed the performance
drops by ~20% hence reverting this commit.
Fixes: d91c4b1bb5a9 ("sched: enable traffic class oversubscription
unconditionally")
Signed-off-by: Me
wrr tokens getting truncated to uint8_t in wrr_store function() due to
type mismatch. This patch chnages the data type to uint16_t.
Fixes: e16b06da0908 ("sched: remove WRR from strict priority TC queues")
Signed-off-by: Megha Ajmera
---
lib/sched/rte_sched.c | 2 +-
1 file changed, 1
48 matches
Mail list logo