[dpdk-dev] [PATCH v6 7/8] igb: enable rx queue interrupts for PF

Stephen Hemminger stephen at networkplumber.org
Fri Mar 20 21:51:08 CET 2015


On Fri, 27 Feb 2015 12:56:15 +0800
Cunming Liang <cunming.liang at intel.com> wrote:

>  
>  /*
> + * It clears the interrupt causes and enables the interrupt.
> + * It will be called once only during nic initialized.
> + *
> + * @param dev
> + *  Pointer to struct rte_eth_dev.
> + *
> + * @return
> + *  - On success, zero.
> + *  - On failure, a negative value.
> + */
> +static int eth_igb_rxq_interrupt_setup(struct rte_eth_dev *dev)
> +{
> +

This function should be void
It always succeeds and the caller just not check the return value.

If you did this in one driver, I bet other drivers have same problem.


More information about the dev mailing list