Subject: Re: [PATCH net-next v4] bnxt_en: New Broadcom ethernet driver.

From: Stephen Hemminger <[email-masked]>
Date: Wed, 21 Oct 2015 17:31:53 -0700

On Wed, 21 Oct 2015 03:45:08 -0400
Michael Chan <[email-masked]> wrote:

> +static inline void bnxt_enable_poll(struct bnxt_napi *bnapi)
> +{
> +#ifdef CONFIG_NET_RX_BUSY_POLL
> +	atomic_set(&bnapi->poll_state, BNXT_STATE_IDLE);
> +#endif
> +}

We need a better way to abstract this and get the #ifdef
clutter out of the network drivers.