Re: ES-API?

2006-03-14 Thread Evgeniy Polyakov
On Mon, Mar 13, 2006 at 02:25:08PM -0800, Zach Brown ([EMAIL PROTECTED]) wrote: Hi guys, Hello Zach. I'm hearing noise about the 'Extended Sockets' API in Oracle. It's an extension to the socket API put together by an industry group that calls itself the Interconnect Software Consortium and

Re: [PATCH] [NET] : get rid of 'struct sec_path *' in skbuff if ! CONFIG_XFRM

2006-03-14 Thread Herbert Xu
On Tue, Mar 14, 2006 at 07:23:05AM +0100, Eric Dumazet wrote: Hum, but then we need a new macro or prototype, because n-sp is not valid n-sp = secpath_get(skb-sp); would still miscompile, even if secpath_get() is a no-op How about just leaving sp in the structure unconditionally? Cheers,

Re: [PATCH] [NET] : get rid of 'struct sec_path *' in skbuff if ! CONFIG_XFRM

2006-03-14 Thread Eric Dumazet
Herbert Xu a écrit : On Tue, Mar 14, 2006 at 07:23:05AM +0100, Eric Dumazet wrote: Hum, but then we need a new macro or prototype, because n-sp is not valid n-sp = secpath_get(skb-sp); would still miscompile, even if secpath_get() is a no-op How about just leaving sp in the structure

Re: Router stops routing after changing MAC Address

2006-03-14 Thread Bart Samwel
linux-os (Dick Johnson) wrote: On Mon, 13 Mar 2006, Greg Scott wrote: Bst... Not! There are not any MAC addresses associated with any of the intercity links, usually not even in WANs! MAC is for Ethernet! Once you go to fiber, ATM, T-N, etc., there are no MAC addresses. Bt. According

Re: Router stops routing after changing MAC Address

2006-03-14 Thread Simon Mackinlay
Bt. According to WikiPedia: http://en.wikipedia.org/wiki/MAC_address MAC addresses are used for: - Token ring - 802.11 wireless networks - Bluetooth - FDDI - ATM (switched virtual connections only, as part of an NSAP address) - SCSI and Fibre Channel (as part of a World Wide

Re: Router stops routing after changing MAC Address

2006-03-14 Thread linux-os \(Dick Johnson\)
On Tue, 14 Mar 2006, Bart Samwel wrote: linux-os (Dick Johnson) wrote: On Mon, 13 Mar 2006, Greg Scott wrote: Bst... Not! There are not any MAC addresses associated with any of the intercity links, usually not even in WANs! MAC is for Ethernet! Once you go to fiber, ATM, T-N, etc.,

Re: [2.6 patch] hostap_{pci,plx}.c: fix memory leaks

2006-03-14 Thread Michael Buesch
On Monday 13 March 2006 23:28, you wrote: This patch fixes two memotry leaks spotted by the Coverity checker. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] --- drivers/net/wireless/hostap/hostap_pci.c |6 +++--- drivers/net/wireless/hostap/hostap_plx.c |6 +++--- 2 files

Re: Writing a Rate based transport protocol

2006-03-14 Thread Arnaldo Carvalho de Melo
On 3/13/06, Saurabh Jain [EMAIL PROTECTED] wrote: Hi All, I am trying to write a new rate based transport protocol in linux kernel (either as a module or directly within the kernel). Basically it would be similar to UDP but with features like dynamic rate control, connection and state

Re: ES-API?

2006-03-14 Thread Christoph Hellwig
On Mon, Mar 13, 2006 at 02:25:08PM -0800, Zach Brown wrote: Hi guys, I'm hearing noise about the 'Extended Sockets' API in Oracle. It's an extension to the socket API put together by an industry group that calls itself the Interconnect Software Consortium and is working in partnership with

Re: [PATCH] [NET] : get rid of 'struct sec_path *' in skbuff if ! CONFIG_XFRM

