[Top] [All Lists]

Re: RFC: NAPI packet weighting patch

To: netdev@xxxxxxxxxxx
Subject: Re: RFC: NAPI packet weighting patch
From: Rick Jones <rick.jones2@xxxxxx>
Date: Wed, 22 Jun 2005 13:35:46 -0700
Cc: hadi@xxxxxxxxxx, becker@xxxxxxxxx
In-reply-to: <20050622.132241.21929037.davem@xxxxxxxxxxxxx>
References: <1119458226.6918.142.camel@xxxxxxxxxxxxxxxxxxxxx> <200506221801.j5MI11xS021866@xxxxxxxxxxxxxxxxx> <20050622180654.GX14251@xxxxxxxxxxxxx> <20050622.132241.21929037.davem@xxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; HP-UX 9000/785; en-US; rv:1.6) Gecko/20040304

Everyone seems to have this absolute fetish about batching the RX
descriptor refilling work.  It's wrong, it should be done when you
pull a receive packet off the ring, for many reasons.  Off the top of
my head:

1) Descriptors are refilled as soon as possible, decreasing
   the chance of the device hitting the end of the RX ring
   and thus unable to receive a packet.

IFF one pokes the NIC for each buffer right?

rick jones

<Prev in Thread] Current Thread [Next in Thread>