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

2015-10-22 Thread David Miller
From: Michael Chan Date: Wed, 21 Oct 2015 03:45:08 -0400 > Broadcom ethernet driver for the new family of NetXtreme-C/E > ethernet devices. Please don't have empty blank lines at the end of files, GIT even warns about this. davem@greenl8ke:~/src/GIT/net-next$ git am --signoff net-next-v4-bnxt_

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

2015-10-21 Thread Stephen Hemminger
On Wed, 21 Oct 2015 03:45:08 -0400 Michael Chan 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 o