WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [Xen-changelog] Add a /proc interface for setting rx-buf

To: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [Xen-changelog] Add a /proc interface for setting rx-buffer allocation policy in
From: Gerd Knorr <kraxel@xxxxxxxxxxx>
Date: 03 May 2005 13:31:31 +0200
Delivery-date: Tue, 03 May 2005 11:34:42 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <E1DSvAn-00020G-Ow@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: SUSE Labs, Berlin
References: <E1DSvAn-00020G-Ow@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3
BitKeeper Bot <riel@xxxxxxxxxxx> writes:

> ChangeSet 1.1159.256.110, 2005/05/03 11:54:00+01:00, 
> kaf24@xxxxxxxxxxxxxxxxxxxx
> 
>       Add a /proc interface for setting rx-buffer allocation policy in
>       the netfront driver.
>       e.g., 'echo 256 >/proc/xen/net/eth0/rxbuf_min' will avoid unnecessary
>       packet drops by always allocating the maximum possible number of
>       buffers at all times, at the expense of extra memory usage when the
>       interface is idle.

Be prepared to be flamed for that on lkml, using /proc for stuff like
that (i.e. driver specifix settings) is depricated these days.  It
should go to sysfs instead.

I can come up with a patch for that, might take some days though as
I'm busy with some non-xen stuff at the moment.

cheers,

  Gerd

btw: can whoever runs the changelog list (rik?) please add the
repository (2.0, unstable, ...) to to subject line please?  And while
you are at it: -p1 for the diffstat would be cool as well, especially
for one-file commits, there are -- for example -- plenty of page.h
files in the tree.  Thanks.

-- 
#define printk(args...) fprintf(stderr, ## args)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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