[PATCH] sched: fix for tc_ov_enable flag position in subport structure.

Dumitrescu, Cristian cristian.dumitrescu at intel.com
Tue Jan 10 12:12:07 CET 2023



> -----Original Message-----
> From: Ajmera, Megha <megha.ajmera at intel.com>
> Sent: Monday, January 9, 2023 2:55 PM
> To: dev at dpdk.org; Singh, Jasvinder <jasvinder.singh at intel.com>; Dumitrescu,
> Cristian <cristian.dumitrescu at intel.com>
> Cc: stable at dpdk.org; marcinx.danilewicz at intel.com
> Subject: [PATCH] sched: fix for tc_ov_enable flag position in subport structure.
> 
> 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.danilewicz at intel.com
> Signed-off-by: Megha Ajmera <megha.ajmera at intel.com>
> ---
>  lib/sched/rte_sched.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/lib/sched/rte_sched.c b/lib/sched/rte_sched.c
> index c91697131d..eaecd7ceb4 100644
> --- a/lib/sched/rte_sched.c
> +++ b/lib/sched/rte_sched.c
> @@ -202,6 +202,9 @@ struct rte_sched_subport {

Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>



More information about the stable mailing list