Re: [dpdk-dev] [PATCH] ethdev: remove useless parameter in callback process

2017-12-28 Thread Thomas Monjalon
28/12/2017 22:54, Thomas Monjalon: > 22/12/2017 04:08, Ferruh Yigit: > > On 11/28/2017 2:09 PM, Thomas Monjalon wrote: > > > The pointer to the user parameter of the callback registration is > > > automatically pass to the callback function. > > > There is no point to allow changing this user param

Re: [dpdk-dev] [PATCH] ethdev: remove useless parameter in callback process

2017-12-28 Thread Thomas Monjalon
22/12/2017 04:08, Ferruh Yigit: > On 11/28/2017 2:09 PM, Thomas Monjalon wrote: > > The pointer to the user parameter of the callback registration is > > automatically pass to the callback function. > > There is no point to allow changing this user parameter by a caller. > > That's why this paramet

Re: [dpdk-dev] [PATCH] ethdev: remove useless parameter in callback process

2017-12-21 Thread Ferruh Yigit
On 11/28/2017 2:09 PM, Thomas Monjalon wrote: > The pointer to the user parameter of the callback registration is > automatically pass to the callback function. > There is no point to allow changing this user parameter by a caller. > That's why this parameter is always set to NULL by PMDs and set o

[dpdk-dev] [PATCH] ethdev: remove useless parameter in callback process

2017-11-28 Thread Thomas Monjalon
The pointer to the user parameter of the callback registration is automatically pass to the callback function. There is no point to allow changing this user parameter by a caller. That's why this parameter is always set to NULL by PMDs and set only in ethdev layer before calling the callback functi