Bug 1047 - support of run time updatation of dpdk qos sched pipe profiles param
Summary: support of run time updatation of dpdk qos sched pipe profiles param
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: other (show other bugs)
Version: 21.05
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2022-07-01 09:30 CEST by Vikash kumar
Modified: 2022-07-01 18:28 CEST (History)
1 user (show)



Attachments

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).

Note You need to log in before you can comment on or make changes to this bug.