linux-netdev mailing list

FromSubjectsort iconDate
Allan Stephens
[PATCH net-2.6.26] [TIPC]: Cosmetic cleanup of TIPC polling ...
This patch eliminates an unnecessary poll-related routine by merging it into TIPC's main polling routine, and updates the comments associated with this code. Signed-off-by: Allan Stephens <allan.stephens@windriver.com> --- net/tipc/socket.c | 78 ++++++++++++++++++++++++---------------------------- 1 files changed, 36 insertions(+), 42 deletions(-) diff --git a/net/tipc/socket.c b/net/tipc/socket.c index ae45df0..1b5fb61 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c @@ -102,...
Mar 26, 5:02 pm 2008
David Miller
Re: [PATCH net-2.6.26] [TIPC]: Cosmetic cleanup of TIPC poll...
From: Allan Stephens <allan.stephens@windriver.com> Applied, thanks. --
Mar 26, 7:48 pm 2008
Patrick McHardy
[VLAN]: Reduce memory consumed by vlan_groups
Following is a single VLAN patch from Pavel that is needed for further VLAN namespace work to avoid conflicts. Please apply, thanks.
Mar 26, 3:50 pm 2008
David Miller
Re: [VLAN]: Reduce memory consumed by vlan_groups
From: Patrick McHardy <kaber@trash.net> Applied to net-2.6.26, thanks. --
Mar 26, 7:27 pm 2008
Auke Kok
[PATCH] e1000e: test MSI interrupts
From: Jesse Brandeburg <jesse.brandeburg@intel.com> Test the MSI interrupt physically once before assuming that it actually works. Several platforms have already come across that have non-functional MSI interrupts and this code will attempt to detect those safely. Once the test succeeds MSI interrupts will be enabled. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> --- drivers/net/e1000e/defines.h | 1 dri...
Mar 26, 2:36 pm 2008
Jeff Garzik
Re: [PATCH] e1000e: test MSI interrupts
Ah, the perennial add-same-test-to-every-driver conundrum. I think we are far enough along with MSI to _not_ do this anymore in drivers. The platforms with MSI problems should be discovered, made public, and worked around. Otherwise you hide the same problem, just for someone else to discover with another component of the machine. Jeff --
Mar 26, 2:42 pm 2008
Kok, Auke
Re: [E1000-devel] [PATCH] e1000e: test MSI interrupts
ok, that's reasonable as I have not recently seen any "new" reports against the current trees. We have to keep this patch in our out-of-tree version around though, since a lot of distros still ship kernels without all the new MSI quirks. But that's not for this forum. Thanks, Auke --
Mar 26, 4:42 pm 2008
Matheos Worku
2.6.24 BUG: soft lockup - CPU#X
All, While running iperf (transmit) on NIU driver I get several soft lockup errors. I have seen similar soft lockup errors on kernels 2.6.18 and later (with other 10G NIC drivers with LSO disabled) but it is more frequent/pronounced on 2.6.24 kernel. oprofile is not giving much clue as where the cpus are spending time (atleast doesn't indicate any thing abnormal in the driver(s)). The lockup location as indicated by the error message is not consistent and varies from time time and could be...
Mar 26, 12:46 pm 2008
Jarek Poplawski
Re: 2.6.24 BUG: soft lockup - CPU#X
Matheos Worku wrote, On 03/26/2008 05:46 PM: Are network cards' irqs balanced? If so, could you reproduce this with affinity set? Regards, Jarek P. --
Mar 26, 4:14 pm 2008
Matheos Worku
Re: 2.6.24 BUG: soft lockup - CPU#X
Jarek, Reproduced the lockup with irqbalance disabled and with single src of interrupt (TX interrupt, UDP transmit). Lockup appears in different location though. Regards matheos irq of interest: 454 (TX interrupt) 454: 19249 93234 907186 2691 0 188 0 160 PCI-MSI-edge eth6 455: 22607 15083 5 13104 25569 161519 62514 25637 PCI-MSI-edge eth6 456: 22390 14921 ...
Mar 26, 4:26 pm 2008
Jarek Poplawski
Re: 2.6.24 BUG: soft lockup - CPU#X
On Wed, Mar 26, 2008 at 01:26:00PM -0700, Matheos Worku wrote: Hmm... Is this before disabling or I miss something? Of course, my hint could be wrong here, but there are some issues around napi vs. irq balancing, so it would be interesting to check this with all network cards irqs affinity set (and respected). This could be interesting: http://marc.info/?l=linux-netdev&m=120349568512423&w=2 (but I suspect there are possible other reasons yet) Jarek P. --
Mar 26, 5:46 pm 2008
Jarek Poplawski
Re: 2.6.24 BUG: soft lockup - CPU#X
OOPS! I see - only not cleared. So it's OK! Sorry, Jarek P. --
Mar 26, 5:53 pm 2008
Rick Jones
Re: 2.6.24 BUG: soft lockup - CPU#X
Is oprofile running on an AMD processor able to profile where/when interrupts are disabled? If not there could be a fair bit missing from the profile. rick jones --
Mar 26, 1:31 pm 2008
Pavel Emelyanov
[PATCH net-2.6.26][IPV6]: Fix potential net leak and oops in...
The commits f3db4851 ([NETNS][IPV6] ip6_fib - fib6_clean_all handle several network namespaces) and 69ddb805 ([NETNS][IPV6] route6 - Make proc entry /proc/net/rt6_stats per namespace) made some proc files per net. Both of them introduced potential OOPS - get_proc_net can return NULL, but this check is lost - and a struct net leak - in case single_open() fails the previously got net is not put. Kill all these bugs with one patch. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- ...
Mar 26, 11:55 am 2008
Daniel Lezcano
Re: [PATCH net-2.6.26][IPV6]: Fix potential net leak and oop...
Good catch. Thanks. Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com> --
Mar 26, 11:59 am 2008
David Miller
Re: [PATCH net-2.6.26][IPV6]: Fix potential net leak and oop...
From: Daniel Lezcano <dlezcano@fr.ibm.com> Applied, thanks everyone! --
Mar 26, 7:50 pm 2008
Michael Buesch
[PATCH stable] b44: Truncate PHY address
Some ROMs on embedded devices store incorrect values for the PHY address of the ethernet device. It looks like the number is sign-extended. Truncate the value by applying the PHY-address mask to it. The patch was tested on a bcm47xx embedded system (where the bug triggers) and a bcm4400 PCI card. Signed-off-by: Michael Buesch <mb@bu3sch.de> --- This patch is applied to the netdev tree. Commit is 5ea79631c0c47d28831a0635e8af9da539d449cd Index: linux-2.6.24.3/drivers/net/b44.c =====...
Mar 26, 10:00 am 2008
Ian Brown
A question about disabling sending redirects in IPV6 (versus...
Hello, I have a question regarding disabling sending redirects in IPV6 in the linux kernel: In include/linux/ipv6.h, I see a member called accept_redirects in ipv6_devconf, but there is no send_redirects member. There is /proc/sys/net/ipv6/conf/all/accept_redirects but I could not find /proc/sys/net/ipv6/conf/all/send_redirects. (In IPV4 there is both /proc/sys/net/ipv4/conf/all/send_redirects and /proc/sys/net/ipv4/conf/all/accept_redirects). Is there some reason that there is no way (a...
Mar 26, 8:48 am 2008
Daniel Lezcano
[patch 2/3][NETNS][IPV6] flowlabels - make flowlabels per na...
This patch introduces a new member, fl_net, in struct ip6_flowlabel. This allows to create labels with the same value in different namespaces. Signed-off-by: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> --- include/net/ipv6.h | 1 net/ipv6/ip6_flowlabel.c | 72 ++++++++++++++++++++++++++++++++++++----------- 2 files changed, 57 insertions(+), 16 deletions(-) Index: net-2.6.26/include/net/ipv6.h ============================...
Mar 26, 8:28 am 2008
Daniel Lezcano
[patch 3/3][NETNS][IPV6] flowlabels - make proc per namespace
Make /proc/net/ip6_flowlabel show only flow labels belonging to the current network namespace. Signed-off-by: Benjamin Thery <benjamin.thery@bull.net> Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> --- net/ipv6/ip6_flowlabel.c | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) Index: net-2.6.26/net/ipv6/ip6_flowlabel.c =================================================================== --- net-2.6.26.orig/net/ipv6/ip6_flowlabel.c ...
Mar 26, 8:28 am 2008
Daniel Lezcano
[patch 1/3][NETNS][IPV6] anycast - handle several network na...
Make use of the network namespace information to have this protocol to handle several network namespace. Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: Benjamin Thery <benjamin.thery@bull.net> --- include/net/addrconf.h | 3 ++- include/net/ipv6.h | 17 ++++++----------- net/ipv6/af_inet6.c | 12 ++++++------ net/ipv6/anycast.c | 38 ++++++++++++++++++++++---------------- net/ipv6/ndisc.c | 2 +- 5 files changed, 37 insertions(+), 35 ...
Mar 26, 8:28 am 2008
Daniel Lezcano
[patch 0/3][NETNS][IPV6] make anycast and ip6_flowlabels per...
This patch makes the anycast and ip6_flowlabel per namespace. -- --
Mar 26, 8:28 am 2008
Andrew Paprocki
[PATCH] ethtool: Add register dump support for all r8169 dri...
This adds all MAC versions currently found in the r8169 to the RealTek table and modifies the dump logic to handle card versions >= RTL8169 instead of specifically looking at the few previously supported cards. Signed-off-by: Andrew Paprocki <andrew@ishiboo.com>
Mar 26, 8:19 am 2008
Francois Romieu
Re: [PATCH] ethtool: Add register dump support for all r8169...
Andrew Paprocki <andrew@ishiboo.com> : Please revert: this register is reserved in the 8168. PHY access and PHY status are ok for the 8168. TBI and PM registers are not. The 8168 should not be included here. -- Ueimor --
Mar 26, 5:44 pm 2008
Andrew Paprocki
Re: [PATCH] ethtool: Add register dump support for all r8169...
I'll update this shortly and re-send again. Do you have 8168 docs showing the differences between it and the 8169? I peeked at this code because I'm trying to track down a 8110SC problem where the network hangs (sender hangs on sk_stream_wait_memory). Any useful docs on these chips would help. Thanks, -Andrew --
Mar 26, 6:11 pm 2008
Francois Romieu
Re: [PATCH] ethtool: Add register dump support for all r8169...
Andrew Paprocki <andrew@ishiboo.com> : I am not sure that the 8110/8169 documentation will be of much help but you can still give it a try. Can you elaborate on the kind of hang ? Which kernel do you use ? -- Ueimor --
Mar 26, 6:11 pm 2008
Ben Hutchings
[PATCH 0/8] New driver "sfc" for Solarstorm SFC4000 controll...
This is a resubmission of a new driver for Solarflare network controllers. The driver supports the 10Xpress PHY and XFP modules on our reference designs SFE4001 and SFE4002 and the SMC models SMC10GPCIe-XFP and SMC10GPCIe-10BT. The previous patches began with: http://marc.info/?l=linux-netdev&m=120528862826282&w=2 Some explanation of the driver structure was posted in: http://marc.info/?l=linux-netdev&m=119999015817920&w=2 Since the last submission we have addressed the r...
Mar 26, 8:12 am 2008
Ben Hutchings
[PATCH 8/8] New driver "sfc" for Solarstorm SFC4000 controll...
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> diff --git a/MAINTAINERS b/MAINTAINERS index 6d628fb..1e14206 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3512,6 +3512,13 @@ M: pfg@sgi.com L: linux-ia64@vger.kernel.org S: Supported +SFC NETWORK DRIVER +P: Steve Hodgson +P: Ben Hutchings +P: Robert Stonehouse +M: linux-net-drivers@solarflare.com +S: Supported + SGI VISUAL WORKSTATION 320 AND 540 P: Andrey Panin M: pazke@donpac.ru diff --git a/drivers/net/Kconfig b/d...
Mar 26, 8:15 am 2008
Ben Hutchings
[PATCH 7/8] New driver "sfc" for Solarstorm SFC4000 controll...
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> diff --git a/drivers/net/sfc/falcon_xmac.c b/drivers/net/sfc/falcon_xmac.c new file mode 100644 index 0000000..2abc8e4 --- /dev/null +++ b/drivers/net/sfc/falcon_xmac.c @@ -0,0 +1,530 @@ +/**************************************************************************** + * Driver for Solarflare Solarstorm network controllers and boards + * Copyright 2005-2006 Fen Systems Ltd. + * Copyright 2006-2008 Solarflare Communications Inc. + * + *...
Mar 26, 8:15 am 2008
Ben Hutchings
[PATCH 6/8] New driver "sfc" for Solarstorm SFC4000 controll...
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> diff --git a/drivers/net/sfc/ethtool.c b/drivers/net/sfc/ethtool.c new file mode 100644 index 0000000..786c2a2 --- /dev/null +++ b/drivers/net/sfc/ethtool.c @@ -0,0 +1,461 @@ +/**************************************************************************** + * Driver for Solarflare Solarstorm network controllers and boards + * Copyright 2005-2006 Fen Systems Ltd. + * Copyright 2006-2008 Solarflare Communications Inc. + * + * This progra...
Mar 26, 8:15 am 2008
Ben Hutchings
[PATCH 5/8] New driver "sfc" for Solarstorm SFC4000 controll...
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> diff --git a/drivers/net/sfc/falcon_hwdefs.h b/drivers/net/sfc/falcon_hwdefs.h new file mode 100644 index 0000000..721b698 --- /dev/null +++ b/drivers/net/sfc/falcon_hwdefs.h @@ -0,0 +1,1115 @@ +/**************************************************************************** + * Driver for Solarflare Solarstorm network controllers and boards + * Copyright 2005-2006 Fen Systems Ltd. + * Copyright 2006-2008 Solarflare Communications Inc. +...
Mar 26, 8:14 am 2008
Ben Hutchings
[PATCH 4/8] New driver "sfc" for Solarstorm SFC4000 controll...
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> diff --git a/drivers/net/sfc/falcon.c b/drivers/net/sfc/falcon.c new file mode 100644 index 0000000..ca2eb86 --- /dev/null +++ b/drivers/net/sfc/falcon.c @@ -0,0 +1,2723 @@ +/**************************************************************************** + * Driver for Solarflare Solarstorm network controllers and boards + * Copyright 2005-2006 Fen Systems Ltd. + * Copyright 2006-2008 Solarflare Communications Inc. + * + * This program ...
Mar 26, 8:14 am 2008
Ben Hutchings
[PATCH 3/8] New driver "sfc" for Solarstorm SFC4000 controll...
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h new file mode 100644 index 0000000..f0559d0 --- /dev/null +++ b/drivers/net/sfc/net_driver.h @@ -0,0 +1,883 @@ +/**************************************************************************** + * Driver for Solarflare Solarstorm network controllers and boards + * Copyright 2005-2006 Fen Systems Ltd. + * Copyright 2005-2008 Solarflare Communications Inc. + * + * Th...
Mar 26, 8:14 am 2008
Ben Hutchings
[PATCH 2/8] New driver "sfc" for Solarstorm SFC4000 controll...
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> diff --git a/drivers/net/sfc/rx.c b/drivers/net/sfc/rx.c new file mode 100644 index 0000000..cf74b5f --- /dev/null +++ b/drivers/net/sfc/rx.c @@ -0,0 +1,875 @@ +/**************************************************************************** + * Driver for Solarflare Solarstorm network controllers and boards + * Copyright 2005-2006 Fen Systems Ltd. + * Copyright 2005-2008 Solarflare Communications Inc. + * + * This program is free softw...
Mar 26, 8:14 am 2008
Ben Hutchings
[PATCH 1/8] New driver "sfc" for Solarstorm SFC4000 controll...
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c new file mode 100644 index 0000000..a55a8ce --- /dev/null +++ b/drivers/net/sfc/efx.c @@ -0,0 +1,2212 @@ +/**************************************************************************** + * Driver for Solarflare Solarstorm network controllers and boards + * Copyright 2005-2006 Fen Systems Ltd. + * Copyright 2005-2008 Solarflare Communications Inc. + * + * This program is free s...
Mar 26, 8:13 am 2008
Pavel Emelyanov
[PATCH][ICMP]: Dst entry leak in icmp_send host re-lookup co...
Commit 8b7817f3a959ed99d7443afc12f78a7e1fcc2063 ([IPSEC]: Add ICMP host relookup support) introduced some dst leaks on error paths: the rt pointer can be forgotten to be put. Fix it bu going to a proper label. Found after net namespace's lo refused to unregister :) Many thanks to Den for valuable help during debugging. Herbert pointed out, that xfrm_lookup() will put the rtable in case of error itself, so the first goto fix is redundant. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> ...
Mar 26, 5:25 am 2008
David Miller
Re: [PATCH][ICMP]: Dst entry leak in icmp_send host re-looku...
From: Pavel Emelyanov <xemul@openvz.org> Looks good, applied, thanks! --
Mar 26, 5:27 am 2008
Pavel Emelyanov
[PATCH net-2.6.26][NETNS][ICMP]: Build fix for NET_NS=n case...
I didn't check the kernel build after pulling dev->nd_net access optimization from net-2.6.26 tree :( Sorry. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c index 7049b3f..3697e05 100644 --- a/net/ipv4/icmp.c +++ b/net/ipv4/icmp.c @@ -821,7 +821,7 @@ static void icmp_echo(struct sk_buff *skb) { struct net *net; - net = skb->dst->dev->nd_net; + net = dev_net(skb->dst->dev); if (!net->ipv4.sysctl_icm...
Mar 26, 5:16 am 2008
David Miller
Re: [PATCH net-2.6.26][NETNS][ICMP]: Build fix for NET_NS=n ...
From: Pavel Emelyanov <xemul@openvz.org> Applied, thanks. --
Mar 26, 5:19 am 2008
Joakim Koskela
[RFC PATCH resend]: Fix output for BEET ipsec
Hi, Any comments on this? Would be great to get beet working soon! br, j == original post: This patch fixes the ipsec BEET (Bound End-to-End Tunnel) mode interfamily handling of the net-2.6 (25-rc3) kernel, as specified by the ietf draft found at: http://www.ietf.org/internet-drafts/draft-nikander-esp-beet-mode-08.txt It is sent as a RFC as it doesn't fit that neatly into the newly cleaned-up xfrm model - I suspect that there could be a better way to solve this. Signed-off-by: Joaki...
Mar 26, 5:15 am 2008
Herbert Xu
Re: [RFC PATCH resend]: Fix output for BEET ipsec
Thanks for the patch! In light of the patch I just posted I believe we can drop everything but the props_header_len adjustments. Please let me know if it still doesn't work with my earlier patch. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt --
Mar 26, 9:31 am 2008
Patrick McHardy
Re: [RFC PATCH resend]: Fix output for BEET ipsec
Why are you disabling this? --
Mar 26, 5:14 am 2008
Joakim Koskela
Re: [RFC PATCH resend]: Fix output for BEET ipsec
Thanks - can't remember and doesn't seem necessary. I'll reverse that. --
Mar 26, 6:47 am 2008
Pavel Emelyanov
[PATCH net-2.6.26 4/4][NETNS][ICMP]: Use per-net sysctls in ...
This mostly re-uses the net, used in icmp netnsization patches from Denis. After this ICMP sysctls are completely virtualized. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- net/ipv4/icmp.c | 25 ++++++++++++++++--------- 1 files changed, 16 insertions(+), 9 deletions(-) diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c index 958a384..7049b3f 100644 --- a/net/ipv4/icmp.c +++ b/net/ipv4/icmp.c @@ -270,7 +270,8 @@ int xrlim_allow(struct dst_entry *dst, int timeout) return rc;...
Mar 26, 4:57 am 2008
David Miller
Re: [PATCH net-2.6.26 4/4][NETNS][ICMP]: Use per-net sysctls...
From: Pavel Emelyanov <xemul@openvz.org> Applied, thanks. --
Mar 26, 5:00 am 2008
Pavel Emelyanov
[PATCH net-2.6.26 3/4][NETNS][ICMP]: Make ctl tables for ICM...
Add some flesh to ipv4_sysctl_init_net and ipv4_sysctl_exit_net, i.e. copy the table, alter .data pointers and register it per-net. Other ipv4_table's sysctls are now global, but this is going to change once sysctl permissions patches migrate from -mm tree to mainline in 2.6.26 merge window :) Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- include/net/netns/ipv4.h | 1 + net/ipv4/sysctl_net_ipv4.c | 138 ++++++++++++++++++++++++++++--------------- 2 files changed, 91 inse...
Mar 26, 4:55 am 2008
David Miller
Re: [PATCH net-2.6.26 3/4][NETNS][ICMP]: Make ctl tables for...
From: Pavel Emelyanov <xemul@openvz.org> Applied. --
Mar 26, 4:56 am 2008
Pavel Emelyanov
[PATCH net-2.6.26 2/4][NETNS][ICMP]: Move ICMP sysctls on st...
Initialization is moved to icmp_sk_init, all the places, that refer to them use init_net for now. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- include/net/icmp.h | 7 ----- include/net/netns/ipv4.h | 7 +++++ net/ipv4/icmp.c | 60 ++++++++++++++++++++++--------------------- net/ipv4/sysctl_net_ipv4.c | 12 ++++---- 4 files changed, 44 insertions(+), 42 deletions(-) diff --git a/include/net/icmp.h b/include/net/icmp.h index faba64d..dddb839 10064...
Mar 26, 4:53 am 2008
David Miller
Re: [PATCH net-2.6.26 2/4][NETNS][ICMP]: Move ICMP sysctls o...
From: Pavel Emelyanov <xemul@openvz.org> Applied. --
Mar 26, 4:55 am 2008
Pavel Emelyanov
[PATCH net-2.6.26 1/4][NETNS][ICMP]: Register pernet subsys ...
This includes adding pernet_operations, empty init and exit hooks and a bit of changes in sysctl_ipv4_init just not to have this part in next patches. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> --- net/ipv4/sysctl_net_ipv4.c | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index 88286f3..c2fca30 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c @@ -811,...
Mar 26, 4:51 am 2008
previous daytodaynext day
March 25, 2008March 26, 2008March 27, 2008