linux-netdev mailing list

FromSubjectsort iconDate
PJ Waskiewicz
[PATCH] PATCH 2/2 [SCHED 2.6.23-stable]: Check subqueue stat...
The only qdiscs that check subqueue state before dequeue'ing are PRIO and RR. The other qdiscs, including the default pfifo_fast qdisc, will allow traffic bound for subqueue 0 through to hard_start_xmit. The check for netif_queue_stopped() is done above in pkt_sched.h, so it is unnecessary for qdisc_restart(). However, if the underlying driver is multiqueue capable, and only sets queue states on subqueues, this will allow packets to enter the driver when it's currently unable to process packets, r...
Nov 13, 1:44 pm 2007
PJ Waskiewicz
[PATCH] SCHED: Fix unnecesary driver entries when queue is s...
Dave, This patch addresses an issue with multiqueue devices and non-multiqueue qdiscs which is causing performance issues. This patch should be considered for both 2.6.23-stable and 2.6.24 upstream. Basically, if a driver is using the netif_*_subqueue() calls, then qdisc_restart() will happily call hard_start_xmit() even if subqueue 0 is stopped, which is bad. This re-adds the check for the subqueue state. Note that this check was removed when qdisc_restart() was rewritten. At that time thou...
Nov 13, 1:44 pm 2007
PJ Waskiewicz
[PATCH] PATCH 1/2 [SCHED 2.6.24]: Check subqueue status befo...
The only qdiscs that check subqueue state before dequeue'ing are PRIO and RR. The other qdiscs, including the default pfifo_fast qdisc, will allow traffic bound for subqueue 0 through to hard_start_xmit. The check for netif_queue_stopped() is done above in pkt_sched.h, so it is unnecessary for qdisc_restart(). However, if the underlying driver is multiqueue capable, and only sets queue states on subqueues, this will allow packets to enter the driver when it's currently unable to process packets, r...
Nov 13, 1:44 pm 2007
Nick Piggin
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
Yeah, that didn't help much, but in general I think it would give more consistent and reliable behaviour from slub. -
Nov 13, 7:41 am 2007
Nick Piggin
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
No problem. I would like to have helped more, but it's slow going given my lack of network stack knowledge. If I get any more interesting data, It didn't seem to be noticeable at 1 client. Unless scatterlist processing is going to cause cacheline bouncing, I don't see why this hurts more as you add CPUs? -
Nov 13, 1:36 pm 2007
Nick Piggin
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
No, it's an x86-64, so no highmem. What's also interesting is that SLAB apparently doesn't have this condition. The first thing that sprung to mind is that SLAB caches order > 0 allocations, while SLUB does not. However if anything, that should actually favour the SLUB numbers if network is avoiding order > 0 allocations. I'm doing some oprofile runs now to see if I can get any more info. -
Nov 13, 2:14 pm 2007
Nick Piggin Nov 13, 6:27 pm 2007
Nick Piggin
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
OK, that makes sense. BTW, are you taking advantage of kmalloc's "quantization" into slabs WRT the linear data area? I wonder if That brings performance back up! I wonder why it isn't causing a problem for SLAB... -
Nov 13, 7:39 pm 2007
Nick Piggin
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
Doesn't help (with vanilla kernel -- Herbert's patch applied). data_len histogram drops to 0 and goes to len (I guess that's not surprising). Performance is pretty similar (ie. not good). I'll look at allocator patterns next. -
Nov 13, 6:55 pm 2007
Auke Kok
[PATCH 1/6] e1000e: update netstats traffic counters realtime
formerly e1000/e1000e only updated traffic counters once every 2 seconds with the register values of bytes/packets. With newer code however in the interrupt and polling code we can real-time fill in these values in the netstats struct for users to see. Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> --- drivers/net/e1000e/netdev.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/net/e1000e/netdev.c b/drivers/net/e1000e/netdev.c index a271112.....
Nov 13, 7:11 pm 2007
Auke Kok
[PATCH 6/6] e1000: fix schedule while atomic when called fro...
From: Jesse Brandeburg <jesse.brandeburg@intel.com> mii-tool can cause the driver to call msleep during nway reset, bugzilla.kernel.org bug 8430. Fix by simply calling reinit_locked outside of the spinlock, which is safe from ethtool, so it should be safe from here. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> --- drivers/net/e1000/e1000_main.c | 13 +++---------- 1 files changed, 3 insertions(+), 10 dele...
Nov 13, 7:11 pm 2007
Auke Kok
[PATCH 5/6] e1000: Secondary unicast address support
From: Patrick McHardy <kaber@trash.net> Add support for configuring secondary unicast addresses. Unicast addresses take precendece over multicast addresses when filling the exact address filters to avoid going to promiscous mode. When more unicast addresses are present than filter slots, unicast filtering is disabled and all slots can be used for multicast addresses. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> --- dri...
Nov 13, 7:11 pm 2007
Auke Kok
[PATCH 4/6] e1000e: convert register test macros to functions
From: Joe Perches <joe@perches.com> Add functions for reg_pattern_test and reg_set_and check Changed macros to use these functions Compiled x86, untested Size decreased ~2K old: $ size drivers/net/e1000e/ethtool.o text data bss dec hex filename 14461 0 0 14461 387d drivers/net/e1000e/ethtool.o new: $ size drivers/net/e1000e/ethtool.o text data bss dec hex filename 12498 0 0 12498 30d2 drivers/net/e1000e...
Nov 13, 7:11 pm 2007
Auke Kok
[PATCH 3/6] e1000: convert regtest macro's to functions
Minimal macro to function conversion in e1000_ethtool.c Adds functions reg_pattern_test and reg_set_and_check Changes REG_PATTERN_TEST and REG_SET_AND_CHECK macros to call these functions. Saves ~2.5KB Compiled x86, untested (no hardware) old: $ size drivers/net/e1000/e1000_ethtool.o text data bss dec hex filename 16778 0 0 16778 418a drivers/net/e1000/e1000_ethtool.o new: $ size drivers/net/e1000/e1000_ethtool.o text data bss dec ...
Nov 13, 7:11 pm 2007
Auke Kok
[PATCH 2/6] e1000: update netstats traffic counters realtime
formerly e1000/e1000e only updated traffic counters once every 2 seconds with the register values of bytes/packets. With newer code however in the interrupt and polling code we can real-time fill in these values in the netstats struct for users to see. Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> --- drivers/net/e1000/e1000_main.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index ...
Nov 13, 7:11 pm 2007
Linas Vepstas
[PATCH] netdev: create an "is_napi_enabled()" call
In certain rare cases, it can be nice to be able to check if napi is enabled or not. Create an is_napi_enabled() call. Signed-off-by: Linas Vepstas <linas@austin.ibm.com> ------- Actually, I'm confused about whether I'd mailed this previously. It might be a duplicate submission. include/linux/netdevice.h | 11 +++++++++++ 1 file changed, 11 insertions(+) Index: linux-2.6.23-rc8-mm1/include/linux/netdevice.h =================================================================== --- li...
Nov 13, 7:06 pm 2007
Ilpo Järvinen
[PATCH] [TCP] FRTO: Limit snd_cwnd if TCP was application li...
Otherwise TCP might violate packet ordering principles that FRTO is based on. If conventional recovery path is chosen, this won't be significant at all. In practice, any small enough value will be sufficient to provide proper operation for FRTO, yet other users of snd_cwnd might benefit from a "close enough" value. FRTO's formula is now equal to what tcp_enter_cwr() uses. FRTO used to check application limitedness a bit differently but I changed that in commit 575ee7140dabe9b9c4f66f4f867039b97e...
Nov 13, 6:08 pm 2007
Mathieu Desnoyers
[RFC 6/7] LTTng instrumentation net
Network core events. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: netdev@vger.kernel.org --- net/core/dev.c | 5 +++++ net/ipv4/devinet.c | 5 +++++ net/socket.c | 18 ++++++++++++++++++ 3 files changed, 28 insertions(+) Index: linux-2.6-lttng/net/core/dev.c =================================================================== --- linux-2.6-lttng.orig/net/core/dev.c 2007-11-13 09:25:26.000000000 -0500 +++ linux-2.6-lttng/net/core/dev.c 2007-11-13 ...
Nov 13, 3:33 pm 2007
Chuck Ebbert
nf_conntrack_max appears twice in /proc/sys/net
With 2.6.23.1: # pwd ; find . -name nf_conntrack_max /proc/sys/net ./netfilter/nf_conntrack_max ./nf_conntrack_max Both sysctls operate on the same underlying value, though, so no real problem. -
Nov 13, 3:46 pm 2007
Jon Nelson
tg3: strange errors and non-working-ness
I'm not sure if this is the right place, but I've got a pair of GiG-E cards that do not work correctly. Everything appears to come up just fine, but sooner or later (typically fairly quickly) the cards weird out and never really come back. The best info I've got is this: Nov 10 22:21:19 frank kernel: tg3.c:v3.65 (August 07, 2006) Nov 10 22:21:19 frank kernel: ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKB] -> GSI 3 (level, low) -> IRQ 3 Nov 10 22:21:19 frank kernel: eth0: Tigon3 [par...
Nov 13, 2:57 pm 2007
Chuck Lever
[PATCH 22/25] NFS: Support non-IPv4 addresses in nfs_parsed_...
Replace the nfs_server and mount_server address fields in the nfs_parsed_mount_data structure with a "struct sockaddr_storage" and a length, instead of a "struct sockaddr_in". Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> --- fs/nfs/client.c | 11 +++++----- fs/nfs/internal.h | 6 ++++-- fs/nfs/super.c | 56 +++++++++++++++++++++++++++++++++-------------------- 3 files changed, 44 insertions(+), 29 deletions(-) ...
Nov 13, 2:32 pm 2007
Chuck Lever
[PATCH 23/25] NFS: Add AF_INET6 support to nfs_try_mount()
Update nfs_try_mount() to support AF_INET6 family addresses. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> --- fs/nfs/super.c | 19 ++++++++++--------- 1 files changed, 10 insertions(+), 9 deletions(-) diff --git a/fs/nfs/super.c b/fs/nfs/super.c index 3ea4a4f..2abef88 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -1048,7 +1048,7 @@ out_unknown: static int nfs_try_mount(struct nfs_parsed_mount_data *args, struct nfs_fh *root_fh) { - struct sockaddr_in sin; + s...
Nov 13, 2:33 pm 2007
Chuck Lever
[PATCH 21/25] NFS: Refactor mount option address parsing int...
Some mount options pass in a string IP address. Let's parse these strings in a separate function since this is done for at least two different mount options. This allows us to support IPv6 string addresses more easily in a subsequent patch Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> --- fs/nfs/super.c | 20 ++++++++++++++------ 1 files changed, 14 insertions(+), 6 deletions(-) diff --git a/fs/nfs/super.c b/fs/nfs/...
Nov 13, 2:32 pm 2007
Chuck Lever
[PATCH 25/25] NFS: Verify IPv6 addresses properly
Add support to nfs_verify_server_address for recognizing AF_INET6 addresses. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> --- fs/nfs/super.c | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/fs/nfs/super.c b/fs/nfs/super.c index c066016..f0af79b 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -46,6 +46,7 @@ #include <linux/vfs.h> #include <linux/inet.h> #include ...
Nov 13, 2:33 pm 2007
Jochen Friedrich
[PATCH] powerpc: Fix fs_enet module build
If fs_enet is build as module, on PPC_CPM_NEW_BINDING platforms mii-fec/mii-bitbang should be build as module, as well. On other platforms, mii-fec/mii-bitbang must be included into the main module. Otherwise some symbols remain undefined. Additionally, fs_enet uses libphy, so add a select PHYLIB. Building modules, stage 2. MODPOST 5 modules ERROR: "fs_scc_ops" [drivers/net/fs_enet/fs_enet.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 Signed-off-by: Jochen Fri...
Nov 13, 2:32 pm 2007
Chuck Lever
[PATCH 24/25] NFS: Parse IPv6 addresses in nfs_parse_server_...
Add the ability to parse IPv6 addresses passed in via the 'addr=' and 'mountaddr=' mount options. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> --- fs/nfs/super.c | 24 +++++++++++++++++++----- 1 files changed, 19 insertions(+), 5 deletions(-) diff --git a/fs/nfs/super.c b/fs/nfs/super.c index 2abef88..c066016 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -622,11 +622,25 @@ static void nfs_parse_server_address(c...
Nov 13, 2:33 pm 2007
Chuck Lever
[PATCH 20/25] NFS: Set default port for NFSv4, with support ...
Move more address family dependencies to a helper function. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> --- fs/nfs/super.c | 40 ++++++++++++++++++++++++++++++++-------- 1 files changed, 32 insertions(+), 8 deletions(-) diff --git a/fs/nfs/super.c b/fs/nfs/super.c index 7dc56ce..1831394 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -1573,6 +1573,31 @@ static void nfs4_fill_super(struct super_block *sb) } /* + * If the user didn't specify a port, set the port num...
Nov 13, 2:32 pm 2007
Chuck Lever
[PATCH 19/25] NFS: Make setting a port number agostic
We'll need to set the port number of an AF_INET or AF_INET6 address in several places in fs/nfs/super.c, so introduce a helper that can manage this for us. We put this helper to immediate use. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> --- fs/nfs/super.c | 34 ++++++++++++++++++++++++++++++++-- 1 files changed, 32 insertions(+), 2 deletions(-) diff --git a/fs/nfs/super.c b/fs/nfs/super.c index 262adb4..7dc56ce 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c @@ -45,6 +45,...
Nov 13, 2:32 pm 2007
Chuck Lever
[PATCH 01/25] SUNRPC: Move universal address definitions to ...
Universal addresses are defined in RFC 1833 and clarified in RFC 3530. We need to use them in several places in the NFS and RPC clients, so move the relevant definition and block comment to an appropriate global include file. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> --- include/linux/sunrpc/msg_prot.h | 39 ++++++++++++++++++++++++++++++++++ net/sunrpc/rpcb_clnt.c | 45 +++------------------------------------ 2 files changed, 42 insertions(+), 42 deletions(-) d...
Nov 13, 2:31 pm 2007
Chuck Lever
[PATCH 18/25] NFS: Remove the NIPQUAD from nfs_try_mount
In the name of address family compatibility, we can't have the NIP_FMT and NIPQUAD macros in nfs_try_mount(). Instead, we can make use of an unused mount option to display the mount server's hostname. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> --- fs/nfs/super.c | 23 ++++++++++++++++++----- 1 files changed, 18 insertions(+), 5 deletions(-) diff --git a/fs/nfs/super.c b/fs/nfs/super.c index 6258a19..262adb4 100644 ...
Nov 13, 2:32 pm 2007
Chuck Lever
[PATCH 03/25] NFS: Increase size of cl_ipaddr field to hold ...
The nfs_client's cl_ipaddr field needs to be larger to hold strings that represent IPv6 addresses. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> --- include/linux/nfs_fs_sb.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h index 8a3061c..f2a0f20 100644 --- a/include/linux/nfs_fs_sb.h +++ b/include/linux/nfs_fs_sb.h @@ -63,7 +63,7 @@ struct nf...
Nov 13, 2:31 pm 2007
Chuck Lever
[PATCH 17/25] NFS: Change nfs4_set_client() to accept (socka...
Adjust the arguments and callers of nfs4_set_client() to pass a "struct sockaddr *" and a length instead of a "struct sockaddr_in *" to support non-IPv4 addresses in the NFS client. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> --- fs/nfs/client.c | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 5e53892..37b63a6 100644 --- a/fs/nfs/client.c +++ b...
Nov 13, 2:32 pm 2007
Chuck Lever
[PATCH 16/25] NFS: Adjust nfs_clone_mount structure to store...
Change the addr field in the nfs_clone_mount structure to store a "struct sockaddr *" to support non-IPv4 addresses in the NFS client. Note this is mostly a cosmetic change, and does not actually allow referrals using IPv6 addresses. The existing referral code assumes that the server returns a string that represents an IPv4 address. This code needs to support hostnames and IPv6 addresses as well as IPv4 addresses, thus it will need to be restructured in order to handle DNS resolution in user spac...
Nov 13, 2:32 pm 2007
Chuck Lever
[PATCH 15/25] NFS: Change nfs_get_client() to take (sockaddr...
Adjust arguments and callers of nfs_get_client() to pass a "struct sockaddr *" and length instead of "struct sockaddr_in *" to support non-IPv4 addresses. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> --- fs/nfs/client.c | 21 +++++++++++---------- 1 files changed, 11 insertions(+), 10 deletions(-) diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 7b45ed0..f03a742 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c ...
Nov 13, 2:32 pm 2007
Chuck Lever
[PATCH 14/25] NFS: Change nfs_find_client() to take "struct ...
Adjust arguments and callers of nfs_find_client() to pass a "struct sockaddr *" instead of "struct sockaddr_in *" to support non-IPv4 addresses. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> --- fs/nfs/callback.c | 3 +-- fs/nfs/callback_proc.c | 4 ++-- fs/nfs/client.c | 4 ++-- fs/nfs/internal.h | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/fs/nfs/callback.c b/fs/nf...
Nov 13, 2:32 pm 2007
Chuck Lever
[PATCH 13/25] NFS: Distinguish IPv6 addresses in __nfs_find_...
Add support for the AF_INET6 family of IP addresses in __nfs_find_client. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> --- fs/nfs/client.c | 34 +++++++++++++++++++++++++++------- 1 files changed, 27 insertions(+), 7 deletions(-) diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 8eff0b2..67a5a53 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c @@ -34,6 +34,8 @@ #include <linux/nfs_idmap.h> #include <...
Nov 13, 2:32 pm 2007
Chuck Lever
[PATCH 12/25] NFS: Change __nfs_find_client() to take "struc...
Adjust the arguments and callers of __nfs_find_client() to pass a "struct sockaddr *" instead of a "struct sockaddr_in *" so that non-IPv4 addresses can be passed into __nfs_find_client(). A subsequent patch adds support for IPv6 addresses to __nfs_find_client(). Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> --- fs/nfs/client.c | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/fs/nfs/c...
Nov 13, 2:32 pm 2007
Chuck Lever
[PATCH 07/25] NFS: Address a couple of nits in nfs_follow_re...
Fix an outdated block comment, and address a comparison between a signed and unsigned integer. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> --- fs/nfs/nfs4namespace.c | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/fs/nfs/nfs4namespace.c b/fs/nfs/nfs4namespace.c index dd5fef2..bd1b161 100644 --- a/fs/nfs/nfs4namespace.c +++ b/fs/nfs/nfs4namespace.c @@ -114,10 +114,7 @@ static inline int valid_ipaddr4(const char *buf) * nfs_follow_referral - set...
Nov 13, 2:31 pm 2007
Chuck Lever
[PATCH 11/25] NFS: Make nfs_alloc_client() take (sockaddr, l...
To support non-IPv4 addresses, adjust the arguments and callers of nfs_alloc_client() to pass in a "struct sockaddr *" and length instead of a "struct sockaddr_in *". Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> --- fs/nfs/client.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 53bf8ab..c1ee3d3 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c @...
Nov 13, 2:31 pm 2007
Chuck Lever
[PATCH 10/25] NFS: Change cb_recallargs to pass "struct sock...
Change the addr field in the cb_recallargs struct to a "struct sockaddr *" to support IPv6 addresses. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> --- fs/nfs/callback.h | 2 +- fs/nfs/callback_proc.c | 2 +- fs/nfs/callback_xdr.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/nfs/callback.h b/fs/nfs/callback.h index ec0ffd9..bb25d21 100644 --- a/fs/nfs/callback.h +++ b/fs/nfs/c...
Nov 13, 2:31 pm 2007
Chuck Lever
[PATCH 09/25] NFS: Change cb_getattrargs to pass "struct soc...
Change the addr field in the cb_getattrargs struct to a "struct sockaddr *" to support non-IPv4 addresses. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> --- fs/nfs/callback.h | 2 +- fs/nfs/callback_proc.c | 2 +- fs/nfs/callback_xdr.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/nfs/callback.h b/fs/nfs/callback.h index c2bb14e..ec0ffd9 100644 --- a/fs/nfs/callback.h +++ b/fs/...
Nov 13, 2:31 pm 2007
Chuck Lever
[PATCH 08/25] NFS: Expand server address storage in nfs_clie...
Prepare for managing larger addresses in the NFS client by widening the nfs_client struct's cl_addr field and adding a field to store the address's length. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> --- fs/nfs/client.c | 11 +++++++---- fs/nfs/super.c | 9 ++++++--- include/linux/nfs_fs_sb.h | 3 ++- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/fs/nfs/client.c b/fs/nfs/cl...
Nov 13, 2:31 pm 2007
Chuck Lever
[PATCH 06/25] NFS: Clean-up: move dprintks from callback.c t...
The client side peer address is available in callback_proc.c, so move a dprintk out of fs/nfs/callback.c and into fs/nfs/callback_proc.c. This is more consistent with other debugging messages, and the proc routines have more information about each request to display. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> --- fs/nfs/callback.c | 4 ---- fs/nfs/callback_proc.c | 12 +++++++++++- 2 files changed, 11 inserti...
Nov 13, 2:31 pm 2007
Chuck Lever
[PATCH 04/25] NFS: Enable NFS client to generate CLIENTID st...
We recently added methods to RPC transports that provide string versions of the remote peer address information. Convert the NFSv4 SETCLIENTID procedure to use those methods instead of building the client ID out of whole cloth. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> --- fs/nfs/nfs4proc.c | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c index ...
Nov 13, 2:31 pm 2007
Chuck Lever
[PATCH 02/25] NFS: Ensure NFSv4 SETCLIENTID send buffer is l...
Ensure that the RPC buffer size specified for NFSv4 SETCLIENTID procedures matches what we are encoding into the buffer. See the definition of struct nfs4_setclientid {} and the encode_setclientid() function. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> --- fs/nfs/nfs4xdr.c | 10 ++++++---- include/linux/nfs_xdr.h | 13 +++++++------ 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c index eae46f0..93e8ebf 100644 --- ...
Nov 13, 2:31 pm 2007
Chuck Lever
[PATCH 05/25] NFS: eliminate NIPQUAD(clp->cl_addr.sin_addr)
To ensure the NFS client displays IPv6 addresses properly, replace address-specific NIPQUAD() invocations with a call to the RPC client to get a formatted string representing the remote peer's address. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Cc: Aurelien Charbon <aurelien.charbon@ext.bull.net> --- fs/nfs/client.c | 12 ++++++------ fs/nfs/delegation.c | 10 ++++++---- fs/nfs/nfs4state.c | 9 +++++---- fs/nfs/super.c | 5 +++-- 4 files changed, 20 in...
Nov 13, 2:31 pm 2007
Chuck Lever
[PATCH 00/25] RFC: AF_INET6 family support for the NFS client
These 25 patches add support for AF_INET6 addresses to the NFS client. This is a request for review of the proposed changes. This series does not add support for AF_INET6 addresses to the Linux NLM or NSM implementations, nor does it add support in the NFS server. To use an IPv6 NFS server, the mount.nfs command will pass in an IPv6 server address via the "addr" option. IPv6 support in mount.nfs is yet to be implemented. This series has been tested only with IPv4 addresses to ensure there are ...
Nov 13, 2:30 pm 2007
Oliver Neukum
[PATCH]iwlwifi not correctly dealing with hotunplug
It makes no sense to enable interrupts if a device has been unplugged. In addition if in doubt IRQ_HANDLED should be returned. Signed-off-by: Oliver Neukum <oneukum@suse.de> Regards Oliver ---- --- linux-2.6.24-rc1/drivers/net/wireless/iwlwifi/iwl3945-base.c.alt 2007-11-13 12:23:07.000000000 +0100 +++ linux-2.6.24-rc1/drivers/net/wireless/iwlwifi/iwl3945-base.c 2007-11-13 12:26:00.000000000 +0100 @@ -4850,7 +4850,7 @@ static irqreturn_t iwl_isr(int irq, void if ((inta == 0xFFFFFF...
Nov 13, 2:26 pm 2007
Tony Battersby
BUG: sky2: hw csum failure with dual-port copper NIC on SMP
I am getting "hw csum failure" messages with sky2. I have seen this problem reported elsewhere with a fibre NIC, but I am using a copper NIC. It seems to be triggered by SMP. It is easy to reproduce in 2.6.23. 2.6.24-rc2-git3 still has the problem, but it happens less frequently. To reproduce the problem, I am using a simple network benchmark program that I wrote that basically does send()/recv() as fast as possible using a memory buffer (null data, no disk I/O, no data integrity checking). Th...
Nov 13, 1:51 pm 2007
Stephen Hemminger
Re: BUG: sky2: hw csum failure with dual-port copper NIC on ...
On Tue, 13 Nov 2007 12:51:33 -0500 ifconfig reports value from dev->irq, which is a a legacy thing. When using MSI it gets it wrong. I can reproduce the problem under load with only a single port on 2.6.23. I haven't been able to reproduce it on 2.6.24-rc2 (latest) but that maybe because of either insufficient stress or another bug fix correcting the problem. There is an issue with Yukon XL updating the receive status index before updating the receive status structure, that is now fixed in 2....
Nov 13, 6:14 pm 2007
previous daytodaynext day
November 12, 2007November 13, 2007November 14, 2007