From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ramachandra K" Subject: Re: [ofa-general] Re: [PATCH 10/13] QLogic VNIC: Driver Statistics collection Date: Tue, 20 May 2008 22:22:50 +0530 Message-ID: <71d336490805200952k2c31b6abkfcf70ed7481a95d@mail.gmail.com> References: <20080430171028.31725.86190.stgit@localhost.localdomain> <20080430172055.31725.70663.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, amar.mudrankit@qlogic.com, general@lists.openfabrics.org, poornima.kamath@qlogic.com To: "Roland Dreier" Return-path: In-Reply-To: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: general-bounces@lists.openfabrics.org Errors-To: general-bounces@lists.openfabrics.org List-Id: netdev.vger.kernel.org Roland, On Fri, May 16, 2008 at 4:03 AM, Roland Dreier wrote: > > +#else /*CONFIG_INIFINIBAND_VNIC_STATS*/ > > + > > +static inline void vnic_connected_stats(struct vnic *vnic) > > +{ > > + ; > > +} > > there are an awful lot of stubs here. Do you really expect anyone to > set CONFIG_INFINIBAND_QLGC_VNIC_STATS=n? Sorry, missed this comment from the first round of review. Yes, the default behavior we want is to disable the statistics collection as some of the statistics collection is in the data transfer path and hence this code can add overheads. These statistics are more for performance debugging/tuning. Regards, Ram