src/dpdk/drivers/net/nfp/nfp_net.c
static void
nfp_net_dev_interrupt_delayed_handler(void *param)
{
	struct rte_eth_dev *dev = (struct rte_eth_dev *)param;

	nfp_net_link_update(dev, 0);
	rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC, NULL);

	nfp_net_dev_link_status_print(dev);

	/* Unmasking */
	nfp_net_irq_unmask(dev);
}
/*
 * Interrupt handler which shall be registered for alarm callback for delayed
 * handling specific interrupt to wait for the stable nic state. As the NIC
 * interrupt state is not stable for nfp after link is just down, it needs
 * to wait 4 seconds to get the stable status.
 *
 * @param handle   Pointer to interrupt handle.
 * @param param    The address of parameter (struct rte_eth_dev *)
 *
 * @return  void
 */
Interrupt handler which shall be registered for alarm callback for delayed
handling specific interrupt to wait for the stable nic state. As the NIC
interrupt state is not stable for nfp after link is just down, it needs
to wait 4 seconds to get the stable status.

@param handle   Pointer to interrupt handle.
@param param    The address of parameter (struct rte_eth_dev *)

@return  void
Interrupt handler which shall be registered for alarm callback for delayed handling specific interrupt to wait for the stable nic state . As the NIC interrupt state is not stable for nfp after link is just down it needs to wait 4 seconds to get the stable status . @param handle Pointer to interrupt handle . @param param The address of parameter ( struct rte_eth_dev * ) @return void
static void
nfp_net_dev_interrupt_delayed_handler(void *param)
{
	struct rte_eth_dev *dev = (struct rte_eth_dev *)param;
	nfp_net_link_update(dev, 0);
	rte_eth_dev_callback_process(dev, RTE_ETH_EVENT_INTR_LSC, NULL);
	nfp_net_dev_link_status_print(dev);
	nfp_net_irq_unmask(dev);
}
static void nfp_net_dev_interrupt_delayed_handler ( void * param ) { struct rte_eth_dev * dev = ( struct rte_eth_dev * ) param ; nfp_net_link_update ( dev , 0 ) ; rte_eth_dev_callback_process ( dev , RTE_ETH_EVENT_INTR_LSC , NULL ) ; nfp_net_dev_link_status_print ( dev ) ; nfp_net_irq_unmask ( dev ) ; }
Interrupt handler which shall be registered for alarm callback for delayed
 handling specific interrupt to wait for the stable nic state.
Interrupt handler which shall be registered for alarm callback for delayed handling specific interrupt to wait for the stable nic state .
/* Unmasking */