2006-03-14 Thread Arnaldo Carvalho de Melo
On 3/14/06, Eric Dumazet [EMAIL PROTECTED] wrote: Herbert Xu a écrit : On Tue, Mar 14, 2006 at 07:23:05AM +0100, Eric Dumazet wrote: Hum, but then we need a new macro or prototype, because n-sp is not valid n-sp = secpath_get(skb-sp); would still miscompile, even if secpath_get() is a

RE: Router stops routing after changing MAC Address

2006-03-14 Thread Greg Scott
Yet I have real-world examples I've seen with my own eyes where MAC Address problems have messed up bridged networks. I posted some of those here yesterday. Good old Ethernet MAC Addresses can and do play a real role in these wide area networks. Don't believe me? Try it yourself. Find a LAN

Re: ES-API?

2006-03-14 Thread Robert Iakobashvili
Evgeniy, There are some stuff already implemented and presented in netdev@, unfortunately it did not get much attention and feedback. Queue of events used for socket operations: http://tservice.net.ru/~s0mbre/old/?section=projectsitem=kevent http://lwn.net/Articles/171317/

Re: ES-API?

2006-03-14 Thread Evgeniy Polyakov
On Tue, Mar 14, 2006 at 05:48:41PM +0200, Robert Iakobashvili ([EMAIL PROTECTED]) wrote: Evgeniy, There are some stuff already implemented and presented in netdev@, unfortunately it did not get much attention and feedback. Queue of events used for socket operations:

Re: [Fwd: Re: [PATCH 15/16] ipw2200: switch to the new ipw2200-fw-3.0 image format]

2006-03-14 Thread James Ketrenos
Sam Leffler wrote: I don't see how to verify the image being loaded is appropriate for the operating mode. The old fw header had a mode field (0 bss, 1 ibss, 2 monitor) but the new one does not--unless it's encoded in the version field? The filename alone indicates the mode with the new

Re: [PATCH] [NET] : get rid of 'struct sec_path *' in skbuff if ! CONFIG_XFRM

2006-03-14 Thread Eric Dumazet
Arnaldo Carvalho de Melo a écrit : On 3/14/06, Eric Dumazet [EMAIL PROTECTED] wrote: Herbert Xu a écrit : On Tue, Mar 14, 2006 at 07:23:05AM +0100, Eric Dumazet wrote: Hum, but then we need a new macro or prototype, because n-sp is not valid n-sp = secpath_get(skb-sp); would still

Re: ES-API?

2006-03-14 Thread Robert Iakobashvili
See the links below. On 3/14/06, Evgeniy Polyakov [EMAIL PROTECTED] wrote: So, while commercial Unix vendors create rocket-science-capable API, Linux just implements the core. Your patches have been recently discussed on ACE mail list regarding future support of linux kernel to

Re: netconsole: no IP address for eth0, aborting

2006-03-14 Thread Matt Mackall
On Sun, Mar 12, 2006 at 04:27:51PM -0800, Randy.Dunlap wrote: hardware: e1000 NIC in ThinkPad T42 kernel: 2.6.16-rc5-mm3 I always get $subject message. I changed the delay in net/core/netpoll.c from 4 seconds to 9 seconds, but it doesn't matter, the e1000 always finds Link is Up

Re: ES-API?

2006-03-14 Thread Iain . Hanson
Ugh... So people can find the ways to connect kernelspace event queue and asynchronous networking operations with object-oriented design patterns? It's time to me to have a step forward from stone age... yep ;-). Could you please provide a link, it would be nice to read this discussion. Here

Re: netconsole: no IP address for eth0, aborting

2006-03-14 Thread Randy.Dunlap
On Mon, 13 Mar 2006 22:29:12 -0600 Matt Mackall wrote: On Sun, Mar 12, 2006 at 04:27:51PM -0800, Randy.Dunlap wrote: hardware: e1000 NIC in ThinkPad T42 kernel: 2.6.16-rc5-mm3 I always get $subject message. I changed the delay in net/core/netpoll.c from 4 seconds to 9 seconds,

Re: [PATCH] [NET] : get rid of 'struct sec_path *' in skbuff if ! CONFIG_XFRM

