This patch fixes the traffic class oversubscription watermark
value by initialising it with computed value of maximum watermark.
Fixes: ac6fcb841b0f ("sched: update subport rate dynamically")
Cc: sta...@dpdk.org
Signed-off-by: Savinay Dharmappa
Acked-by: Jasvinder Singh
---
v3:
tc ov watermark is initialized with computed value of
max tc ov watermark.
Signed-off-by: Savinay Dharmappa
---
v2: fix spelling error.
---
lib/librte_sched/rte_sched.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_sched/rte_sched.c b/lib/librte_sched
tc ov watermark is intialized with computed value of
max tc ov watermark.
Signed-off-by: Savinay Dharmappa
---
lib/librte_sched/rte_sched.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_sched/rte_sched.c b/lib/librte_sched/rte_sched.c
index 7c56880681
update the user guide of ip pipeline sample application
to reflect the changes in command line arguments.
Fixes: 54a298e5f7f4 ("examples/ip_pipeline: update subport rate dynamically")
Signed-off-by: Savinay Dharmappa
Acked-by: Cristian Dumitrescu
---
v2: patch has only ip pipeline d
update the qos_sched user guide and profile config file
with default subport profile.
Fixes: 802d214dc880 ("examples/qos_sched: update subport rate dynamically")
Signed-off-by: Savinay Dharmappa
Acked-by: Cristian Dumitrescu
---
v3: addressed the review comments of patch v2
---
update the profile_ov config file to support dynamic
update of subport rate.
Signed-off-by: Savinay Dharmappa
---
v2: renamed the commit subject.
---
examples/qos_sched/profile_ov.cfg | 3 +++
1 file changed, 3 insertions(+)
diff --git a/examples/qos_sched/profile_ov.cfg
b/examples/qos_sched
update the profile_ov config file to support dynamic
update of subport rate.
Signed-off-by: Savinay Dharmappa
---
examples/qos_sched/profile_ov.cfg | 3 +++
1 file changed, 3 insertions(+)
diff --git a/examples/qos_sched/profile_ov.cfg
b/examples/qos_sched/profile_ov.cfg
index ab509d28d7
update the user guide of sample application ip pipeline
and qos_scheduler to reflect the changes in command
line arguments and profile config file.
Signed-off-by: Savinay Dharmappa
---
doc/guides/sample_app_ug/ip_pipeline.rst | 6 +-
doc/guides/sample_app_ug/qos_scheduler.rst | 4
2
This patch fixes out of bound access of an array.
Coverity issue: 363466, 363459
Fixes: b5dfa6703d49 ("net/softnic: update subport rate dynamically")
Signed-off-by: Savinay Dharmappa
---
v2: addressed review comments of v1
---
drivers/net/softnic/rte_eth_softnic_tm.c | 13 +++
This patch fixes out of bound access of an array.
Coverity issue: 363466, 363459
Fixes: b5dfa6703d49 ("net/softnic: update subport rate dynamically")
Signed-off-by: Savinay Dharmappa
---
drivers/net/softnic/rte_eth_softnic_tm.c | 15 +--
1 file changed, 13 insert
Remove redundant data structure fields.
Signed-off-by: Savinay Dharmappa
---
doc/guides/rel_notes/release_20_11.rst | 3 +++
lib/librte_sched/rte_sched.h | 12
2 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/doc/guides/rel_notes/release_20_11.rst
b/doc
Modify the test_sched application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to update
a subport with different subport rates dynamically
Signed-off-by: Savinay Dharmappa
---
app/test/test_sched.c | 13 +++--
1 file changed, 11 insertions
Modify the ip_pipeline application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to update
a subport with different subport rates dynamically
Signed-off-by: Savinay Dharmappa
---
examples/ip_pipeline/cli.c | 68
examples
Modify the softnic drivers to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to update
a subport with different subport rates dynamically.
Signed-off-by: Savinay Dharmappa
---
.../net/softnic/rte_eth_softnic_internals.h | 11 +-
drivers/net/softnic
Modify the qos_sched application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to update
a subport with different subport rates dynamically.
Signed-off-by: Savinay Dharmappa
---
examples/qos_sched/cfg_file.c | 151
Add support to update subport rate dynamically.
Signed-off-by: Savinay Dharmappa
---
app/test/test_sched.c| 2 +-
doc/guides/rel_notes/deprecation.rst | 6 -
doc/guides/rel_notes/release_20_11.rst | 9 +
drivers/net/softnic/rte_eth_softnic_tm.c | 6 +-
examples
API to add new subport bandwidth profile.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 66 ++
lib/librte_sched/rte_sched.h | 23 +
lib/librte_sched/rte_sched_version.map | 2 +
3 files
to create traffic manger port.
v4 -> v5
- Review comments from patch 3 & 6
from v4 are addressed.
v3 -> v4
- Fix patch apply issue.
v2 -> v3
- Review comments from patch 3 & 5
from v2 are addressed.
v1 -> v2
- Fix checkpatch warnings.
---
Sav
Add subport profile table to internal port data structure
and update the port config function.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
doc/guides/rel_notes/release_20_11.rst | 3 +
lib/librte_sched/rte_sched.c | 197 -
lib
Remove redundant data structure fields references from
functions and subport level data structures. It also
update the release and deprecation note
Signed-off-by: Savinay Dharmappa
---
doc/guides/rel_notes/deprecation.rst | 6
doc/guides/rel_notes/release_20_11.rst | 1 +
lib
Modify the test_sched application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to update
a subport with different subport rates dynamically
Signed-off-by: Savinay Dharmappa
---
app/test/test_sched.c | 13 +++--
1 file changed, 11 insertions
Modify the softnic drivers to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to update
a subport with different subport rates dynamically.
Signed-off-by: Savinay Dharmappa
---
.../net/softnic/rte_eth_softnic_internals.h | 11 +-
drivers/net/softnic
Modify the qos_sched application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to update
a subport with different subport rates dynamically.
Signed-off-by: Savinay Dharmappa
---
examples/qos_sched/cfg_file.c | 151
Modify the ip_pipeline application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to update
a subport with different subport rates dynamically
Signed-off-by: Savinay Dharmappa
---
examples/ip_pipeline/cli.c | 68
examples
Add subport profile table to internal port data structure
and update the port config function.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 197 ++-
lib/librte_sched/rte_sched.h | 25 +
2 files changed
Add support to update subport rate dynamically.
Signed-off-by: Savinay Dharmappa
---
app/test/test_sched.c| 2 +-
drivers/net/softnic/rte_eth_softnic_tm.c | 6 +-
examples/ip_pipeline/tmgr.c | 6 +-
examples/qos_sched/init.c| 3 +-
lib
API to add new subport bandwidth profile.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 66 ++
lib/librte_sched/rte_sched.h | 23 +
lib/librte_sched/rte_sched_version.map | 2 +
3 files
e addressed.
v3 -> v4
- Fix patch apply issue.
v2 -> v3
- Review comments from patch 3 & 5
from v2 are addressed.
v1 -> v2
- Fix checkpatch warnings.
---
Savinay Dharmappa (8):
sched: add support profile table
sched: introduce subport profile add function
Modify the softnic drivers to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to update
a subport with different subport rates dynamically.
Signed-off-by: Savinay Dharmappa
---
.../net/softnic/rte_eth_softnic_internals.h | 11 +-
drivers/net/softnic
Modify the ip_pipeline application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to update
a subport with different subport rates dynamically
Signed-off-by: Savinay Dharmappa
---
examples/ip_pipeline/cli.c | 68
examples
Modify the test_sched application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to update
a subport with different subport rates dynamically
Signed-off-by: Savinay Dharmappa
---
app/test/test_sched.c | 13 +++--
1 file changed, 11 insertions
Add subport profile table to internal port data structure
and update the port config function.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 197 ++-
lib/librte_sched/rte_sched.h | 25 +
2 files changed
Modify the qos_sched application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to update
a subport with different subport rates dynamically.
Signed-off-by: Savinay Dharmappa
---
examples/qos_sched/cfg_file.c | 151
for port and subport level, new APIs for
adding subport level bandwidth profiles that can be used in runtime
Savinay Dharmappa (8):
sched: add support profile table
sched: introduce subport profile add function
sched: update subport rate dynamically
example/qos_sched: update subport rate
Add support to update subport rate dynamically.
Signed-off-by: Savinay Dharmappa
---
app/test/test_sched.c| 2 +-
drivers/net/softnic/rte_eth_softnic_tm.c | 6 +-
examples/ip_pipeline/tmgr.c | 6 +-
examples/qos_sched/init.c| 3 +-
lib
API to add new subport bandwidth profile.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 66 ++
lib/librte_sched/rte_sched.h | 23 +
lib/librte_sched/rte_sched_version.map | 2 +
3 files
Remove redundant data structure fields references from
functions and subport level data structures. It also
update the release and deprecation note
Signed-off-by: Savinay Dharmappa
---
doc/guides/rel_notes/deprecation.rst | 6
doc/guides/rel_notes/release_20_11.rst | 1 +
lib
Modify the test_sched application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to update
a subport with different subport rates dynamically
Signed-off-by: Savinay Dharmappa
---
app/test/test_sched.c | 13 +++--
1 file changed, 11 insertions
Remove redundant data structure fields references from
functions and subport level data structures. It also
update the release and deprecation note
Signed-off-by: Savinay Dharmappa
---
doc/guides/rel_notes/deprecation.rst | 6
doc/guides/rel_notes/release_20_11.rst | 2 ++
lib
Modify the qos_sched application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to update
a subport with different subport rates dynamically.
Signed-off-by: Savinay Dharmappa
---
examples/qos_sched/cfg_file.c | 151
Modify the softnic drivers to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to update
a subport with different subport rates dynamically.
Signed-off-by: Savinay Dharmappa
---
.../net/softnic/rte_eth_softnic_internals.h | 11 +-
drivers/net/softnic
Add support to update subport rate dynamically.
Signed-off-by: Savinay Dharmappa
---
app/test/test_sched.c| 2 +-
drivers/net/softnic/rte_eth_softnic_tm.c | 6 +-
examples/ip_pipeline/tmgr.c | 6 +-
examples/qos_sched/init.c| 3 +-
lib
Modify the ip_pipeline application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to update
a subport with different subport rates dynamically
Signed-off-by: Savinay Dharmappa
---
examples/ip_pipeline/cli.c | 68
examples
API to add new subport bandwidth profile.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 66 ++
lib/librte_sched/rte_sched.h | 23 +
lib/librte_sched/rte_sched_version.map | 2 +
3 files
for port and subport level, new APIs for
adding subport level bandwidth profiles that can be used in runtime
Savinay Dharmappa (8):
sched: add support profile table
sched: introduce subport profile add function
sched: update subport rate dynamically
example/qos_sched: update subport rate
Add subport profile table to internal port data structure
and update the port config function.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 197 ++-
lib/librte_sched/rte_sched.h | 25 +
2 files changed
Remove redundant data structure fields references from
functions and subport level data structures. It also
update the release and deprecation note
Signed-off-by: Savinay Dharmappa
---
app/test/test_sched.c| 2 +-
doc/guides/rel_notes/deprecation.rst | 6 -
doc
Modify the test_sched application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to configure
a subport with different subport bandwidth profile dynamically
Signed-off-by: Savinay Dharmappa
---
app/test/test_sched.c | 17 ++---
1 file
Modify the softnic drivers to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to configure
a subport with different subport bandwidth profile dynamically.
Signed-off-by: Savinay Dharmappa
---
.../net/softnic/rte_eth_softnic_internals.h | 18 +-
drivers
Credits are updated by fetching subport profile parameters from
subport profile table. Similarly subport best effort tc is
calculated in pipe config.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 55 +---
1
Modify the qos_sched application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to configure
a subport with different subport bandwidth profile dynamically.
Signed-off-by: Savinay Dharmappa
---
examples/qos_sched/cfg_file.c | 151
Modify the ip_pipeline application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to configure
a subport with different subport bandwidth profile dynamically
Signed-off-by: Savinay Dharmappa
---
examples/ip_pipeline/cli.c | 17 +--
examples
This patch adds support for dynamic config of subport bandwidth.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 219 +++
lib/librte_sched/rte_sched.h | 23
2 files changed, 242 insertions(+)
diff --git a
for port and subport level, new APIs for
adding subport level bandwidth profiles that can be used in runtime
Savinay Dharmappa (9):
sched: add support profile table
sched: add subport profile add api
sched : add dynamic config of subport bandwidth
sched: update grinder credit and pipe config
Add api to add new subport profile.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 66 ++
lib/librte_sched/rte_sched.h | 23 +
lib/librte_sched/rte_sched_version.map | 2 +
3 files changed
Add subport profile data structure, subport profile table to
internal port data structure and update the port config function.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 197 ++-
lib/librte_sched
Remove redundant data structure fields references from
functions and subport level data structures. It also
update the release and deprecation note.
Signed-off-by: Savinay Dharmappa
---
doc/guides/rel_notes/deprecation.rst | 6 --
doc/guides/rel_notes/release_20_11.rst | 4 ++
lib
Modify the softnic drivers to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to configure
a subport with different subport bandwidth profile dynamically.
Signed-off-by: Savinay Dharmappa
---
drivers/net/softnic/rte_eth_softnic_internals.h | 9
Modify the qos_sched application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to configure
a subport with different subport bandwidth profile dynamically.
Signed-off-by: Savinay Dharmappa
---
examples/qos_sched/cfg_file.c | 151
Modify the ip_pipeline application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to configure
a subport with different subport bandwidth profile dynamically
Signed-off-by: Savinay Dharmappa
---
examples/ip_pipeline/cli.c | 14
Modify the test_sched application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to configure
a subport with different subport bandwidth profile dynamically
Signed-off-by: Savinay Dharmappa
---
app/test/test_sched.c | 18 --
1 file
and subport level, new APIs for adding subport level
bandwidth profiles that can be used in runtime.
Savinay Dharmappa (9):
sched: add support profile data structure
sched: add subport profile table
sched: add subport profile add and config api
sched: update grinder credit and pipe config
Add apis to add new subport profile and configure it.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 118 +
lib/librte_sched/rte_sched.h | 45 +
lib/librte_sched
Credits are updated by fetching subport profile parameters from
subport profile table. Similarly subport best effort tc is
calculated in pipe config.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 55
Add subport profile data structure to support dynamic configuration
of subport bandwidth
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 10 ++
lib/librte_sched/rte_sched.h | 25 +
2 files changed, 35 insertions
Add subport profile table to internal port data structure and
update the port config function.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 185 ++-
1 file changed, 182 insertions(+), 3 deletions
Remove redundant data structure fields references from
functions and subport level data structures. It also
update the release and deprecation note.
Signed-off-by: Savinay Dharmappa
---
doc/guides/rel_notes/deprecation.rst | 6 --
doc/guides/rel_notes/release_20_11.rst | 4 ++
lib
Modify the softnic drivers to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to configure
a subport with different subport bandwidth profile dynamically.
Signed-off-by: Savinay Dharmappa
---
drivers/net/softnic/rte_eth_softnic_internals.h | 9
Modify the test_sched application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to configure
a subport with different subport bandwidth profile dynamically
Signed-off-by: Savinay Dharmappa
---
app/test/test_sched.c | 18 --
1 file
Add apis to add new subport profile and configure it.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 118 +
lib/librte_sched/rte_sched.h | 45 +
lib/librte_sched
Modify the qos_sched application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to configure
a subport with different subport bandwidth profile dynamically.
Signed-off-by: Savinay Dharmappa
---
examples/qos_sched/cfg_file.c | 151
Credits are updated by fetching subport profile parameters from
subport profile table. Similarly subport best effort tc is
calculated in pipe config.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 55
Modify the ip_pipeline application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to configure
a subport with different subport bandwidth profile dynamically
Signed-off-by: Savinay Dharmappa
---
examples/ip_pipeline/cli.c | 14
Add subport profile table to internal port data structure and
update the port config function.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 185 ++-
1 file changed, 182 insertions(+), 3 deletions
and subport level, new APIs for adding subport level
bandwidth profiles that can be used in runtime.
Savinay Dharmappa (9):
sched: add support profile data structure
sched: add subport profile table
sched: add subport profile add and config api
sched: update grinder credit and pipe config
Add subport profile data structure to support dynamic configuration
of subport bandwidth
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 10 ++
lib/librte_sched/rte_sched.h | 25 +
2 files changed, 35 insertions
Remove redundant data structure fields references from
functions and subport level data structures. It also
update the release and deprecation note.
Signed-off-by: Savinay Dharmappa
---
doc/guides/rel_notes/deprecation.rst | 6 --
doc/guides/rel_notes/release_20_11.rst | 4 ++
lib
Modify the test_sched application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to configure
a subport with different subport bandwidth profile dynamically
Signed-off-by: Savinay Dharmappa
---
app/test/test_sched.c | 18 --
1 file
Modify the softnic drivers to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to configure
a subport with different subport bandwidth profile dynamically.
Signed-off-by: Savinay Dharmappa
---
drivers/net/softnic/rte_eth_softnic_internals.h | 9
Credits are updated by fetching subport profile parameters from
subport profile table.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 49
1 file changed, 31 insertions(+), 18 deletions(-)
diff
Modify the ip_pipeline application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to configure
a subport with different subport bandwidth profile dynamically
Signed-off-by: Savinay Dharmappa
---
examples/ip_pipeline/cli.c | 10 ++
examples
Subport profile parameters are fetched from subport profile
table to calculate the subport best effort tc rate.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 40 +---
1 file changed, 21 insertions(+), 19
Modify the qos_sched application to build the hierarchical scheduler
with default subport bandwidth profile. It also allows to configure
a subport with different subport bandwidth profile dynamically.
Signed-off-by: Savinay Dharmappa
---
examples/qos_sched/cfg_file.c | 158
Add apis to add new subport profile and configure it.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 118 +
lib/librte_sched/rte_sched.h | 45 +
lib/librte_sched
Add subport profile table to internal port data structure and
update the port config function.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 185 ++-
1 file changed, 182 insertions(+), 3 deletions
Add subport profile data structure to support dynamic configuration
of subport bandwidth
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 11 +++
lib/librte_sched/rte_sched.h | 25 +
2 files changed, 36
and subport level, new APIs for adding subport level
bandwidth profiles that can be used in runtime.
Savinay Dharmappa (10):
sched: add data structure to support dynamic conf of subport bandwidth
sched: create subport profile table
sched: Add public APIs to support dynamic conf of subport
qos sched application uses the new apis introduced as part of dynamic
configuration of subport bandwidth to configure the deafult subport
bandwidth profile while buidling the hirerachical scheduler.
Signed-off-by: Savinay Dharmappa
---
examples/qos_sched/cfg_file.c | 158
softnic driver uses the new apis introduced as part of dynamic
configuration of subport bandwidth to configure the deafult subport
bandwidth profile while buidling the hirerachical scheduler.
Signed-off-by: Savinay Dharmappa
---
drivers/net/softnic/rte_eth_softnic_internals.h | 9 +
drivers
test_sched application uses the new apis introduced as part of dynamic
configuration of subport bandwidth to configure the deafult subport
bandwidth profile while buidling the hirerachical scheduler
Signed-off-by: Savinay Dharmappa
---
app/test/test_sched.c | 16 ++--
1 file changed
ip_pipeline application uses the new apis introduced as part of dynamic
configuration of subport bandwidth to configure the deafult subport
bandwidth profile while buidling the hirerachical scheduler
Signed-off-by: Savinay Dharmappa
---
examples/ip_pipeline/cli.c | 10 ++
examples
This patch builds the subport profile table during port
configuration. Since the tb_period,tb_size,tc_period,
tb_credits_per_period and tc_credits_per_period are updated
in subport profile table, references to them are removed
from subport configuration.
Signed-off-by: Savinay Dharmappa
Signed
This patch modifies the way credits are updated. Credits
are updated by fetching parameters from subport profile
table.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 62 ++
lib/librte_sched
This patch modifies the subport level data structures
and add internal functions to create subport profile
table.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 173 +++
lib/librte_sched/rte_sched.h
This patch add public APIs to add new subport profile
and to configure them.
Signed-off-by: Savinay Dharmappa
Signed-off-by: Jasvinder Singh
---
lib/librte_sched/rte_sched.c | 115 ++-
lib/librte_sched/rte_sched.h | 45 +
2 files changed
Add deprecation note for making changes in data structures and APIs
in order to allow dynamic configuration of subport bandwidth profile.
These changes are aligned as suggested in the RFC[1].
https://mails.dpdk.org/archives/dev/2020-July/175161.html
Signed-off-by: Savinay Dharmappa
Acked-by
Add deprecation note for making changes in data structures and APIs
in order to allow dynamic configuration of subport bandwidth profile.
These changes are aligned as suggested in the RFC[1].
https://mails.dpdk.org/archives/dev/2020-July/175161.html
Signed-off-by: Savinay Dharmappa
Acked-by
Add deprecation note for making changes in data structures and APIs
in order to allow dynamic configuration of subport bandwidth profile.
These changes are aligned as suggested in the RFC[1].
https://mails.dpdk.org/archives/dev/2020-July/175161.html
Signed-off-by: Savinay Dharmappa
Acked-by
Add deprecation note for making changes in data structures and APIs
in order to allow dynamic configuration of subport bandwidth profile.
These changes are aligned as suggested in the RFC[1].
https://mails.dpdk.org/archives/dev/2020-July/175161.html
Signed-off-by: Savinay Dharmappa
Signed-off
Add deprecation note for making changes in data structures and APIs
in order to allow dynamic configuration of subport bandwidth profile.
These changes are aligned as suggested in the RFC[1].
https://mails.dpdk.org/archives/dev/2020-July/175161.html
Signed-off-by: Savinay Dharmappa
Signed-off
1 - 100 of 112 matches
Mail list logo