Bug 1047

Summary: support of run time updatation of dpdk qos sched pipe profiles param
Product: DPDK Reporter: Vikash kumar (vikash.kumar)
Component: otherAssignee: dev
Status: UNCONFIRMED ---    
Severity: normal CC: stephen
Priority: Normal    
Version: 21.05   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Vikash kumar 2022-07-01 09:30:10 CEST
We are using DPDK Hierarchical Scheduler

I have a case where I want to update the credits for pipe and subport profiles in run time and it may be possible for multiple time to update in running system. 
I didn't found any API to update/modify subport and pipe profiles at run time. There are API to add new pipe profiles at run time :  
int 	rte_sched_subport_pipe_profile_add (struct rte_sched_port *port, uint32_t subport_id, struct rte_sched_pipe_params *params, uint32_t *pipe_profile_id)

I want to know another API by which we can update/modify same profile at runtime.

It's very urgent for me so, please provide me some solutions.

Thanks in advance.
Comment 1 Stephen Hemminger 2022-07-01 18:28:36 CEST
Allowing run time changes would be hard without introducing extra overhead of locking (or RCU).