numam-dpdk/drivers/net/mlx4
Adrien Mazarguil 63c2f23c85 net/mlx4: use a single interrupt handle
The reason one interrupt handle is currently used for RMV/LSC events and
another one for Rx traffic is because these come from distinct file
descriptors.

This can be simplified however as Rx interrupt file descriptors are stored
elsewhere and are registered separately.

Modifying the interrupt handle type to RTE_INTR_HANDLE_UNKNOWN has never
been necessary as disabling interrupts is actually done by unregistering
the associated callback (RMV/LSC) or emptying the EFD array (Rx). Instead,
make clear that the base handle file descriptor is invalid by setting it to
-1 when disabled.

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
2017-10-06 02:49:48 +02:00
..
Makefile net/mlx4: revert multicast echo prevention 2017-10-06 02:49:48 +02:00
mlx4_flow.c net/mlx4: separate debugging macros 2017-10-06 02:49:48 +02:00
mlx4_flow.h net/mlx4: revert flow API RSS support 2017-10-06 02:49:47 +02:00
mlx4_utils.h net/mlx4: separate debugging macros 2017-10-06 02:49:48 +02:00
mlx4.c net/mlx4: use a single interrupt handle 2017-10-06 02:49:48 +02:00
mlx4.h net/mlx4: use a single interrupt handle 2017-10-06 02:49:48 +02:00
rte_pmd_mlx4_version.map mlx4: move to drivers/net/ 2015-05-22 16:06:22 +02:00