Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753103Ab3EaDcR (ORCPT ); Thu, 30 May 2013 23:32:17 -0400 Received: from mail-vc0-f169.google.com ([209.85.220.169]:49527 "EHLO mail-vc0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751494Ab3EaDcK (ORCPT ); Thu, 30 May 2013 23:32:10 -0400 MIME-Version: 1.0 In-Reply-To: <20130530114132.12653.19059.stgit@ladj378.jer.intel.com> References: <20130530114045.12653.79183.stgit@ladj378.jer.intel.com> <20130530114132.12653.19059.stgit@ladj378.jer.intel.com> Date: Fri, 31 May 2013 11:32:09 +0800 Message-ID: Subject: Re: [PATCH v7 net-next 4/5] ixgbe: Add support for ndo_ll_poll From: Cong Wang To: Eliezer Tamir Cc: David Miller , LKML , Linux Kernel Network Developers , Jesse Brandeburg , Don Skidmore , e1000-devel@lists.sourceforge.net, Willem de Bruijn , Eric Dumazet , Ben Hutchings , Andi Kleen , HPA , Eilon Greenstien , Or Gerlitz , Alex Rosenbaum , Eliezer Tamir Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1046 Lines: 40 On Thu, May 30, 2013 at 7:41 PM, Eliezer Tamir wrote: .... > +#else /* CONFIG_NET_LL_RX_POLL */ > +static inline void ixgbe_qv_init_lock(struct ixgbe_q_vector *q_vector) > +{ > +} > + > +static inline int ixgbe_qv_lock_napi(struct ixgbe_q_vector *q_vector) > +{ > + return true; > +} > + > +static inline int ixgbe_qv_unlock_napi(struct ixgbe_q_vector *q_vector) > +{ > + return false; > +} > + > +static inline int ixgbe_qv_lock_poll(struct ixgbe_q_vector *q_vector) > +{ > + return false; > +} > + > +static inline int ixgbe_qv_unlock_poll(struct ixgbe_q_vector *q_vector) > +{ > + return false; > +} > + > +static inline int ixgbe_qv_ll_polling(struct ixgbe_q_vector *q_vector) > +{ > + return false; > +} Then please make them bool. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/