2006-03-14 Thread Arnaldo Carvalho de Melo
On 3/14/06, Eric Dumazet [EMAIL PROTECTED] wrote: Arnaldo Carvalho de Melo a écrit : On 3/14/06, Eric Dumazet [EMAIL PROTECTED] wrote: Herbert Xu a écrit : On Tue, Mar 14, 2006 at 07:23:05AM +0100, Eric Dumazet wrote: Hum, but then we need a new macro or prototype, because n-sp is not

Re: [PATCH] [NET] : get rid of 'struct sec_path *' in skbuff if ! CONFIG_XFRM

2006-03-14 Thread Eric Dumazet
Arnaldo Carvalho de Melo a écrit : On 3/14/06, Eric Dumazet [EMAIL PROTECTED] wrote: Arnaldo Carvalho de Melo a écrit : On 3/14/06, Eric Dumazet [EMAIL PROTECTED] wrote: Herbert Xu a écrit : On Tue, Mar 14, 2006 at 07:23:05AM +0100, Eric Dumazet wrote: Hum, but then we need a new macro or

Re: drivers/net/chelsio/sge.c: two array overflows

2006-03-14 Thread Scott Bardone
I had meant to say the array contains 3 elements but should only access index 2. Sorry for the confusion. -Scott Ingo Oeser wrote: Hi Scott, You wrote: This is a bug. The array should contain 2 elements. Sure? It either contains 3 elements or your patch is not fixing the issue. Please

Re: [PATCH] [NET] : get rid of 'struct sec_path *' in skbuff if ! CONFIG_XFRM

2006-03-14 Thread Arnaldo Carvalho de Melo
On 3/14/06, Eric Dumazet [EMAIL PROTECTED] wrote: Arnaldo Carvalho de Melo a écrit : On 3/14/06, Eric Dumazet [EMAIL PROTECTED] wrote: Arnaldo Carvalho de Melo a écrit : On 3/14/06, Eric Dumazet [EMAIL PROTECTED] wrote: Herbert Xu a écrit : On Tue, Mar 14, 2006 at 07:23:05AM +0100, Eric

[PATCH] forcedeth: move config to gigabit menu

2006-03-14 Thread Stephen Hemminger
Since the nforce ether ethernet driver supports gigabit, it should be moved down in the Kconfig file to show up in the 1000Mbit submenu. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- test-2.6/drivers/net/Kconfig.orig 2006-03-14 10:45:13.0 -0800 +++

Re: netconsole: no IP address for eth0, aborting

2006-03-14 Thread Matt Mackall
On Tue, Mar 14, 2006 at 09:31:08AM -0800, Randy.Dunlap wrote: On Mon, 13 Mar 2006 22:29:12 -0600 Matt Mackall wrote: On Sun, Mar 12, 2006 at 04:27:51PM -0800, Randy.Dunlap wrote: hardware: e1000 NIC in ThinkPad T42 kernel: 2.6.16-rc5-mm3 I always get $subject message. I

RE: [PATCH] forcedeth: move config to gigabit menu

2006-03-14 Thread Ayaz Abdulla
Can we remove Reverse Engineered and (EXPERIMENTAL) now? Thanks, Ayaz -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Hemminger Sent: Tuesday, March 14, 2006 10:50 AM To: Manfred Spraul [EMAIL PROTECTED], Jeff Garzik [EMAIL PROTECTED]@osdl.org

[ethtool] UFO patch

2006-03-14 Thread Ananda Raju
Hi, Kernel version 2.6.15 onwards provides UDP Fragmentation Offload (UFO) This patch to ethtool provides UFO (UDP Fragmentation Offload) on/off support using -K option similar to feature TSO. To find out whether UFO is enabled or not use #ethtool -k eth3 Offload parameters for eth3:

Re: [PATCH 1/8] [I/OAT] DMA memcpy subsystem

