numam-dpdk/doc/guides
Thomas Monjalon cebe3d7b3d ethdev: remove useless parameter in callback process
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:
	c1ceaf3ad0 ("ethdev: add an argument to internal callback function")
Then a new parameter has been added to leave the user parameter
to its standard usage of context given at registration:
	d6af1a13d7 ("ethdev: add return values to callback process API")

The NULL parameter in the internal callback processing function
is now removed. It makes clear that the callback parameter is user
managed and opaque from a DPDK point of view.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2018-01-16 18:47:49 +01:00
..
contributing fix typos 2018-01-11 18:26:46 +01:00
cryptodevs doc: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
eventdevs doc: remove unused config options 2018-01-16 18:47:49 +01:00
faq doc: update FAQ with new testpmd default burst size 2017-08-06 12:34:07 +02:00
freebsd_gsg eal: allow user to override default mempool driver 2017-10-06 20:48:22 +02:00
howto doc: add basic howto for flow API 2017-11-07 22:53:22 +01:00
linux_gsg fix typos 2018-01-11 18:26:46 +01:00
mempool doc: remove unused config options 2018-01-16 18:47:49 +01:00
nics net/dpaa: support push mode 2018-01-16 18:47:49 +01:00
platform doc: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
prog_guide ethdev: remove useless parameter in callback process 2018-01-16 18:47:49 +01:00
rel_notes net/avf: enable Rx interrupt 2018-01-16 18:47:49 +01:00
sample_app_ug flow_classify: remove table id parameter from API 2018-01-11 19:15:26 +01:00
testpmd_app_ug doc: describe raw mode of FDIR in testpmd 2018-01-16 18:47:49 +01:00
tools doc: use SPDX tag for Cavium copyright files 2018-01-09 16:19:01 +01:00
conf.py doc: use SPDX tag for Intel copyright file 2018-01-04 22:41:40 +01:00
index.rst doc: add octeontx mempool guide 2017-11-12 05:02:42 +01:00