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

2017-12-29 Thread Thomas Monjalon
28/12/2017 23:10, 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 et

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

2017-12-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