On 8/7/2024 8:29 AM, Xu, Rosen wrote:
> Hi,
> 
>> -----Original Message-----
<...>
>> Subject: [PATCH 3/4] ethdev: make TM shaper parameters constant
>>
>> The function to add a new shaper profile in rte_tm should not (and does
>> not) modify the profile parameters passed in via struct pointer. We should
>> guarantee this by marking the parameter pointer as const. This allows SW to
>> create multiple profiles using the same parameter struct without having to
>> reset it each time.
>>
>> Signed-off-by: Bruce Richardson <bruce.richard...@intel.com>
> 
> Reviewed-by: Rosen Xu <rosen...@intel.com>
> 

Acked-by: Ferruh Yigit <ferruh.yi...@amd.com>

Reply via email to