netdev
[Top] [All Lists]

Re: [PATCH 2.6.9-rc2 3/8] S2io: optimizations

To: ravinandan.arakali@xxxxxxxx
Subject: Re: [PATCH 2.6.9-rc2 3/8] S2io: optimizations
From: Jeff Garzik <jgarzik@xxxxxxxxx>
Date: Thu, 14 Oct 2004 10:46:26 -0400
Cc: "'Francois Romieu'" <romieu@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx, leonid.grossman@xxxxxxxx, raghavendra.koushik@xxxxxxxx, rapuru.sriram@xxxxxxxx
In-reply-to: <004601c4b18b$2ee81a30$6c10100a@S2IOtech.com>
References: <004601c4b18b$2ee81a30$6c10100a@S2IOtech.com>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922
Ravinandan Arakali wrote:
Hi,
Following are the optimization-related changes made in this patch.


No objections to this patch, but did I miss a description of the following change?

-       if ((sp->pkt_cnt[ring] - rxb_size) > 128) {
+       if ((sp->pkt_cnt[ring] - rxb_size) > 16) {
                level = LOW;
-               if (rxb_size < sp->pkt_cnt[ring] / 8)
+               if ((sp->pkt_cnt[ring] - rxb_size) < MAX_RXDS_PER_BLOCK) {
                        level = PANIC;
+               }
        }


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