On Wed, 21 Oct 2015 03:45:08 -0400
Michael Chan <mc...@broadcom.com> 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.

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to