numam-dpdk/drivers/net/enic
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 pci: introduce library and driver 2017-10-26 23:17:31 +02:00
enic_clsf.c net/enic: replace check for SSE4 with check for x86 2017-07-04 14:39:18 +02:00
enic_compat.h net/enic: remove unused code 2017-10-12 01:52:49 +01:00
enic_ethdev.c pci: introduce library and driver 2017-10-26 23:17:31 +02:00
enic_flow.c net/enic: flow API debug 2017-06-12 10:41:26 +01:00
enic_main.c ethdev: remove useless parameter in callback process 2018-01-16 18:47:49 +01:00
enic_res.c net/enic: flow API for NICs with advanced filters enabled 2017-06-12 10:41:26 +01:00
enic_res.h net/enic: fix memory leak with oversized Tx packets 2017-02-10 12:25:49 +01:00
enic_rxtx.c net/enic: fix TSO for packets greater than 9208 bytes 2017-11-02 19:32:04 +01:00
enic.h ethdev: add return value to stats get dev op 2017-10-12 01:52:49 +01:00
LICENSE enic: move to drivers/net/ 2015-05-22 16:05:52 +02:00
Makefile pci: introduce library and driver 2017-10-26 23:17:31 +02:00
rte_pmd_enic_version.map enic: move to drivers/net/ 2015-05-22 16:05:52 +02:00