cebe3d7b3d
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 function. The history is that the user parameter was initially used by the callback implementation to pass some information between the application and the driver: |
||
---|---|---|
.. | ||
cmdline_test | ||
test | ||
test-acl | ||
test-pipeline | ||
Makefile |