Skip to content

sched: cleanup of sched library

Megha Ajmera dpdk-dev 3 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesApplied
  2. v24 patches 9 repliesSuperseded
  3. v14 patches 3 repliesSuperseded

Changes in v3 from the cover letter

This patchset involves the cleanup of sched library:

* Addresses review comments on v2 patchset.

* RTE_SCHED_CMAN is left unmodified in rte_config.h. Cleanup of this will be taken up later.

* Removed unused flag RTE_SCHED_VECTOR from arm/meson.build. Only scalar version is now supported.

* Added grinder configuration in docs. The configuration is moved from rte_config.h into sched library. Default number of grinders is 8. To override the default, specify RTE_SCHED_PORT_N_GRINDERS=N in CFLAGS before compiling sched library.

* Sample app is updated to always collect statistics as this flag is removed.

* Updated softnic library by enabling TC oversubscription. This flag is now removed from sched.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4sched: remove code no longer neededconfig/arm/meson.build config/rte_config.h lib/sched/rte_sched.c+0 -560 replies
2/4sched: move grinder configuration flagconfig/rte_config.h doc/guides/sample_app_ug/qos_scheduler.rst lib/sched/rte_sched.c+9 -10 replies
3/4sched: enable statistics unconditionallyconfig/rte_config.h doc/guides/sample_app_ug/qos_scheduler.rst lib/sched/rte_sched.c+0 -190 replies
4/4sched: enable traffic class oversubscription unconditionallyconfig/rte_config.h drivers/net/softnic/rte_eth_softnic_tm.c examples/qos_sched/init.c +1 more+0 -1110 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchCristian Dumitrescu
SeriesSeries-acked-by
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] sched: cleanup of sched library

v3:
This patchset involves the cleanup of sched library:

* Addresses review comments on v2 patchset.

* RTE_SCHED_CMAN is left unmodified in rte_config.h. Cleanup of this will be taken up later.

* Removed unused flag RTE_SCHED_VECTOR from arm/meson.build. Only scalar version is now supported.

* Added grinder configuration in docs. The configuration is moved from rte_config.h into sched library. Default number of grinders is 8. To override the default, specify RTE_SCHED_PORT_N_GRINDERS=N in CFLAGS before compiling sched library.

* Sample app is updated to always collect statistics as this flag is removed.

* Updated softnic library by enabling TC oversubscription. This flag is now removed from sched.

v2:
This patchset involves the cleanup of sched Library:

* Removed unused sched #defines from rte_config. RTE_SCHED_CMAN, RTE_SCHED_COLLECT_STATS, RTE_SCHED_SUBPORT_TC_OV and RTE_SCHED_VECTOR.

* RTE_SCHED_COLLECT_STATS flag is removed from the code. Stats collection is now always enabled.

* RTE_SCHED_SUBPORT_TC_OV flag is removed.
TC over subscription for best effort queues is now always enabled.

* RTE_SCHED_VECTOR flag is removed from sched library as 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 oversubscription unconditionally

 config/arm/meson.build                     |   1 -
 config/rte_config.h                        |   4 -
 doc/guides/sample_app_ug/qos_scheduler.rst |   5 +-
 drivers/net/softnic/rte_eth_softnic_tm.c   |  18 ---
 examples/qos_sched/init.c                  |   2 -
 lib/sched/rte_sched.c                      | 156 +--------------------
 6 files changed, 4 insertions(+), 182 deletions(-)
Signature · 1 line
2.25.1