numam-dpdk/drivers/net/i40e
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/i40e/base: update base code info 2018-01-16 18:47:49 +01:00
i40e_ethdev_vf.c ethdev: remove useless parameter in callback process 2018-01-16 18:47:49 +01:00
i40e_ethdev.c ethdev: remove useless parameter in callback process 2018-01-16 18:47:49 +01:00
i40e_ethdev.h net/i40e: support AVF basic interface 2018-01-16 18:47:49 +01:00
i40e_fdir.c net/i40e: turn off flexible payload on driver init 2018-01-16 18:47:49 +01:00
i40e_flow.c net/i40e: turn off flexible payload on driver init 2018-01-16 18:47:49 +01:00
i40e_logs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_pf.c ethdev: remove useless parameter in callback process 2018-01-16 18:47:49 +01:00
i40e_pf.h net/i40e: support AVF basic interface 2018-01-16 18:47:49 +01:00
i40e_regs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_rxtx_vec_altivec.c mbuf: rename physical address to IOVA 2017-11-06 22:44:26 +01:00
i40e_rxtx_vec_avx2.c net/i40e: add AVX2 Rx function 2018-01-16 18:47:49 +01:00
i40e_rxtx_vec_common.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_rxtx_vec_neon.c net/i40e: fix Rx packets number for NEON 2017-11-01 22:17:06 +01:00
i40e_rxtx_vec_sse.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
i40e_rxtx.c net/i40e: add AVX2 Rx function 2018-01-16 18:47:49 +01:00
i40e_rxtx.h net/i40e: add AVX2 Rx function 2018-01-16 18:47:49 +01:00
i40e_tm.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
Makefile net/i40e: add AVX2 Tx function 2018-01-16 18:47:49 +01:00
rte_pmd_i40e_version.map net/i40e: add support for packet template to flow director 2017-10-26 02:33:01 +02:00
rte_pmd_i40e.c drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
rte_pmd_i40e.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00