Re: Network virtualization/isolation

2006-10-27 Thread Dmitry Mishin
On Thursday 26 October 2006 19:56, Stephen Hemminger wrote: On Thu, 26 Oct 2006 11:44:55 +0200 Daniel Lezcano [EMAIL PROTECTED] wrote: Stephen Hemminger wrote: On Wed, 25 Oct 2006 17:51:28 +0200 Daniel Lezcano [EMAIL PROTECTED] wrote: Hi Stephen, currently the work to make the

Re: Network virtualization/isolation

2006-10-27 Thread Daniel Lezcano
[ ... ] Dmitry Mishin wrote: Stephen, Virtualized container can be secure, if it is complete system virtualization, not just an application container. OpenVZ implements such and it is used hard over the world. And of course, we care a lot to keep hostile root from killing whole system.

Re: [PATCH] Check if user has CAP_NET_ADMIN to change congestion control algorithm

2006-10-27 Thread Hagen Paul Pfeifer
* David Miller | 2006-10-26 17:02:21 [-0700]: Your email client turned the tabs into spaces in the patch making it useless. Sorry my mistake! I am en route and I paste the patch into my editor, who eat all tabs. One more time: sorry! Check if user has CAP_NET_ADMIN capability to change

RE: [PATCH] s2io: add PCI error recovery support

