f874c1eb | 09-Apr-2018 |
Pavan Nikhilesh <pbhagavatula@caviumnetworks.com> |
event/octeontx: create and free timer adapter
When the application requests to create a timer device, Octeontx TIM create does the following: - Get the requested TIMvf ring based on adapter_id. - Ve
event/octeontx: create and free timer adapter
When the application requests to create a timer device, Octeontx TIM create does the following: - Get the requested TIMvf ring based on adapter_id. - Verify the config parameters supplied. - Allocate memory required for * Buckets based on min and max timeout supplied. * Allocate the chunk pool based on the number of timers. - Clear the interrupts.
On Free: - Free the allocated bucket and chunk memory. - Free private data used by TIMvf.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
show more ...
|