All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Xen-changelog] Add a /proc interface for setting rx-buffer allocation policy in
       [not found] <E1DSvAn-00020G-Ow@moria.surriel.com>
@ 2005-05-03 11:31 ` Gerd Knorr
  2005-05-03 12:21   ` Keir Fraser
  0 siblings, 1 reply; 2+ messages in thread
From: Gerd Knorr @ 2005-05-03 11:31 UTC (permalink / raw)
  To: Xen Development List

BitKeeper Bot <riel@surriel.com> writes:

> ChangeSet 1.1159.256.110, 2005/05/03 11:54:00+01:00, kaf24@firebug.cl.cam.ac.uk
> 
> 	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)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Re: [Xen-changelog] Add a /proc interface for setting rx-buffer allocation policy in
  2005-05-03 11:31 ` [Xen-changelog] Add a /proc interface for setting rx-buffer allocation policy in Gerd Knorr
@ 2005-05-03 12:21   ` Keir Fraser
  0 siblings, 0 replies; 2+ messages in thread
From: Keir Fraser @ 2005-05-03 12:21 UTC (permalink / raw)
  To: Gerd Knorr; +Cc: Xen Development List


On 3 May 2005, at 12:31, Gerd Knorr wrote:

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

This should happen when xenbus is implemented -- it can create a 
virtual bus in sysfs and then virtual device info and parameters can 
hang off of that. I think someone from Redhat (possibly Jeremy Katz) 
was going to look into implementing xenbus.

For the time being I don't see any reason for them not to hang out in 
/proc. We probably want xenbus before going into mainline anyway.

  -- Keir

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-05-03 12:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1DSvAn-00020G-Ow@moria.surriel.com>
2005-05-03 11:31 ` [Xen-changelog] Add a /proc interface for setting rx-buffer allocation policy in Gerd Knorr
2005-05-03 12:21   ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.