[dpdk-dev] [PATCH] rte_sched: fix 64-bit support in rate functions

2020-06-15 Thread Hrvoje Habjanic
Functions rte_sched_subport_config_pipe_profile_table and pipe_profile_check should also have increased rate arguments. Fixes: 68c1f26d4236 (\"sched: support 64-bit values\") Cc: jasvinder.si...@intel.com Signed-off-by: Hrvoje Habjanic --- lib/librte_sched/rte_sched.c | 4 ++-- 1 fi

Re: [dpdk-dev] [PATCH] rte_sched: correctly free allocated subport memory

2020-05-30 Thread Hrvoje Habjanic
On 27. 05. 2020. 13:48, Singh, Jasvinder wrote: > >> -Original Message- >> From: dev On Behalf Of Hrvoje Habjanic >> Sent: Tuesday, May 26, 2020 6:25 PM >> To: dev@dpdk.org >> Subject: [dpdk-dev] [PATCH] rte_sched: correctly free allocated su

[dpdk-dev] [PATCH] rte_sched: correctly free allocated subport memory

2020-05-26 Thread Hrvoje Habjanic
pointer to bitmap is valid or not. So, actual memory for subport is not freed. This patch fixes this by removing call to rte_bitmap_free, and instead calling rte_free. Signed-off-by: Hrvoje Habjanic --- lib/librte_sched/rte_sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a