From: Mark Einon Subject: Re: [PATCH 8/8] staging: et131x: Implement NAPI support Date: Thu, 21 Aug 2014 10:23:05 +0100 Message-ID: <20140821092302.GB2230@msilap.einon.net> References: <1408573078-9320-1-git-send-email-mark.einon@gmail.com> <1408573078-9320-9-git-send-email-mark.einon@gmail.com> <20140820202501.558fdb3f@uryu.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: devel@driverdev.osuosl.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org To: Stephen Hemminger Return-path: Content-Disposition: inline In-Reply-To: <20140820202501.558fdb3f@uryu.home.lan> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: driverdev-devel-bounces@linuxdriverproject.org List-Id: netdev.vger.kernel.org On Wed, Aug 20, 2014 at 08:25:01PM -0700, Stephen Hemminger wrote: > On Wed, 20 Aug 2014 23:17:58 +0100 > Mark Einon wrote: > > > > > + if (budget > MAX_PACKETS_HANDLED) > > + limit = MAX_PACKETS_HANDLED; > > Why this artificial restriction? Hi Stephen, thanks for the review. It's a restriction that was in the original driver code, and I'm being cautious. I don't have much documentation for the device, and I haven't yet figured a way to test the limit so I can play with removing it. If you have any suggestions on how to do that, I'd be happy to hear them. Cheers, Mark