[PATCH v3] sched: enable/disable TC OV at runtime

2022-05-24 Thread Marcin Danilewicz
Hi Megha, Marcin, > Yes, I agree this would be the ideal way to drive this change, but the > problem is that modifying the existing subport parameter structure would > represent an API change. This would require a deprecation notice, and the > patch would be blocked until 22.11 release. Are yo

[PATCH v4] sched: enable traffic class oversubscription conditionally

2022-05-24 Thread Marcin Danilewicz
Signed-off-by: Marcin Danilewicz --- lib/sched/rte_sched.c | 189 +++--- lib/sched/rte_sched.h | 18 lib/sched/version.map | 3 + 3 files changed, 178 insertions(+), 32 deletions(-) diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c index

[PATCH v4] sched: enable traffic class oversubscription conditionally

2022-05-24 Thread Marcin Danilewicz
Signed-off-by: Marcin Danilewicz --- lib/sched/rte_sched.c | 189 +++--- lib/sched/rte_sched.h | 18 lib/sched/version.map | 3 + 3 files changed, 178 insertions(+), 32 deletions(-) diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c index

[PATCH v5] sched: enable traffic class oversubscription conditionally

2022-05-26 Thread Marcin Danilewicz
Signed-off-by: Marcin Danilewicz --- lib/sched/rte_sched.c | 96 +-- lib/sched/rte_sched.h | 18 lib/sched/version.map | 3 ++ 3 files changed, 114 insertions(+), 3 deletions(-) diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c index

[PATCH v6] sched: enable traffic class oversubscription conditionally

2022-05-30 Thread Marcin Danilewicz
- v6 - removed rte_sched_subport_tc_ov_config declaration and map Signed-off-by: Marcin Danilewicz --- lib/sched/rte_sched.c | 96 +-- 1 file changed, 93 insertions(+), 3 deletions(-) diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c index

[PATCH v7] sched: enable traffic class oversubscription conditionally

2022-05-30 Thread Marcin Danilewicz
Added new flag to enable or disable TC oversubscription for best effort traffic class at subport level. By default TC OV is disabled. Signed-off-by: Marcin Danilewicz History: - v1 - TC OV disabled by default - v2 - throughput improvements - v3, v4, v5 - changes from comments - v6 - removed

[PATCH v8] sched: enable traffic class oversubscription conditionally

2022-05-30 Thread Marcin Danilewicz
Added new flag to enable or disable TC oversubscription for best effort traffic class at subport level. By default TC OV is disabled. Signed-off-by: Marcin Danilewicz --- History: - v1 - TC OV disabled by default - v2 - throughput improvements - v3, v4, v5 - changes from comments - v6 - removed

[PATCH v9] sched: enable traffic class oversubscription conditionally

2022-05-30 Thread Marcin Danilewicz
Added new API for flag to enable or disable TC oversubscription for best effort traffic class at subport level. By default TC OV is enabled. Signed-off-by: Marcin Danilewicz --- History: - v1 - TC OV disabled by default - v2 - throughput improvements - v3, v4, v5 - changes from comments - v6

[PATCH v10] sched: enable traffic class oversubscription conditionally

2022-05-31 Thread Marcin Danilewicz
Added new API for flag to enable or disable TC oversubscription for best effort traffic class at subport level. By default TC OV is enabled. Signed-off-by: Marcin Danilewicz --- History: - v1 - TC OV disabled by default - v2 - throughput improvements - v3, v4, v5 - changes from comments - v6

[PATCH v3] sched: enable CMAN at runtime

2022-06-08 Thread Marcin Danilewicz
Added changes to enable CMAN (RED or PIE) at init from profile configuration file. By default CMAN code is enable but not in use, when there is no RED or PIE profile configured. Signed-off-by: Marcin Danilewicz --- Log: v2 change in rte_sched.h to avoid ABI breakage. v3 changes from

[PATCH v4] sched: enable CMAN at runtime

2022-06-13 Thread Marcin Danilewicz
Added changes to enable CMAN (RED or PIE) at init from profile configuration file. By default CMAN code is enable but not in use, when there is no RED or PIE profile configured. Signed-off-by: Marcin Danilewicz --- Log: v2 change in rte_sched.h to avoid ABI breakage. v3 changes from

[PATCH v5] ched: enable CMAN at runtime

2022-06-20 Thread Marcin Danilewicz
Added changes to enable CMAN (RED or PIE) at init from profile configuration file. By default CMAN code is enable but not in use, when there is no RED or PIE profile configured. Signed-off-by: Marcin Danilewicz --- Log: v2 change in rte_sched.h to avoid ABI breakage. v3 changes from

