numam-dpdk/drivers/net/avf
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
..
base net/avf/base: add base code for avf PMD 2018-01-16 18:47:49 +01:00
avf_ethdev.c net/avf: enable Rx interrupt 2018-01-16 18:47:49 +01:00
avf_log.h net/avf: enable basic Rx Tx 2018-01-16 18:47:49 +01:00
avf_rxtx_vec_common.h net/avf: enable SSE Rx Tx 2018-01-16 18:47:49 +01:00
avf_rxtx_vec_sse.c net/avf: enable SSE Rx Tx 2018-01-16 18:47:49 +01:00
avf_rxtx.c net/avf: enable bulk allocate Rx 2018-01-16 18:47:49 +01:00
avf_rxtx.h net/avf: enable bulk allocate Rx 2018-01-16 18:47:49 +01:00
avf_vchnl.c ethdev: remove useless parameter in callback process 2018-01-16 18:47:49 +01:00
avf.h net/avf: enable bulk allocate Rx 2018-01-16 18:47:49 +01:00
Makefile net/avf: enable SSE Rx Tx 2018-01-16 18:47:49 +01:00
rte_pmd_avf_version.map net/avf: initialize PMD 2018-01-16 18:47:49 +01:00