2006-10-27 Thread Ananda Raju
Looking at all scenarios I feel the first patch is OK. Can you add the watchdog timer fix to first initial patch and resubmit. -Original Message- From: Linas Vepstas [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 3:52 PM To: Ananda Raju Cc: Wen Xiong;

Re: [PATCH] Check if user has CAP_NET_ADMIN to change congestion control algorithm

2006-10-27 Thread Stephen Hemminger
On Fri, 27 Oct 2006 12:43:11 +0200 Hagen Paul Pfeifer [EMAIL PROTECTED] wrote: * David Miller | 2006-10-26 17:02:21 [-0700]: Your email client turned the tabs into spaces in the patch making it useless. Sorry my mistake! I am en route and I paste the patch into my editor, who eat all

Re: [PATCH] Rewrite e100_phys_id

2006-10-27 Thread Auke Kok
Matthew Wilcox wrote: On Thu, Oct 26, 2006 at 01:04:32PM -0700, Auke Kok wrote: no objections, so I'll ACK it with the notion that I'm going to let our labs do some more testing on it with all the latest changes to it. Thanks, Auke. Here's the equivalent patch for e1000. I don't have a

Re: [PATCH] Check if user has CAP_NET_ADMIN to change congestion control algorithm

2006-10-27 Thread Hagen Paul Pfeifer
* Stephen Hemminger | 2006-10-27 07:41:02 [-0700]: Please no, it makes the socket option useless. Technical no, in the sense of usability for everybody yes. You are right Stephen, as a programmer I understand you complete! But on the other side: We know for sure that this IS a problem if we

Re: [PATCH] Check if user has CAP_NET_ADMIN to change congestion control algorithm

2006-10-27 Thread Stephen Hemminger
Hagen Paul Pfeifer wrote: * Stephen Hemminger | 2006-10-27 07:41:02 [-0700]: Please no, it makes the socket option useless. Technical no, in the sense of usability for everybody yes. You are right Stephen, as a programmer I understand you complete! But on the other side: We know for

[IPROUTE] manpage for rtmon

2006-10-27 Thread Michael Prokop
Hello, another manpage, this time for rtmon. Would be great if it could be applied to the next release too. regards, -mika- -- ,'`. http://www.michael-prokop.at/ ( grml.org -ยป Linux Live-CD for texttool-users and sysadmins `._,' http://www.grml.org/ .TH RTMON 8 .SH NAME rtmon

[PATCH] sky2: not experimental

2006-10-27 Thread Stephen Hemminger
The sky2 driver is no longer in experimental state. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- sky2.orig/drivers/net/Kconfig 2006-10-27 10:16:44.0 -0700 +++ sky2/drivers/net/Kconfig2006-10-27 10:20:20.0 -0700 @@ -2112,7 +2112,7 @@ config SKY2

[take21 1/4] kevent: Core files.

2006-10-27 Thread Evgeniy Polyakov
Core files. This patch includes core kevent files: * userspace controlling * kernelspace interfaces * initialization * notification state machines Some bits of documentation can be found on project's homepage (and links from there):

[take21 4/4] kevent: Timer notifications.

2006-10-27 Thread Evgeniy Polyakov
Timer notifications. Timer notifications can be used for fine grained per-process time management, since interval timers are very inconvenient to use, and they are limited. This subsystem uses high-resolution timers. id.raw[0] is used as number of seconds id.raw[1] is used as number of

[take21 0/4] kevent: Generic event handling mechanism.

2006-10-27 Thread Evgeniy Polyakov
Generic event handling mechanism. Consider for inclusion. Changes from 'take20' patchset: * new ring buffer implementation * removed artificial limit on possible number of kevents With this release and fixed userspace web server it was possible to achive 3960+ req/s with client connection

[take21 3/4] kevent: Socket notifications.

2006-10-27 Thread Evgeniy Polyakov
Socket notifications. This patch includes socket send/recv/accept notifications. Using trivial web server based on kevent and this features instead of epoll it's performance increased more than noticebly. More details about various benchmarks and server itself (evserver_kevent.c) can be found

Re: [openib-general] [PATCH 1/9] NetEffect 10Gb RNIC Driver: kernel Kconfig and makefiles

2006-10-27 Thread James Lentini
On Thu, 26 Oct 2006, Glenn Grundstrom wrote: diff -ruNp old/drivers/infiniband/hw/nes/Makefile new/drivers/infiniband/hw/nes/Makefile --- old/drivers/infiniband/hw/nes/Makefile1969-12-31 18:00:00.0 -0600 +++ new/drivers/infiniband/hw/nes/Makefile2006-10-25

Re: [openib-general] [PATCH 3/9] NetEffect 10Gb RNIC Driver: openfabrics connection manager c file

2006-10-27 Thread Tom Tucker
[...snip...] +extern void set_interface( +UINT32ip_addr, These should probably be the standard linux types u32, or uint32 +UINT32mask, +UINT32bcastaddr, +

[PATCH] tcp: don't allow unfair congestion control to be built without warning

2006-10-27 Thread Stephen Hemminger
My proposed method restricting TCP choices to fair algorithms. This a net wide, not system wide issue, it should not be done by kernel policy choice (capability), but by a build choice. --- sky2.orig/net/ipv4/Kconfig 2006-10-27 10:10:47.0 -0700 +++ sky2/net/ipv4/Kconfig 2006-10-27

Re: [IPROUTE] manpage for rtmon

2006-10-27 Thread Stephen Hemminger
On Fri, 27 Oct 2006 19:22:11 +0200 Michael Prokop [EMAIL PROTECTED] wrote: User-Agent: mutt-ng devel-r316 (Debian) Hello, added. -- Stephen Hemminger [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH] tcp: don't allow unfair congestion control to be built without warning

2006-10-27 Thread John Heffner
I think unfair is a difficult word. Unfair to what? It's true that Scalable TCP is unfair to itself in that flows with unequal shares do not converge, but it's not clear what its interactions are with other congestion control algorithms. It's not clear to me that it's significantly more

[PATCH] tcp: setsockopt congestion control autoload

2006-10-27 Thread Stephen Hemminger
If application asks for a congestion control type with setsockopt() then it may be available as a module not included in the kernel already. If it has permission to load modules then the tcp congestion module should be autoloaded if needed. This is done already when the default selection is

Re: [PATCH 9/13] [SCTP] Merge IPv4 and IPv6 versions of get_saddr() with their corresponding get_dst().

2006-10-27 Thread Sridhar Samudrala
On Tue, 2006-10-17 at 03:19 +0300, Ville Nuorvala wrote: As the IPv6 route lookup now also returns the selected source address there is no need for a separate source address lookup. In fact, the source address selection needs to be moved to get_dst() because the selected IPv6 source address

Re: [PATCH] s2io: add PCI error recovery support

2006-10-27 Thread Linas Vepstas
On Fri, Oct 27, 2006 at 07:35:18AM -0400, Ananda Raju wrote: Looking at all scenarios I feel the first patch is OK. Can you add the watchdog timer fix to first initial patch and resubmit. Appended below. So -- just for grins, I thought to myself, Maybe I can make s2io be the first adapter

Re: [openib-general] [PATCH 1/5] NetEffect 10Gb RNIC Userspace Library: userspace config generation

2006-10-27 Thread Roland Dreier
I don't think the userspace stuff belongs on netdev. Someone please correct me if I'm wrong. Yeah, it's not a bad thing to get wider review, but your userspace library is pretty much your business. If you screw it up it doesn't hurt anyone else, so I'm happy to let you write it however you

Re: [openib-general] [PATCH 1/5] NetEffect 10Gb RNIC Userspace Library: userspace config generation

2006-10-27 Thread Stephen Hemminger
On Fri, 27 Oct 2006 10:56:45 -0700 Roland Dreier [EMAIL PROTECTED] wrote: I don't think the userspace stuff belongs on netdev. Someone please correct me if I'm wrong. Yeah, it's not a bad thing to get wider review, but your userspace library is pretty much your business. If you screw

Re: [PATCH] tcp: don't allow unfair congestion control to be built without warning

2006-10-27 Thread David Miller
From: Stephen Hemminger [EMAIL PROTECTED] Date: Fri, 27 Oct 2006 10:30:16 -0700 My proposed method restricting TCP choices to fair algorithms. This a net wide, not system wide issue, it should not be done by kernel policy choice (capability), but by a build choice. I think this sucks even

Re: [PATCH] Check if user has CAP_NET_ADMIN to change congestion control algorithm

2006-10-27 Thread David Miller
From: Stephen Hemminger [EMAIL PROTECTED] Date: Fri, 27 Oct 2006 07:41:02 -0700 Please no, it makes the socket option useless. If you want to tag some bad apples thats okay, but would need some more infrastructure. The behavior of the TCP stack is a system wide decision. If anything it

Re: [PATCH] tcp: don't allow unfair congestion control to be built without warning

2006-10-27 Thread Stephen Hemminger
On Fri, 27 Oct 2006 14:17:49 -0700 (PDT) David Miller [EMAIL PROTECTED] wrote: From: Stephen Hemminger [EMAIL PROTECTED] Date: Fri, 27 Oct 2006 10:30:16 -0700 My proposed method restricting TCP choices to fair algorithms. This a net wide, not system wide issue, it should not be done by

Re: [PATCH] tcp: don't allow unfair congestion control to be built without warning

2006-10-27 Thread David Miller
From: Stephen Hemminger [EMAIL PROTECTED] Date: Fri, 27 Oct 2006 14:24:02 -0700 Only some (very few) have any bad consequences. So the typical distribution should be able to switch with most available for everyone, and only a few needing special privileges. I would strongly disagree as we've

2.4/2.6 share in linux routers ?

2006-10-27 Thread Yakov Lerner
Hello, I'd like to find/gather estimates about 2.4 vs 2.6 share in [small] linux routers in 2006. Can anyone offer estimates and/or references ? My own estimate is that definite majority is 2.4 (I'd say 75% for 2.4), in small linux routers in 2006. Can anyone offer support or correction ?

2.4/2.6 share in linux routers ?

2006-10-27 Thread Yakov Lerner
Hello, I'd like to find/gather estimates about 2.4 vs 2.6 share in [small] linux routers in 2006. Can anyone offer estimates and/or references ? My own estimate is that definite majority is 2.4 (I'd say 75% for 2.4), in small linux routers in 2006. Can anyone offer support or correction ?

