From: Savinay Dharmappa Date: Fri, 9 Oct 2020 12:39:19 +0000 (+0100) Subject: sched: remove redundant subport parameters X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=bf32a357e2c625ccc1de95f2068519ad87fdc3e9;p=dpdk.git sched: remove redundant subport parameters Remove redundant data structure fields. Signed-off-by: Savinay Dharmappa Acked-by: Cristian Dumitrescu --- diff --git a/doc/guides/rel_notes/release_20_11.rst b/doc/guides/rel_notes/release_20_11.rst index 319c768d0d..c61d7fcf67 100644 --- a/doc/guides/rel_notes/release_20_11.rst +++ b/doc/guides/rel_notes/release_20_11.rst @@ -326,6 +326,9 @@ API Changes * sched: Added ``subport_profile_id`` as argument to function ``rte_sched_subport_config``. +* sched: Removed ``tb_rate``, ``tc_rate``, ``tc_period`` and ``tb_size`` + from ``struct rte_sched_subport_params``. + ABI Changes ----------- diff --git a/lib/librte_sched/rte_sched.h b/lib/librte_sched/rte_sched.h index 1506c6487e..c1a772b70c 100644 --- a/lib/librte_sched/rte_sched.h +++ b/lib/librte_sched/rte_sched.h @@ -149,18 +149,6 @@ struct rte_sched_pipe_params { * byte. */ struct rte_sched_subport_params { - /** Token bucket rate (measured in bytes per second) */ - uint64_t tb_rate; - - /** Token bucket size (measured in credits) */ - uint64_t tb_size; - - /** Traffic class rates (measured in bytes per second) */ - uint64_t tc_rate[RTE_SCHED_TRAFFIC_CLASSES_PER_PIPE]; - - /** Enforcement period for rates (measured in milliseconds) */ - uint64_t tc_period; - /** Number of subport pipes. * The subport can enable/allocate fewer pipes than the maximum * number set through struct port_params::n_max_pipes_per_subport,