Re: e1000 driver and samba

2007-09-14 Thread Bill Fink
On Fri, 14 Sep 2007, L F wrote: > > can you describe your setup a bit more in detail? you're writing from a > > linux > > client to a windows smb server? or even to a linux server? which end sees > > the > > connection drop? the samba server? the samba linux client? > Certainly. > I have a LAN,

Re: Distributed storage. Move away from char device ioctls.

2007-09-14 Thread J. Bruce Fields
On Sat, Sep 15, 2007 at 12:08:42AM -0400, Jeff Garzik wrote: > J. Bruce Fields wrote: >> No, servers are required to support ordinary nfs operations to the >> metadata server. >> At least, that's the way it was last I heard, which was a while ago. I >> agree that it'd stink (for any number of reas

Re: Distributed storage. Move away from char device ioctls.

2007-09-14 Thread Jeff Garzik
J. Bruce Fields wrote: On Fri, Sep 14, 2007 at 06:32:11PM -0400, Jeff Garzik wrote: J. Bruce Fields wrote: On Fri, Sep 14, 2007 at 05:14:53PM -0400, Jeff Garzik wrote: NFSv4.1 adds to the fun, by throwing interoperability completely out the window. What parts are you worried about in partic

Re: why does tcp_v[46]_conn_request not inc MIB stats

2007-09-14 Thread David Miller
From: Sridhar Samudrala <[EMAIL PROTECTED]> Date: Mon, 10 Sep 2007 14:54:43 -0700 > looks like it is a hole in the stats. I think we should increment > LISTENOVERFLOWS or LISTENDROPS in tcp_v[46]_conn_request too if the > SYN is dropped. No we should not. This is limiting embryonic mini-socket c

Re: why does tcp_v[46]_conn_request not inc MIB stats

2007-09-14 Thread David Miller
From: Rick Jones <[EMAIL PROTECTED]> Date: Mon, 10 Sep 2007 11:42:18 -0700 > I've been digging around to see about inducing /proc/net/tcp to show > some "interesting" things for listen sockets (eg backlog depth, its max, > and dropped connection requests). While there I've noticed that both >

Re: Distributed storage. Move away from char device ioctls.

2007-09-14 Thread Mike Snitzer
On 9/14/07, Jeff Garzik <[EMAIL PROTECTED]> wrote: > Evgeniy Polyakov wrote: > > Hi. > > > > I'm pleased to announce fourth release of the distributed storage > > subsystem, which allows to form a storage on top of remote and local > > nodes, which in turn can be exported to another storage as a no

2.6.23-rc6: known regressions with patches v2

2007-09-14 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.23-rc6 with patches available. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces NameRegressions fixed since 21-Jun-2007 Adrian Bunk10

Re: [2/3] 2.6.23-rc6: known regressions v2

2007-09-14 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.23-rc6. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces NameRegressions fixed since 21-Jun-2007 Adrian Bunk10 Andi Kleen

Re: [PATCH] ipg: add IP1000A driver to kernel tree

2007-09-14 Thread Andrew Morton
On Fri, 14 Sep 2007 23:21:05 +0200 Francois Romieu <[EMAIL PROTECTED]> wrote: > ... > > + > +static void ipg_dump_tfdlist(struct net_device *dev) > +{ > + struct ipg_nic_private *sp = netdev_priv(dev); > + void __iomem *ioaddr = sp->ioaddr; > + unsigned int i; > + u32 offset; > + >

Re: e1000 driver and samba

2007-09-14 Thread L F
> can you describe your setup a bit more in detail? you're writing from a linux > client to a windows smb server? or even to a linux server? which end sees the > connection drop? the samba server? the samba linux client? Certainly. I have a LAN, with two switches in a stack. There currently are 7 W

Re: Question about NAT-T and PF_KEY...

2007-09-14 Thread David Miller
From: Stjepan Gros <[EMAIL PROTECTED]> Date: Sun, 09 Sep 2007 22:30:13 +0200 > I'm having problems telling the kernel to do ESP-in-UDP encapsulation. > Outgoing direction seems to work, but the incoming packets on the other > side are passed to ikev2 daemon instead of kernel decapsulating them. T

Re: [PATCH 4/4] [IPV4]: Just increment OutDatagrams once per a datagram.

2007-09-14 Thread David Miller
From: YOSHIFUJI Hideaki / 吉藤英明 <[EMAIL PROTECTED]> Date: Thu, 13 Sep 2007 09:31:06 +0900 (JST) > Signed-off-by: YOSHIFUJI Hideaki <[EMAIL PROTECTED]> Also applied, thank you. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More maj

Re: [PATCH 2/4] [IPV6]: Fix oops during flushing corked datagrams.

2007-09-14 Thread David Miller
From: YOSHIFUJI Hideaki / 吉藤英明 <[EMAIL PROTECTED]> Date: Thu, 13 Sep 2007 09:30:51 +0900 (JST) > When we corking sub-datagrams, we do not clone skb->dst for sub-datagrams > other than the first one, so we get oops if we have multiple sub-datagrams > here. > > One possible way to fix this is to cl

Re: [PATCH 3/4] [IPV6]: Just increment OutDatagrams once per a datagram.

2007-09-14 Thread David Miller
From: YOSHIFUJI Hideaki / 吉藤英明 <[EMAIL PROTECTED]> Date: Thu, 13 Sep 2007 09:30:58 +0900 (JST) > Signed-off-by: YOSHIFUJI Hideaki <[EMAIL PROTECTED]> Applied, thank you. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordom

Re: [PATCH 1/4] [IPV6]: Fix unbalanced socket reference with MSG_CONFIRM.

2007-09-14 Thread David Miller
From: YOSHIFUJI Hideaki / 吉藤英明 <[EMAIL PROTECTED]> Date: Thu, 13 Sep 2007 09:30:39 +0900 (JST) > Signed-off-by: YOSHIFUJI Hideaki <[EMAIL PROTECTED]> Applied, I'll push to -stable after it lands in Linus's tree. Thank you. - To unsubscribe from this list: send the line "unsubscribe netdev" in th

Re: [git patches] net driver fixes

2007-09-14 Thread Kok, Auke
Dan Williams wrote: On Thu, 2007-09-13 at 01:30 -0400, Jeff Garzik wrote: Please pull from 'upstream-linus' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git upstream-linus to receive the following updates: drivers/net/atl1/atl1_main.c | 19 +++ d

[PATCH]: New SO_BINDTODEVICE fix.

2007-09-14 Thread David Miller
Ok, I changed my mind and decided to retain the optlen==0 intended behavior. It fell out of fixing the small string length case. This is likely what I'll push to Linus and later -stable as a fix for this stuff. Thanks. commit 4878809f711981a602cc562eb47994fc81ea0155 Author: David S. Miller <[E

[PATCH 11/11] bonding: Optionally allow ethernet slaves to keep own MAC

2007-09-14 Thread Jay Vosburgh
Update the "don't change MAC of slaves" functionality added in previous changes to be a generic option, rather than something tied to IB devices, as it's occasionally useful for regular ethernet devices as well. Adds "fail_over_mac" option (which is automatically enabled for IB sla

[PATCH 10/11] net/bonding: Destroy bonding master when last slave is gone

2007-09-14 Thread Jay Vosburgh
From: Moni Shoua <[EMAIL PROTECTED]> When bonding enslaves non Ethernet devices it takes pointers to functions in the module that owns the slaves. In this case it becomes unsafe to keep the bonding master registered after last slave was unenslaved because we don't know if the pointers are still va

[PATCH 08/11] net/bonding: Handle wrong assumptions that slave is always an Ethernet device

2007-09-14 Thread Jay Vosburgh
From: Moni Shoua <[EMAIL PROTECTED]> bonding sometimes uses Ethernet constants (such as MTU and address length) which are not good when it enslaves non Ethernet devices (such as InfiniBand). Signed-off-by: Moni Shoua <[EMAIL PROTECTED]> Acked-by: Jay Vosburgh <[EMAIL PROTECTED]> --- drivers/net/

[PATCH 9/11] net/bonding: Delay sending of gratuitous ARP to avoid failure

2007-09-14 Thread Jay Vosburgh
From: Moni Shoua <[EMAIL PROTECTED]> Delay sending a gratuitous_arp when LINK_STATE_LINKWATCH_PENDING bit in dev->state field is on. This improves the chances for the arp packet to be transmitted. Signed-off-by: Moni Shoua <[EMAIL PROTECTED]> Acked-by: Jay Vosburgh <[EMAIL PROTECTED]> --- driver

[PATCH 06/11] net/bonding: Enable bonding to enslave netdevices not supporting set_mac_address()

2007-09-14 Thread Jay Vosburgh
From: Moni Shoua <[EMAIL PROTECTED]> This patch allows for enslaving netdevices which do not support the set_mac_address() function. In that case the bond mac address is the one of the active slave, where remote peers are notified on the mac address (neighbour) change by Gratuitous ARP sent by bon

[PATCH 07/11] net/bonding: Enable IP multicast for bonding IPoIB devices

2007-09-14 Thread Jay Vosburgh
From: Moni Shoua <[EMAIL PROTECTED]> Allow to enslave devices when the bonding device is not up. Over the discussion held at the previous post this seemed to be the most clean way to go, where it is not expected to cause instabilities. Normally, the bonding driver is UP before any enslavement tak

[PATCH 04/11] IB/ipoib: Verify address handle validity on send

2007-09-14 Thread Jay Vosburgh
From: Moni Shoua <[EMAIL PROTECTED]> When the bonding device senses a carrier loss of its active slave it replaces that slave with a new one. In between the times when the carrier of an IPoIB device goes down and ipoib_neigh is destroyed, it is possible that the bonding driver will send a packet o

[PATCH 05/11] net/bonding: Enable bonding to enslave non ARPHRD_ETHER

2007-09-14 Thread Jay Vosburgh
From: Moni Shoua <[EMAIL PROTECTED]> This patch changes some of the bond netdevice attributes and functions to be that of the active slave for the case of the enslaved device not being of ARPHRD_ETHER type. Basically it overrides those setting done by ether_setup(), which are netdevice **type** d

[PATCH 01/11] IB/ipoib: Export call to call_netdevice_notifiers and add new private flag

2007-09-14 Thread Jay Vosburgh
From: Moni Shoua <[EMAIL PROTECTED]> Export the call to raw_notifier_call_chain so modules can send notifications on netdev events to the netdev_chain. Add IFF_SLAVE_DETACH to the list of priv_flags for net_device. This flag is set by a slave that is about to unregisster from the kernel. Both cha

[PATCH 00/11] IPoIB support for bonding

2007-09-14 Thread Jay Vosburgh
Following is patch set to provide IPoIB support for bonding in active-backup mode. Patches 1 - 10 were originally posted by Moni Shoua <[EMAIL PROTECTED]>. The changes look reasonable to me, but others (for IB and net/core changes) probably need to ack. Patch 11 modifies the IB "

[PATCH 03/11] IB/ipoib: Bound the net device to the ipoib_neigh structue

2007-09-14 Thread Jay Vosburgh
From: Moni Shoua <[EMAIL PROTECTED]> IPoIB uses a two layer neighboring scheme, such that for each struct neighbour whose device is an ipoib one, there is a struct ipoib_neigh buddy which is created on demand at the tx flow by an ipoib_neigh_alloc(skb->dst->neighbour) call. When using the bonding

[PATCH 02/11] IB/ipoib: Notify the world before doing unregister

2007-09-14 Thread Jay Vosburgh
From: Moni Shoua <[EMAIL PROTECTED]> When the bonding device enslaves IPoIB devices it takes pointers to functions in the ib_ipoib module. This is fine as long as the ib_ipoib nodule remains loaded while the references to its functions exist. So, to help bonding do a cleanup on time, when the IPoI

Re: SO_BINDTODEVICE mismatch with man page & comments.

2007-09-14 Thread Ben Greear
David Miller wrote: From: Ben Greear <[EMAIL PROTECTED]> Date: Fri, 14 Sep 2007 15:37:45 -0700 I will try the patch, but it will probably not be until Monday. The existing code actually can be made to work by passing in a 4+ byte string and setting the first byte to zero, and as far as I can se

Re: SO_BINDTODEVICE mismatch with man page & comments.

2007-09-14 Thread David Miller
From: Ben Greear <[EMAIL PROTECTED]> Date: Fri, 14 Sep 2007 15:37:45 -0700 > I will try the patch, but it will probably not be until Monday. > The existing code actually can be made to work by passing in > a 4+ byte string and setting the first byte to zero, and as > far as I can see, that remains

Re: Distributed storage. Move away from char device ioctls.

2007-09-14 Thread J. Bruce Fields
On Fri, Sep 14, 2007 at 06:32:11PM -0400, Jeff Garzik wrote: > J. Bruce Fields wrote: >> On Fri, Sep 14, 2007 at 05:14:53PM -0400, Jeff Garzik wrote: >>> J. Bruce Fields wrote: On Fri, Sep 14, 2007 at 03:07:46PM -0400, Jeff Garzik wrote: > I've been waiting for years for a smart person to

Re: SO_BINDTODEVICE mismatch with man page & comments.

2007-09-14 Thread Ben Greear
David Miller wrote: Instead of nit-picking, can you instead try the patch and let me know if it makes things work for you? I don't mean to complain, just trying to make sure that you had thought about the length and were happy with how it works before I try to get the man page changed. I will

Re: [TG3]: Workaround MSI bug on 5714/5780.

2007-09-14 Thread David Miller
From: "Michael Chan" <[EMAIL PROTECTED]> Date: Fri, 07 Sep 2007 19:26:21 -0700 > [PCI]: Add MSI quirk for ServerWorks HT1000 PCIX bridge. > > This is the fix for the following problem: > > https://bugzilla.redhat.com/show_bug.cgi?id=227657 > > The bnx2 device 5706 complains about MSI not workin

Re: Distributed storage. Move away from char device ioctls.

2007-09-14 Thread Jeff Garzik
J. Bruce Fields wrote: On Fri, Sep 14, 2007 at 05:14:53PM -0400, Jeff Garzik wrote: J. Bruce Fields wrote: On Fri, Sep 14, 2007 at 03:07:46PM -0400, Jeff Garzik wrote: I've been waiting for years for a smart person to come along and write a POSIX-only distributed filesystem. What exactly do y

Re: SO_BINDTODEVICE mismatch with man page & comments.

2007-09-14 Thread David Miller
From: Ben Greear <[EMAIL PROTECTED]> Date: Fri, 14 Sep 2007 15:11:39 -0700 > From user-space, does this imply that the 'empty string' we use to > unbind must be at least 4 bytes long, but with the first byte /0? > > If so, I think it might be confusing for the comments to say use "" > to unbind,

Re: new NAPI interface broken

2007-09-14 Thread David Miller
From: Jan-Bernd Themann <[EMAIL PROTECTED]> Date: Fri, 7 Sep 2007 11:37:02 +0200 > Its about the question who inserts and removes devices from the poll list. > > netif_rx_schedule: sets NAPI_STATE_SCHED flag, insert device in poll list. > netif_rx_complete: clears NAPI_STATE_SCHED > netif_rx_resc

Re: SO_BINDTODEVICE mismatch with man page & comments.

2007-09-14 Thread Ben Greear
David Miller wrote: From: Ben Greear <[EMAIL PROTECTED]> Date: Tue, 04 Sep 2007 15:45:14 -0700 According to the comment in the net/core/sock.c code (in 2.6.20), I should be able to pass a zero optlen to the setsockopt method for SO_BINDTODEVICE: ... However, earlier in that method it return

Re: [PATCH][NETNS] Use list_for_each_entry_continue_reverse in setup_net

2007-09-14 Thread Eric W. Biederman
Stephen Hemminger <[EMAIL PROTECTED]> writes: > Could we just make it so dev->init is not allowed to fail? Then it > can be a void function and the nasty unwind code can go? Unfortunately we need to allocate memory, and perform other operations that can fail. That's the nature of the problem. S

Fw: [PATCH] Add ICMPMsgStats MIB (RFC 4293) [rev 2]

2007-09-14 Thread David Stevens
Background: RFC 4293 deprecates existing individual, named ICMP type counters to be replaced with the ICMPMsgStatsTable. This table includes entries for both IPv4 and IPv6, and requires counting of all ICMP types, whether or not the machine implements the type. These patches "remove" (but not real

Re: Distributed storage. Move away from char device ioctls.

2007-09-14 Thread J. Bruce Fields
On Fri, Sep 14, 2007 at 05:14:53PM -0400, Jeff Garzik wrote: > J. Bruce Fields wrote: >> On Fri, Sep 14, 2007 at 03:07:46PM -0400, Jeff Garzik wrote: >>> I've been waiting for years for a smart person to come along and write a >>> POSIX-only distributed filesystem. > >> What exactly do you mean by

Re: Distributed storage. Move away from char device ioctls.

2007-09-14 Thread Jeff Garzik
J. Bruce Fields wrote: On Fri, Sep 14, 2007 at 03:07:46PM -0400, Jeff Garzik wrote: I've been waiting for years for a smart person to come along and write a POSIX-only distributed filesystem. What exactly do you mean by "POSIX-only"? Don't bother supporting attributes, file modes, and other

Re: [PATCH] Add IP1000A Driver into Kernel (2007/09/12)

2007-09-14 Thread Francois Romieu
Jesse Huang <[EMAIL PROTECTED]> : [...] > Change Logs: Add IP1000A Driver to kernel tree. It misses the needed Kconfig, Makefile and pci_ids changes from Stefan Lippers-Hollmann. -- Ueimor - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROT

Re: Distributed storage. Move away from char device ioctls.

2007-09-14 Thread J. Bruce Fields
On Fri, Sep 14, 2007 at 03:07:46PM -0400, Jeff Garzik wrote: > My thoughts. But first a disclaimer: Perhaps you will recall me as one > of the people who really reads all your patches, and examines your code and > proposals closely. So, with that in mind... > > I question the value of distrib

Re: e1000 driver and samba

2007-09-14 Thread Kok, Auke
L F wrote: On 9/14/07, Kok, Auke <[EMAIL PROTECTED]> wrote: this slowness might have been masking the issue That is possible. However, it worked for upwards of twelve months without an error. I have not yet seen other reports of this issue, and it would be interesting to see if the stack or d

Pull request for 'r8169-for-jeff-20070914' branch

2007-09-14 Thread Francois Romieu
Please pull from branch 'r8169-for-jeff-20070914' in repository git://electric-eye.fr.zoreil.com/home/romieu/linux-2.6.git r8169-for-jeff-20070914 to get the fixes below. Distance from 'netdev-2.6/upstream' (18d256761aa268fd2fb1

Re: 2.6.23-rc4-mm1 list_add corruption in networking code

2007-09-14 Thread Andrew Morton
On Fri, 14 Sep 2007 09:25:52 -0700 Randy Dunlap <[EMAIL PROTECTED]> wrote: > [adding netdev] yup. I wonder if the net developers are setting CONFIG_DEBUG_LIST > On Fri, 14 Sep 2007 10:08:03 -0400 Mathieu Desnoyers wrote: > > > Hi Andrew, > > > > My P4 is crashing about once a day, started

Re: Distributed storage. Move away from char device ioctls.

2007-09-14 Thread Al Boldi
Jeff Garzik wrote: > Evgeniy Polyakov wrote: > > Hi. > > > > I'm pleased to announce fourth release of the distributed storage > > subsystem, which allows to form a storage on top of remote and local > > nodes, which in turn can be exported to another storage as a node to > > form tree-like storage

Re: [PATCH net-2.6.23-rc5] ipsec interfamily route handling fix

2007-09-14 Thread David Miller
From: Joakim Koskela <[EMAIL PROTECTED]> Date: Thu, 6 Sep 2007 19:00:10 +0300 > This patch addresses a couple of issues related to interfamily ipsec > modes. The problem is that the structure of the routing info changes > with the family during the __xfrmX_bundle_create, which hasn't been > taken

Re: [git patches] net driver fixes

2007-09-14 Thread Jay Vosburgh
Dan Williams <[EMAIL PROTECTED]> wrote: [...] >So essentially the ehea device has a 1(+) external ports that may/may >not be connected, but all lpars share the physical hardware itself, >which is quite happy to let all the lpars talk to each other essentially >via loopback even if there is no actua

Re: [PATCH v3] Make the pr_*() family of macros in kernel.h complete

2007-09-14 Thread Andrew Morton
On Fri, 14 Sep 2007 06:27:04 -0700 "Medve Emilian-EMMEDVE1" <[EMAIL PROTECTED]> wrote: > I realize this e-mail might be nuisance and time waster for you but I'm > in need of advice. I apologize in advance for any commonsense cultural > conventions I'm breaking. > > I sent the below patch to four

Re: [git patches] net driver fixes

2007-09-14 Thread Dan Williams
On Fri, 2007-09-14 at 12:19 -0700, Jay Vosburgh wrote: > Dan Williams <[EMAIL PROTECTED]> wrote: > [...] > >I admit that I probably don't understand the system architecture of > >where ehea would be used, but would this > >cause /sys/class/net/ethX/carrier to be TRUE even if the device has no > >ca

Re: SO_BINDTODEVICE mismatch with man page & comments.

2007-09-14 Thread David Miller
From: Ben Greear <[EMAIL PROTECTED]> Date: Tue, 04 Sep 2007 15:45:14 -0700 > According to the comment in the net/core/sock.c code (in 2.6.20), I should be > able to pass a zero > optlen to the setsockopt method for SO_BINDTODEVICE: ... > However, earlier in that method it returns -EINVAL if optl

Re: [ofa-general] InfiniBand/RDMA merge plans for 2.6.24

2007-09-14 Thread Michael Chan
On Fri, 2007-09-14 at 09:18 -0700, Roland Dreier wrote: > However, do you have any plans to support iSCSI offload for targets? > Also, looking at the first CNIC patch, I can't help but notice that > you seem to have at least some support for iWARP there. How does the > CNIC look? Does it share t

Re: [PATCH][NETNS] Use list_for_each_entry_continue_reverse in setup_net

2007-09-14 Thread Stephen Hemminger
On Fri, 14 Sep 2007 08:41:07 -0600 [EMAIL PROTECTED] (Eric W. Biederman) wrote: > Stephen Hemminger <[EMAIL PROTECTED]> writes: > > > On Fri, 14 Sep 2007 11:39:32 +0400 > > Pavel Emelyanov <[EMAIL PROTECTED]> wrote: > > > >> I proposed introducing a list_for_each_entry_continue_reverse > >> macro

Re: [PATCH 1/10 REV5] [Doc] HOWTO Documentation for batching

2007-09-14 Thread Randy Dunlap
On Fri, 14 Sep 2007 14:31:18 +0530 Krishna Kumar wrote: > Add Documentation describing batching skb xmit capability. > > Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]> > --- > batching_skb_xmit.txt | 107 > ++ > 1 files changed, 107 insertions(

Re: [PATCH net-2.6.24] introduce MAC_FMT/MAC_ARG

2007-09-14 Thread David Miller
From: Joe Perches <[EMAIL PROTECTED]> Date: Fri, 14 Sep 2007 12:41:48 -0700 > David? Did you ever get a chance to look at this? > Do you want me to rebase it against your newer net-2.4.26? > > http://repo.or.cz/w/linux-2.6/trivial-mods.git I just got back from 2 weeks of travelling, sit tight :

Re: [PATCH net-2.6.24] introduce MAC_FMT/MAC_ARG

2007-09-14 Thread Joe Perches
David? Did you ever get a chance to look at this? Do you want me to rebase it against your newer net-2.4.26? http://repo.or.cz/w/linux-2.6/trivial-mods.git > I've inlined the include changes, but the entire patch > is quite large. (300KB) > > MAC address format changes: > > UPPER->lower case c

Re: 2.6.23-rc4-mm1 list_add corruption in networking code

2007-09-14 Thread Randy Dunlap
[adding netdev] On Fri, 14 Sep 2007 10:08:03 -0400 Mathieu Desnoyers wrote: > Hi Andrew, > > My P4 is crashing about once a day, started with 2.6.23-rc4-mm1, with > errors that seems related to network code. Here is the latest BUG: > (sorry, my console log cuts it at 80 cols) > > Mathieu > > [

Re: [git patches] net driver fixes

2007-09-14 Thread Jay Vosburgh
Dan Williams <[EMAIL PROTECTED]> wrote: [...] >I admit that I probably don't understand the system architecture of >where ehea would be used, but would this >cause /sys/class/net/ethX/carrier to be TRUE even if the device has no >carrier? That seems quite wrong IMHO. When does ehea not have a >ca

[v2 PATCH 8/8] SCTP: Tie ADD-IP and AUTH functionality as required by spec.

2007-09-14 Thread Vlad Yasevich
[.. forgot to refresh the patch, the other version has compile problems ..] ADD-IP spec requires AUTH. It is, in fact, dangerous without AUTH. So, disable ADD-IP functionality if the peer claims to support ADD-IP, but not AUTH. Signed-off-by: Vlad Yasevich <[EMAIL PROTECTED]> --- include/net/sct

Re: Distributed storage. Move away from char device ioctls.

2007-09-14 Thread Jeff Garzik
Evgeniy Polyakov wrote: Hi. I'm pleased to announce fourth release of the distributed storage subsystem, which allows to form a storage on top of remote and local nodes, which in turn can be exported to another storage as a node to form tree-like storages. This release includes new configuratio

[PATCH 1/8] SCTP: protocol definitions for SCTP-AUTH implementation

2007-09-14 Thread Vlad Yasevich
Signed-off-by: Vlad Yasevich <[EMAIL PROTECTED]> --- include/linux/sctp.h | 100 +- 1 files changed, 99 insertions(+), 1 deletions(-) diff --git a/include/linux/sctp.h b/include/linux/sctp.h index f4d717b..5eb38cc 100644 --- a/include/linux/sctp.h

[PATCH 3/8] SCTP: Implement SCTP-AUTH initializations.

2007-09-14 Thread Vlad Yasevich
The patch initializes AUTH related members of the generic SCTP structures and provides a way to enable/disable auth extension. Signed-off-by: Vlad Yasevich <[EMAIL PROTECTED]> --- net/sctp/associola.c | 34 +++ net/sctp/endpointola.c | 83

[PATCH 8/8] SCTP: Tie ADD-IP and AUTH functionality as required by spec.

2007-09-14 Thread Vlad Yasevich
ADD-IP spec requires AUTH. It is, in fact, dangerous without AUTH. So, disable ADD-IP functionality if the peer claims to support ADD-IP, but not AUTH. Signed-off-by: Vlad Yasevich <[EMAIL PROTECTED]> --- include/net/sctp/structs.h |1 + net/sctp/sm_make_chunk.c | 13 - 2 file

[PATCH 6/8] SCTP: Implement the receive and verification of AUTH chunk

2007-09-14 Thread Vlad Yasevich
This patch implements the receive path needed to process authenticated chunks. Add ability to process the AUTH chunk and handle edge cases for authenticated COOKIE-ECHO as well. Signed-off-by: Vlad Yasevich <[EMAIL PROTECTED]> --- include/net/sctp/constants.h |4 +- include/net/sctp/sm.h

[PATCH 7/8] SCTP: API updates to suport SCTP-AUTH extensions.

2007-09-14 Thread Vlad Yasevich
Add SCTP-AUTH API. The API implemented here was agreed to between implementors at the 9th SCTP Interop. It will be documented in the next revision of the SCTP socket API spec. Signed-off-by: Vlad Yasevich <[EMAIL PROTECTED]> --- include/net/sctp/auth.h | 16 +++ include/net/sctp/ulpevent.h

[RFC PATCH 0/8] Implement SCTP-AUTH specification.

2007-09-14 Thread Vlad Yasevich
Hi All The following series of 8 patches is the implementation of SCTP-AUTH spec (RFC 4895) that was tested at the 9th SCTP Interop. The code is based on the implementation of the Supported Extensions parameter that was send out separately for inclusion into 2.6.24. I'd really appreciate people

[PATCH 2/8] SCTP: Implement SCTP-AUTH internals

2007-09-14 Thread Vlad Yasevich
This patch implements the internals operations of the AUTH, such as key computation and storage. It also adds necessary variables to the SCTP data structures. Signed-off-by: Vlad Yasevich <[EMAIL PROTECTED]> --- include/net/sctp/auth.h | 112 +++ include/net/sctp/constants.h | 49 +++

[PATCH 5/8] SCTP: Enable the sending of the AUTH chunk.

2007-09-14 Thread Vlad Yasevich
SCTP-AUTH, Section 6.2: Endpoints MUST send all requested chunks authenticated where this has been requested by the peer. The other chunks MAY be sent authenticated or not. If endpoint pair shared keys are used, one of them MUST be selected for authentication. To send chunks in a

[PATCH 4/8] SCTP: Implete SCTP-AUTH parameter processing

2007-09-14 Thread Vlad Yasevich
Implement processing for the CHUNKS, RANDOM, and HMAC parameters and deal with how this parameters are effected by association restarts. In particular, during unexpeted INIT processing, we need to reply with parameters from the original INIT chunk. Also, after restart, we need to update the old as

Re: e1000 driver and samba

2007-09-14 Thread L F
On 9/14/07, Francois Romieu <[EMAIL PROTECTED]> wrote: > For the 8169 or the 8110, try 2.6.23-rc6 + > > http://www.fr.zoreil.com/people/francois/misc/20070903-2.6.23-rc5-r8169-test.patch Thank you, I will give that a whirl also, because there are some machine builds which will not have Intel boards

Re: e1000 driver and samba

2007-09-14 Thread L F
On 9/14/07, Kok, Auke <[EMAIL PROTECTED]> wrote: > this slowness might have been masking the issue That is possible. However, it worked for upwards of twelve months without an error. > I have not yet seen other reports of this issue, and it would be interesting > to > see if the stack or driver i

Re: InfiniBand/RDMA merge plans for 2.6.24

2007-09-14 Thread Shirley Ma
> IPoIB CM handles this properly by gathering together single pages in > skbs' fragment lists. > > - R. Then can we reuse IPoIB CM code here? Thanks Shirley - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [git patches] net driver fixes

2007-09-14 Thread Dan Williams
On Fri, 2007-09-14 at 14:17 -0400, Jeff Garzik wrote: > Dan Williams wrote: > > WTF? why would the default be to _not_ propagate carrier state? Are > > there some mitigating circumstances that require this driver to not > > notify the stack of carrier on/off? Userspace stuff really should know >

Re: e1000 driver and samba

2007-09-14 Thread Francois Romieu
L F <[EMAIL PROTECTED]> : [...] > Now, the machine worked when it was using an onboard Realtek 8169 > chipset on a 945G board from ASUS, but it worked slowly. I upgraded to > a P965 chipset, started using the realtek driver for the 8110B on that > board.. and started getting consistent samba errors

[PATCH] mv643xx_eth: Fix tx_bytes stats calculation

2007-09-14 Thread Dale Farnsworth
Reported by Corey Minyard <[EMAIL PROTECTED]> --- drivers/net/mv643xx_eth.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mv643xx_eth.c b/drivers/net/mv643xx_eth.c index 1799eee..6a117e9 100644 --- a/drivers/net/mv643xx_eth.c +++ b/drivers/net/mv643xx_eth.c @@

Re: [git patches] net driver fixes

2007-09-14 Thread Jeff Garzik
Dan Williams wrote: WTF? why would the default be to _not_ propagate carrier state? Are there some mitigating circumstances that require this driver to not notify the stack of carrier on/off? Userspace stuff really should know about the carrier state, and this disables it by default. The co

Re: [git patches] net driver fixes

2007-09-14 Thread Dan Williams
On Thu, 2007-09-13 at 01:30 -0400, Jeff Garzik wrote: > Please pull from 'upstream-linus' branch of > master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git > upstream-linus > > to receive the following updates: > > drivers/net/atl1/atl1_main.c | 19 +++ > drivers/

Re: wireless vs. network namespaces

2007-09-14 Thread Johannes Berg
On Fri, 2007-09-14 at 09:31 -0600, Eric W. Biederman wrote: > > Now that the network namespace work is in net-2.6.24, I'm wondering how > > wireless will be handling this. Is there any benefit at all to a > > wireless device supporting network namespaces? > > Good question. Network namespaces ar

Re: [BUG] tg3 cannot do PXE (loses MAC address) after soft reboot

2007-09-14 Thread Michael Chan
On Fri, 2007-09-14 at 10:14 +0200, Ingo Oeser wrote: > Michael Chan schrieb: > > On Thu, 2007-09-13 at 21:28 +0200, Lucas Nussbaum wrote: > > > Erm, Wouldn't it be possible to print a warning when the driver loads, > > > saying that the firmware is outdated ? > > > > It's possible, but would requi

RE: [ofa-general] InfiniBand/RDMA merge plans for 2.6.24

2007-09-14 Thread Sean Hefty
>OK -- just to make sure I'm understanding what you're saying: have you >confirmed that your proposed patches actually fix the issue? Not directly. I cannot easily test kernel patches on our larger, production clusters. We've seen the issue with specific applications on 512 and 1024 cores, but I

Re: [PATCH][NETNS] Use list_for_each_entry_continue_reverse in setup_net

2007-09-14 Thread Eric W. Biederman
Pavel Emelyanov <[EMAIL PROTECTED]> writes: > I proposed introducing a list_for_each_entry_continue_reverse > macro to be used in setup_net() when unrolling the failed > ->init callback. > > Here is the macro and some more cleanup in the setup_net() itself > to remove one variable from the stack :

Re: [PATCH 0/9 Rev3] Implement batching skb API and support in IPoIB

2007-09-14 Thread David Miller
From: Bill Fink <[EMAIL PROTECTED]> Date: Fri, 14 Sep 2007 03:20:55 -0400 > TSO disabled performance is always better than equivalent TSO enabled > performance. With TSO enabled, the optimum performance is indeed at > a TX/RX interrupt coalescing value of 75 usec. With TSO disabled, > performanc

Re: [PATCH v3] Make the pr_*() family of macros in kernel.h complete

2007-09-14 Thread Randy Dunlap
On Fri, 14 Sep 2007 22:11:59 +0530 Satyam Sharma wrote: > > > -Original Message- > > > From: Medve Emilian-EMMEDVE1 > > > Sent: Wednesday, September 12, 2007 11:40 AM > > > To: [EMAIL PROTECTED]; netdev@vger.kernel.org; > > > [EMAIL PROTECTED]; [EMAIL PROTECTED] > > > Cc: Medve Emilian-EMM

Re: e1000 driver and samba

2007-09-14 Thread Kok, Auke
L F wrote: Folks, I've been playing with multiple gigabit ethernet drivers to get samba 3.0.25+ to work reliably. The situation is as follows. I have a network, one of the machines on the network is a server/firewall. It contains an Intel PRO1000 dual port PCI Express card and runs Debian-testing

Re: [PATCH v3] Make the pr_*() family of macros in kernel.h complete

2007-09-14 Thread Satyam Sharma
> > -Original Message- > > From: Medve Emilian-EMMEDVE1 > > Sent: Wednesday, September 12, 2007 11:40 AM > > To: [EMAIL PROTECTED]; netdev@vger.kernel.org; > > [EMAIL PROTECTED]; [EMAIL PROTECTED] > > Cc: Medve Emilian-EMMEDVE1 ... no maintainer explicitly copied on the original mail who'd

Re: [ofa-general] InfiniBand/RDMA merge plans for 2.6.24

2007-09-14 Thread Roland Dreier
> > I've been meaning to track down the bnx2 iscsi offload patch to look > > and see if this issue is addressed, since the same problem seems to > > exist: it seems an iscsi connection and a main stack tcp connection > > might share the same 4-tuple unless something is done to avoid that > > h

Re: InfiniBand/RDMA merge plans for 2.6.24

2007-09-14 Thread Roland Dreier
> The patch is just needed to pick up broadcast MTU size instead of hard > coding 2K right now. SKB allocation shouldn't be different with Ethernet > Jambo Frame and IPoIB-CM which 64K MTU. I don't understand why it's > different. Could you please explain this? It's exactly the same problem as

Re: [PATCH v2] iw_cxgb3: Support "iwarp-only" interfaces to avoid 4-tuple conflicts.

2007-09-14 Thread Roland Dreier
> Maybe you should automatically create an alias each time new interface > is added so that admin would not care about proper aliases? I agree that makes much more sense from a user interface point of view. Unfortunately an alias without an address doesn't make sense, so there doesn't seem to b

Re: [PATCH] tehuti: driver for Tehuti 10GbE network adapters

2007-09-14 Thread Jeff Garzik
Andy Gospodarek wrote: On Tue, Sep 11, 2007 at 12:40:34PM -0400, Andy Gospodarek wrote: This introduces support for a line of 10GbE adapters made by Tehuti Networks. An attempt to get this included was made a few months ago and since the driver has been re-factored based on Jeff's suggestions.

Re: [PATCH] tehuti: driver for Tehuti 10GbE network adapters

2007-09-14 Thread Andy Gospodarek
On Tue, Sep 11, 2007 at 12:40:34PM -0400, Andy Gospodarek wrote: > > This introduces support for a line of 10GbE adapters made by Tehuti > Networks. An attempt to get this included was made a few months ago and > since the driver has been re-factored based on Jeff's suggestions. > > You can down

Re: wireless vs. network namespaces

2007-09-14 Thread Eric W. Biederman
Johannes Berg <[EMAIL PROTECTED]> writes: > Now that the network namespace work is in net-2.6.24, I'm wondering how > wireless will be handling this. Is there any benefit at all to a > wireless device supporting network namespaces? Good question. Network namespaces are designed as a general tool

Re: [PATCH][NETNS] Use list_for_each_entry_continue_reverse in setup_net

2007-09-14 Thread Eric W. Biederman
Stephen Hemminger <[EMAIL PROTECTED]> writes: > On Fri, 14 Sep 2007 11:39:32 +0400 > Pavel Emelyanov <[EMAIL PROTECTED]> wrote: > >> I proposed introducing a list_for_each_entry_continue_reverse >> macro to be used in setup_net() when unrolling the failed >> ->init callback. >> >> Here is the mac

Re: [patch] sunrpc: make closing of old temporary sockets work (was: problems with lockd in 2.6.22.6)

2007-09-14 Thread J. Bruce Fields
On Fri, Sep 14, 2007 at 11:12:30AM +0200, Wolfgang Walter wrote: > Am Mittwoch, 12. September 2007 21:55 schrieb J. Bruce Fields: > > On Wed, Sep 12, 2007 at 09:40:57PM +0200, Wolfgang Walter wrote: > > > On Wednesday 12 September 2007, J. Bruce Fields wrote: > > > > On Wed, Sep 12, 2007 at 04:14:0

Re: [PATCH] ucc_geth: fix compilation

2007-09-14 Thread Kumar Gala
On Sep 13, 2007, at 10:23 AM, Anton Vorontsov wrote: Currently qe_bd_t is used in the macro call -- dma_unmap_single, which is a no-op on PPC32, thus error is hidden today. Starting with 2.6.24, macro will be replaced by the empty static function, and erroneous use of qe_bd_t will trigger compi

TSO, TCP Cong control etc

2007-09-14 Thread jamal
Ive changed the subject to match content.. On Fri, 2007-14-09 at 03:20 -0400, Bill Fink wrote: > On Mon, 27 Aug 2007, jamal wrote: > > > Bill: > > who suggested (as per your email) the 75usec value and what was it based > > on measurement-wise? > > Belatedly getting back to this thread. There

[PATCH] sky2: fix PHY setup on FE-P

2007-09-14 Thread Stephen Hemminger
Marvell reported the following fix is necessary to get fe-plus chips to work. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- a/drivers/net/sky2.c2007-09-14 14:40:35.0 +0200 +++ b/drivers/net/sky2.c2007-09-14 14:41:00.0 +0200 @@ -488,11 +488,12 @@ static v

RE: [PATCH v3] Make the pr_*() family of macros in kernel.h complete

2007-09-14 Thread Medve Emilian-EMMEDVE1
Hello Andrew, I realize this e-mail might be nuisance and time waster for you but I'm in need of advice. I apologize in advance for any commonsense cultural conventions I'm breaking. I sent the below patch to four e-mail lists and it lead to orthogonal conversations about how the entire kernel l

Re: RFC: possible NAPI improvements to reduce interrupt rates for low traffic rates

2007-09-14 Thread jamal
On Wed, 2007-12-09 at 14:50 +0100, James Chapman wrote: > By low traffic, I assume you mean a rate at which the NAPI driver > doesn't stay in polled mode. i.e: "one interupt per packet per napi poll" which cause about 1-2 more IOs in comparison to the case where you didnt do NAPI. > The proble

  1   2   >