Re: [PATCH] tcp: don't allow unfair congestion control to be built without warning

2006-10-27 Thread Stephen Hemminger
On Fri, 27 Oct 2006 14:37:01 -0700 (PDT) David Miller [EMAIL PROTECTED] wrote: From: Stephen Hemminger [EMAIL PROTECTED] Date: Fri, 27 Oct 2006 14:24:02 -0700 Only some (very few) have any bad consequences. So the typical distribution should be able to switch with most available for

Re: 2.4/2.6 share in linux routers ?

2006-10-27 Thread David Miller
Please stop all of this cross posting. I've just seen you post this same exact email on the netfilter lists too. - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] tcp: don't allow unfair congestion control to be built without warning

2006-10-27 Thread David Miller
From: Stephen Hemminger [EMAIL PROTECTED] Date: Fri, 27 Oct 2006 14:59:13 -0700 On Fri, 27 Oct 2006 14:37:01 -0700 (PDT) David Miller [EMAIL PROTECTED] wrote: From: Stephen Hemminger [EMAIL PROTECTED] Date: Fri, 27 Oct 2006 14:24:02 -0700 Only some (very few) have any bad

Re: [PATCH] tcp: don't allow unfair congestion control to be built without warning

2006-10-27 Thread Stephen Hemminger
On Fri, 27 Oct 2006 15:12:38 -0700 (PDT) David Miller [EMAIL PROTECTED] wrote: From: Stephen Hemminger [EMAIL PROTECTED] Date: Fri, 27 Oct 2006 14:59:13 -0700 On Fri, 27 Oct 2006 14:37:01 -0700 (PDT) David Miller [EMAIL PROTECTED] wrote: From: Stephen Hemminger [EMAIL PROTECTED]

Re: [PATCH] tcp: don't allow unfair congestion control to be built without warning

2006-10-27 Thread David Miller
From: Stephen Hemminger [EMAIL PROTECTED] Date: Fri, 27 Oct 2006 15:21:49 -0700 The restricted flag patch which you have ignored, would be a way to allow them to be configured but tag the bad apples for only root usage. I haven't ignored it, it's in my backlog below more important things like

Re: 2.4/2.6 share in linux routers ?

2006-10-27 Thread Yakov Lerner
On 10/28/06, David Miller [EMAIL PROTECTED] wrote: Please stop all of this cross posting. I've just seen you post this same exact email on the netfilter lists too. Sorry - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More

Re: [PATCH] tcp: don't allow unfair congestion control to be built without warning

2006-10-27 Thread Stephen Hemminger
How about another way of controlling this via sysctl. First, add code to for read only: /proc/sys/net/ipv4/tcp_available_congestion_control (or shorter name) this will show all things compiled in (even if not loaded yet). Similar to

Re: [PATCH 2.6.19-rc3 v2 1/2] amso1100 - Use dma_alloc_coherent instead of kmalloc/dma_map_single.

2006-10-27 Thread Roland Dreier
tsk, tsk: fatal: 7 lines add trailing whitespaces. applied to for-2.6.19 anyway, thanks. - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 2.6.19-rc3 v2 2/2] amso1100 - Fix incorrect pr_debug().

2006-10-27 Thread Roland Dreier
Applied, thanks. - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

[RFC] tcp: available congetsion control

2006-10-27 Thread Stephen Hemminger
Nice way to see what congestion control modules are loaded. It does impose a soft limit of 32 possibilities. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- include/linux/sysctl.h |1 + include/net/tcp.h |3 +++ net/ipv4/sysctl_net_ipv4.c | 25