netdev
[Top] [All Lists]

Re: [PATCH] Break 'budget' dependency on netdev_max_backlog.

To: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Subject: Re: [PATCH] Break 'budget' dependency on netdev_max_backlog.
From: jamal <hadi@xxxxxxxxxx>
Date: Tue, 22 Oct 2002 23:21:08 -0400 (EDT)
Cc: "'netdev@xxxxxxxxxxx'" <netdev@xxxxxxxxxxx>
In-reply-to: <3DB60B4E.1090004@candelatech.com>
Sender: netdev-bounce@xxxxxxxxxxx

On Tue, 22 Oct 2002, Ben Greear wrote:

> Think we should add an IOCTL to change the weight of a device
> dynamically?  (I want my e1000 and tg3 to have higher weight than
> the tulip nics, I imagine)
>
> Is there a ready-built proc interface to do things to individual devices?
>

tulip hardcodes it; net/core/dev.c::weight_p is supposed to be the general
one and is proc settable via NET_CORE_DEV_WEIGHT; only problem is that
is not shadowed by the devices.
I am not sure if ioctls or module parameters are the best way to override
the default weight_p value. Somehow we need something to set this value.

cheers,
jamal


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