lkml.org 
[lkml]   [2003]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: proposed optimization for network drivers
Don Cohen wrote:
> In part I agree. I would have preferred to make my change in one
> place instead of one driver at a time. On the other hand, it seems to
> me that some of these details are already spread around all the
> drivers. For instance, why does every driver have to call
> eth_type_trans? Could that be delayed for netif_rx ?
>
> I do think it's reasonable for a driver to test whether the upper
> layers are ready to process another packet. I suggest that this
> test be encapsulated into a new function that can be changed at the
> cost of only recompiling all the drivers.


Why not NAPI? That is the existing mechanism provided to let the upper
layer feedback to the low-level driver system congestion information.

Jeff



-
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/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.034 / U:1.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site