[PATCH v6] sched: enable CMAN at runtime

2022-06-21 Thread Marcin Danilewicz
Added changes to enable CMAN (RED or PIE) at init from profile configuration file. By default CMAN code is enable but not in use, when there is no RED or PIE profile configured. Signed-off-by: Marcin Danilewicz --- Log: v2 change in rte_sched.h to avoid ABI breakage. v3 changes from

[PATCH v7] sched: enable CMAN at runtime

2022-07-04 Thread Marcin Danilewicz
Added changes to enable CMAN (RED or PIE) at init from profile configuration file. By default CMAN code is enable but not in use, when there is no RED or PIE profile configured. Signed-off-by: Marcin Danilewicz --- Log: v2 change in rte_sched.h to avoid ABI breakage. v3 changes from

[PATCH v8] sched: enable CMAN at runtime

2022-07-05 Thread Marcin Danilewicz
Added changes to enable CMAN (RED or PIE) at init from profile configuration file. By default CMAN code is enable but not in use, when there is no RED or PIE profile configured. Signed-off-by: Marcin Danilewicz --- Log: v2 change in rte_sched.h to avoid ABI breakage. v3 changes from

[PATCH v9] sched: enable CMAN at runtime

2022-07-08 Thread Marcin Danilewicz
Added changes to enable CMAN (RED or PIE) at init from profile configuration file. By default CMAN code is enable but not in use, when there is no RED or PIE profile configured. Signed-off-by: Marcin Danilewicz --- Log: v2 change in rte_sched.h to avoid ABI breakage. v3 changes from

[PATCH v10] sched: enable CMAN at runtime

2022-07-08 Thread Marcin Danilewicz
Added changes to enable CMAN (RED or PIE) at init from profile configuration file. By default CMAN code is enable but not in use, when there is no RED or PIE profile configured. Signed-off-by: Marcin Danilewicz --- Log: v2 change in rte_sched.h to avoid ABI breakage. v3 changes from

[PATCH v11] sched: enable CMAN at runtime

2022-07-15 Thread Marcin Danilewicz
Added changes to enable CMAN (RED or PIE) at init from profile configuration file. By default CMAN code is enable but not in use, when there is no RED or PIE profile configured. Signed-off-by: Marcin Danilewicz --- Log: v2 change in rte_sched.h to avoid ABI breakage. v3 changes from

[dpdk][PATCH 1/2] sched: enable/disable TC OV at runtime

2022-04-07 Thread Marcin Danilewicz
From: Megha Ajmera 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 diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c index ec74bee939..1d05089d00 100644 --- a

[dpdk][PATCH 2/2] sched: fix to manage TC OV at runtime

2022-04-07 Thread Marcin Danilewicz
Added changes after review and increased throughput. Signed-off-by: Marcin Danilewicz diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c index 1d05089d00..6e7d81df46 100644 --- a/lib/sched/rte_sched.c +++ b/lib/sched/rte_sched.c @@ -155,7 +155,6 @@ struct rte_sched_subport

[PATCH v3] sched: enable/disable TC OV at runtime

2022-04-27 Thread Marcin Danilewicz
Added new API to enable or disable TC over subscription for best effort traffic class at subport level. Added changes after review and increased throughput. By default TC OV is disabled. Signed-off-by: Marcin Danilewicz --- lib/sched/rte_sched.c | 189

[PATCH v3] sched: enable/disable TC OV at runtime

2022-04-27 Thread Marcin Danilewicz
Added new API to enable or disable TC over subscription for best effort traffic class at subport level. Added changes after review and increased throughput. By default TC OV is disabled. Signed-off-by: Marcin Danilewicz --- lib/sched/rte_sched.c | 189

[PATCH] sched: enable CMAN at runtime

2022-05-11 Thread Marcin Danilewicz
Added changes to enable CMAN (RED or PIE) at init from profile configuration file. By default CMAN code is enable but not in use, when there is no RED or PIE profile configured. Signed-off-by: Marcin Danilewicz --- config/rte_config.h | 3 - drivers/net/softnic

[PATCH v2] sched: enable CMAN at runtime

2022-05-12 Thread Marcin Danilewicz
Added changes to enable CMAN (RED or PIE) at init from profile configuration file. By default CMAN code is enable but not in use, when there is no RED or PIE profile configured. Log: v2 change in rte_sched.h to avoid ABI breakage. Signed-off-by: Marcin Danilewicz --- config/rte_config.h