numam-dpdk/drivers/net/mlx4
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
..
Makefile net/mlx4: revert workaround for broken Verbs 2018-01-16 18:47:49 +01:00
mlx4_ethdev.c net/mlx4: convert to new Rx offloads API 2018-01-16 18:47:49 +01:00
mlx4_flow.c net/mlx4: convert to new Rx offloads API 2018-01-16 18:47:49 +01:00
mlx4_flow.h net/mlx4: restore UDP RSS by probing capabilities 2018-01-16 18:47:49 +01:00
mlx4_intr.c ethdev: remove useless parameter in callback process 2018-01-16 18:47:49 +01:00
mlx4_mr.c net/mlx4: share memory region resources 2017-11-03 21:30:41 +01:00
mlx4_prm.h net/mlx4: verify Tx max sges 2018-01-16 18:47:49 +01:00
mlx4_rxq.c net/mlx4: convert to new Rx offloads API 2018-01-16 18:47:49 +01:00
mlx4_rxtx.c net/mlx4: remove Tx completion elements counter 2018-01-16 18:47:49 +01:00
mlx4_rxtx.h net/mlx4: convert to new Rx offloads API 2018-01-16 18:47:49 +01:00
mlx4_txq.c net/mlx4: convert to new Tx offloads API 2018-01-16 18:47:49 +01:00
mlx4_utils.c net/mlx4: add iovec-like allocation wrappers 2017-10-13 01:18:48 +01:00
mlx4_utils.h net/mlx4: revert workaround for broken Verbs 2018-01-16 18:47:49 +01:00
mlx4.c net/mlx4: verify Tx max sges 2018-01-16 18:47:49 +01:00
mlx4.h net/mlx4: restore inner VXLAN RSS support 2018-01-16 18:47:49 +01:00
rte_pmd_mlx4_version.map mlx4: move to drivers/net/ 2015-05-22 16:06:22 +02:00