src/dpdk/drivers/net/mlx5/linux/mlx5_socket.c
static int
mlx5_pmd_interrupt_handler_install(void)
{
	MLX5_ASSERT(server_socket);
	server_intr_handle.fd = server_socket;
	server_intr_handle.type = RTE_INTR_HANDLE_EXT;
	return rte_intr_callback_register(&server_intr_handle,
					  mlx5_pmd_socket_handle, NULL);
}
/**
 * Install interrupt handler.
 *
 * @param dev
 *   Pointer to Ethernet device.
 * @return
 *   0 on success, a negative errno value otherwise.
 */
Install interrupt handler.
@param dev
Pointer to Ethernet device.
@return
0 on success, a negative errno value otherwise.
Install interrupt handler . @param dev Pointer to Ethernet device . @return 0 on success a negative errno value otherwise .
static int
mlx5_pmd_interrupt_handler_install(void)
{
	MLX5_ASSERT(server_socket);
	server_intr_handle.fd = server_socket;
	server_intr_handle.type = RTE_INTR_HANDLE_EXT;
	return rte_intr_callback_register(&server_intr_handle,
					  mlx5_pmd_socket_handle, NULL);
}
static int mlx5_pmd_interrupt_handler_install ( void ) { MLX5_ASSERT ( server_socket ) ; server_intr_handle . fd = server_socket ; server_intr_handle . type = RTE_INTR_HANDLE_EXT ; return rte_intr_callback_register ( & server_intr_handle , mlx5_pmd_socket_handle , NULL ) ; }
Install interrupt handler.
Install interrupt handler .