2006-03-14 Thread Pavel Machek
Hi! --- /dev/null +++ b/drivers/dma/dmaengine.c @@ -0,0 +1,360 @@ +/* +Copyright(c) 2004 - 2006 Intel Corporation. All rights reserved. + +This program is free software; you can redistribute it and/or modify it

Re: Router stops routing after changing MAC Address

2006-03-14 Thread Valdis . Kletnieks
On Mon, 13 Mar 2006 17:35:50 EST, linux-os (Dick Johnson) said: Bst... Not! There are not any MAC addresses associated with any of the intercity links, usually not even in WANs! MAC is for Ethernet! Once you go to fiber, ATM, T-N, etc., there are no MAC addresses. This will come as a

[PATCH 2.6.16-rc6 1/3] e100/e1000/ixgb: update MAINTAINERS to current developers

2006-03-14 Thread Jesse Brandeburg
From: Jesse Brandeburg [EMAIL PROTECTED] Remove Ganesh, add Jeff and Jesse Signed-off-by: Jesse Brandeburg [EMAIL PROTECTED] --- MAINTAINERS | 16 ++-- 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 3d7d30d..1c67d8c 100644 ---

[PATCH 2.6.16-rc6 0/3] MAINTAINERS, e100 and e1000 text file updates

2006-03-14 Thread Jesse Brandeburg
okay, here goes... these patches are against Linus's current tree. They only update text files, no code updates. The large change to e1000.txt includes whitespace changes, and some content. They could be included with 2.6.16 as they are for the drivers that are already merged. Signed-off-by:

[PATCH 2.6.16-rc6 2/3] e100: update e100.txt

2006-03-14 Thread Jesse Brandeburg
From: Jesse Brandeburg [EMAIL PROTECTED] Signed-off-by: Jesse Brandeburg [EMAIL PROTECTED] --- Documentation/networking/e100.txt | 158 +++-- 1 files changed, 97 insertions(+), 61 deletions(-) diff --git a/Documentation/networking/e100.txt

[PATCH 2.6.16-rc6 3/3] e1000: update the readme with the latest text

2006-03-14 Thread Jesse Brandeburg
From: Jesse Brandeburg [EMAIL PROTECTED] The text of the e1000.txt file is a little stale, lets freshen it up. Signed-off-by: Jesse Brandeburg [EMAIL PROTECTED] --- Documentation/networking/e1000.txt | 710 1 files changed, 479 insertions(+), 231

Re: [PATCH 00/15] Bridge update for 2.6.17

2006-03-14 Thread David S. Miller
From: [EMAIL PROTECTED] Date: Mon, 13 Mar 2006 14:12:41 -0800 This patches includes previous bridge changes for 2.6.17 and new patches to enable using LLC to handle bridge STP packets. All applied, thanks a lot Stephen. - To unsubscribe from this list: send the line unsubscribe netdev in the

Re: [2.6 patch] net/decnet/dn_route.c: fix inconsequent NULL checking

2006-03-14 Thread David S. Miller
From: Adrian Bunk [EMAIL PROTECTED] Date: Sat, 11 Mar 2006 00:02:33 +0100 The Coverity checker noted this inconsequent NULL checking in dnrt_drop(). Since all callers ensure that NULL isn't passed, we can simply remove the check. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Applied,

Re: [-mm patch] make drivers/net/tg3.c:tg3_request_irq()

2006-03-14 Thread David S. Miller
From: Adrian Bunk [EMAIL PROTECTED] Date: Mon, 13 Mar 2006 22:26:02 +0100 This patch makes the needlessly global function tg3_request_irq() static. Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Applied, thanks Adrian. - To unsubscribe from this list: send the line unsubscribe netdev in the

Re: [2.6 patch] hostap_{pci,plx}.c: fix memory leaks

2006-03-14 Thread Jouni Malinen
On Mon, Mar 13, 2006 at 11:28:41PM +0100, Adrian Bunk wrote: This patch fixes two memotry leaks spotted by the Coverity checker. Thanks. I'll make a bit different patch to resolve this and related PCI leaks in one change. I'm going through the Coverity reports for Host AP driver, so I'll include

Re: ES-API?

2006-03-14 Thread Evgeniy Polyakov
On Tue, Mar 14, 2006 at 04:51:42PM +, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Ugh... So people can find the ways to connect kernelspace event queue and asynchronous networking operations with object-oriented design patterns? It's time to me to have a step forward from stone age...