src/dpdk/drivers/net/hinic/hinic_pmd_ethdev.c
static void hinic_dev_interrupt_handler(void *param)
{
	struct rte_eth_dev *dev = param;
	struct hinic_nic_dev *nic_dev = HINIC_ETH_DEV_TO_PRIVATE_NIC_DEV(dev);

	if (!rte_bit_relaxed_get32(HINIC_DEV_INTR_EN, &nic_dev->dev_status)) {
		PMD_DRV_LOG(WARNING, "Device's interrupt is disabled, ignore interrupt event, dev_name: %s, port_id: %d",
			    nic_dev->proc_dev_name, dev->data->port_id);
		return;
	}

	/* aeq0 msg handler */
	hinic_dev_handle_aeq_event(nic_dev->hwdev, param);
}
/**
 * Interrupt handler triggered by NIC  for handling
 * specific event.
 *
 * @param: The address of parameter (struct rte_eth_dev *) regsitered before.
 */
Interrupt handler triggered by NIC  for handling
specific event.

@param: The address of parameter (struct rte_eth_dev *) regsitered before.
Interrupt handler triggered by NIC for handling specific event . @param : The address of parameter ( struct rte_eth_dev * ) regsitered before .
static void hinic_dev_interrupt_handler(void *param)
{
	struct rte_eth_dev *dev = param;
	struct hinic_nic_dev *nic_dev = HINIC_ETH_DEV_TO_PRIVATE_NIC_DEV(dev);
	if (!rte_bit_relaxed_get32(HINIC_DEV_INTR_EN, &nic_dev->dev_status)) {
		PMD_DRV_LOG(WARNING, "Device's interrupt is disabled, ignore interrupt event, dev_name: %s, port_id: %d",
			    nic_dev->proc_dev_name, dev->data->port_id);
		return;
	}
	hinic_dev_handle_aeq_event(nic_dev->hwdev, param);
}
static void hinic_dev_interrupt_handler ( void * param ) { struct rte_eth_dev * dev = param ; struct hinic_nic_dev * nic_dev = HINIC_ETH_DEV_TO_PRIVATE_NIC_DEV ( dev ) ; if ( ! rte_bit_relaxed_get32 ( HINIC_DEV_INTR_EN , & nic_dev -> dev_status ) ) { PMD_DRV_LOG ( WARNING , " " , nic_dev -> proc_dev_name , dev -> data -> port_id ) ; return ; } hinic_dev_handle_aeq_event ( nic_dev -> hwdev , param ) ; }
Interrupt handler triggered by NIC  for handling
 specific event.
Interrupt handler triggered by NIC for handling specific event .
/* aeq0 msg handler */