Re: [PATCH 1/4] ethdev: make parameters to TM node add fn constant

2024-09-22 Thread Ferruh Yigit
On 8/7/2024 8:27 AM, Xu, Rosen wrote: > Hi, > >> -Original Message- <...> >> Subject: [PATCH 1/4] ethdev: make parameters to TM node add fn constant >> >> The function to add a new scheduling node in rte_tm should not (and does >> not) modif

RE: [PATCH 1/4] ethdev: make parameters to TM node add fn constant

2024-08-07 Thread Xu, Rosen
> ; Jie Hai ; Yisen Zhuang > ; Wu, Jingjing ; Xu, > Rosen ; Jiawen Wu ; Jian > Wang ; Dumitrescu, Cristian > ; Thomas Monjalon > ; Ferruh Yigit ; Andrew > Rybchenko > Subject: [PATCH 1/4] ethdev: make parameters to TM node add fn constant > > The function to add a

[PATCH 1/4] ethdev: make parameters to TM node add fn constant

2024-08-06 Thread Bruce Richardson
The function to add a new scheduling node in rte_tm should not (and does not) modify the actual node parameters passed in via struct pointer. We should guarantee this by marking the parameter pointer as const. This allows SW to create multiple scheduling nodes using the same parameter struct withou