[BONDING]: Remove CAP_NET_ADMIN requirement for INFOQUERY ioctl

2006-01-23 Thread Thomas Graf
This information is already available via /proc/net/bonding/* therefore it doesn't make sense to require CAP_NET_ADMIN privileges. Original patch by Laurent Deniel [EMAIL PROTECTED] Signed-off-by: Thomas Graf [EMAIL PROTECTED] Index: net-2.6/net/core/dev.c

Re: [PATCH] tulip: Make ALi (ULi) integrated 100BaseTX Ethernet work

2006-01-23 Thread Andrew Morton
Olaf Hering [EMAIL PROTECTED] wrote: We carry this patch since 2005-03-13. Jiri, can you check if 2.6.16 still doesnt work for you on this sort of hardware? I did not find a bugzilla nor a better description. Doesn't compile. + if (tp-chip_id == ULI526X) { ULI526X isn't defined and

Re: [PATCH] tulip: Make ALi (ULi) integrated 100BaseTX Ethernet work

2006-01-23 Thread Olaf Hering
On Mon, Jan 23, Andrew Morton wrote: Olaf Hering [EMAIL PROTECTED] wrote: We carry this patch since 2005-03-13. Jiri, can you check if 2.6.16 still doesnt work for you on this sort of hardware? I did not find a bugzilla nor a better description. Doesn't compile. + if

Re: [PATCH] tulip: Make ALi (ULi) integrated 100BaseTX Ethernet work

2006-01-23 Thread Olaf Hering
On Mon, Jan 23, Andrew Morton wrote: Olaf Hering [EMAIL PROTECTED] wrote: We carry this patch since 2005-03-13. Jiri, can you check if 2.6.16 still doesnt work for you on this sort of hardware? I did not find a bugzilla nor a better description. Doesn't compile. Patch is

RE: My vote against eepro* removal

2006-01-23 Thread kus Kusche Klaus
From: John Ronciak Can we try a couple of things? 1) just comment out all the check for link code in the e100 driver and give that a try and 2) just comment out the update stats call and see if that works. These seem to be the differences and we need to know which one is causing the problem.

Re: [PATCH RESEND 3/6] e1000: Added functions to save and restore config

2006-01-23 Thread Ingo Oeser
Jeff Kirsher wrote: These functions help restore the driver to active configuration when coming out of resume for power management. Shouldn't this problem be fixed in the PCI layer of Linux? PS: CC'ed maintainer of Linux PCI core Regards Ingo Oeser - To unsubscribe from this list: send the

Re: [PATCH RESEND 6/6] e1000: Added driver comments

2006-01-23 Thread Ingo Oeser
Jeff Kirsher wrote: Signed-off-by: Jeff Kirsher [EMAIL PROTECTED] Signed-off-by: Jesse Brandeburg [EMAIL PROTECTED] Signed-off-by: John Ronciak [EMAIL PROTECTED] --- drivers/net/e1000/e1000_main.c | 72 +--- 1 files changed, 67 insertions(+), 5

Re: Marvell driver question

2006-01-23 Thread JaniD++
Hello, - Original Message - From: Stephen Hemminger [EMAIL PROTECTED] To: JaniD++ [EMAIL PROTECTED] Cc: netdev@vger.kernel.org Sent: Thursday, January 12, 2006 10:40 PM Subject: Re: Marvell driver question On Thu, 12 Jan 2006 21:15:21 +0100 JaniD++ [EMAIL PROTECTED] wrote: Hello,

[PATCH 00/02] pktgen: Ports thread list to Kernel list implementation.

2006-01-23 Thread Luiz Fernando Capitulino
Ports the thread list to use the Linux Kernel linked list implementation. The final result is a simpler and smaller code. Note that I'm adding a new member in the struct pktgen_thread called 'removed'. The reason is that I didn't find a better wait condition to be used in the place of the

[PATCH 00/01] pktgen: Lindent run.

2006-01-23 Thread Luiz Fernando Capitulino
This patch is not in-lined because it's 120K bytes long, you can found it at: http://www.cpu.eti.br/patches/pktgen_lindent_1.patch -- Luiz Fernando N. Capitulino - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info

[PATCH 00/00] pktgen: refinements and small fixes.

2006-01-23 Thread Luiz Fernando Capitulino
Hi! I have the following patches for pktgen: [PATCH 00/01] pktgen: Lindent run. [PATCH 00/02] pktgen: Ports thread list to Kernel list implementation. [PATCH 00/03] pktgen: Fix kernel_thread() fail leak. [PATCH 00/04] pktgen: Fix Initialization fail leak. All the patches were tested

[PATCH 00/03] pktgen: Fix kernel_thread() fail leak.

2006-01-23 Thread Luiz Fernando Capitulino
Leak fix: free all the alocated resources if kernel_thread() call fails. Signed-off-by: Luiz Capitulino [EMAIL PROTECTED] net/core/pktgen.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/net/core/pktgen.c b/net/core/pktgen.c index ee26c69..ccffcbb 100644 ---

[PATCH 00/04] pktgen: Fix Initialization fail leak.

2006-01-23 Thread Luiz Fernando Capitulino
Even if pktgen's thread initialization fails for all CPUs, the module will be successfully loaded. This patch changes that behaivor, by returning error on module load time, and also freeing all the resources allocated. It also prints a warning if a thread initialization has failed.

proper way to deal with a sparse warning (fwd)

2006-01-23 Thread Kumar Gala
I wasn't getting much of a response on lkml to this, so maybe netdev will be more helpful :) thanks - kumar -- Forwarded message -- Date: Thu, 19 Jan 2006 00:19:47 -0600 From: Kumar Gala [EMAIL PROTECTED] To: LKML List linux-kernel@vger.kernel.org Subject: proper way to deal

Re: What is packet split? Same as copybreak?

2006-01-23 Thread John Ronciak
On 1/22/06, Ha Hi [EMAIL PROTECTED] wrote: Question one: when e1000 does packet splitting, it seems packet data buffer is splitted into three parts, but how does e1000 decide how many parts needed to be splitted? The e1000 splits the packet into two parts, protocol headers and payload data. So

Re: sky2 freezes the system

2006-01-23 Thread Pekka Pietikainen
On Wed, 11 Jan 2006 14:00:17 -0800 Stephen Hemminger [EMAIL PROTECTED] wrote: On Wed, 11 Jan 2006 21:16:40 +0300 02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet Controller (rev 19) What is the chip revision, reported on dmesg output.

Re: [BUG] sky2 broken for Yukon PCI-E Gigabit Ethernet Controller 11ab:4362 (rev 19)

2006-01-23 Thread Stephen Hemminger
O It seems that the SuSE Firewall locked something I started with kernel 2.6.15-git7, tried 2.6.15.1 and 2.6.16-rc1*. At the moment I do use a kernel 2.6.15-git7 patched with an updated sky2 (v.013). I could not find a single working sky2 configuration. Are you using the full

Re: sky2 freezes the system

2006-01-23 Thread Stephen Hemminger
On Mon, 23 Jan 2006 20:03:15 +0200 Pekka Pietikainen [EMAIL PROTECTED] wrote: On Wed, 11 Jan 2006 14:00:17 -0800 Stephen Hemminger [EMAIL PROTECTED] wrote: On Wed, 11 Jan 2006 21:16:40 +0300 02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E Gigabit Ethernet

Re: [softmac-dev] [PATCH] ieee80211_rx_any: filter out packets, call ieee80211_rx or ieee80211_rx_mgt

2006-01-23 Thread Johannes Berg
On Sun, 2006-01-22 at 14:04 +0200, Denis Vlasenko wrote: + hdr = (struct ieee80211_hdr_4addr *)skb-data;: + fc = le16_to_cpu(hdr-frame_ctl);: +: + switch (fc IEEE80211_FCTL_FTYPE) {: + case IEEE80211_FTYPE_MGMT: + ieee80211_rx_mgt(ieee, hdr,

Re: [BUG] sky2 broken for Yukon PCI-E Gigabit Ethernet Controller 11ab:4362 (rev 19)

2006-01-23 Thread Knut Petersen
Stephen Hemminger wrote: O It seems that the SuSE Firewall locked something I started with kernel 2.6.15-git7, tried 2.6.15.1 and 2.6.16-rc1*. At the moment I do use a kernel 2.6.15-git7 patched with an updated sky2 (v.013). I could not find a single working sky2 configuration.

Re: [softmac-dev] [PATCH] ieee80211_rx_any: filter out packets, call ieee80211_rx or ieee80211_rx_mgt

2006-01-23 Thread Stefan Rompf
Am Montag 23 Januar 2006 15:32 schrieb Johannes Berg: Shouldn't you BSS-filter management packets too? no, management packets are used to populate f.e. scanning results. Stefan - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More

Re: sky2 0.11 instability

2006-01-23 Thread Carl-Daniel Hailfinger
Stephen Hemminger schrieb: You might try adjusting the interrupt coalescing parameters with ethtool -C eth0 ... But I can't give you hard guidelines as to what would make it better. I have a debug patch, but it needs work still. I don't care whether that debug patch will freeze the

Re: sky2 0.11 instability

2006-01-23 Thread Stephen Hemminger
On Mon, 23 Jan 2006 20:57:10 +0100 Carl-Daniel Hailfinger [EMAIL PROTECTED] wrote: Stephen Hemminger schrieb: You might try adjusting the interrupt coalescing parameters with ethtool -C eth0 ... But I can't give you hard guidelines as to what would make it better. I have a debug

[RFC 2/3] bridge-netfilter: deinline

2006-01-23 Thread Stephen Hemminger
Move the inline functions that are used one place from netfilter_bridge include to the file they are used in. Change nf_bridge_alloc to use kzalloc. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- br-fix.orig/include/linux/netfilter_bridge.h +++ br-fix/include/linux/netfilter_bridge.h

[PATCH] net: do not export inet_bind_bucket_create twice

2006-01-23 Thread Sam Ravnborg
inet_bind_bucket_create was exported twice. Keep the export in the file where inet_bind_bucket_create is defined. Signed-off-by: Sam Ravnborg [EMAIL PROTECTED] --- I've noticed double export while playing with modpost. I did not see any ill-effect of it - but modpost may soon complain.

RE: My vote against eepro* removal

2006-01-23 Thread Jesse Brandeburg
On Mon, 23 Jan 2006, kus Kusche Klaus wrote: From: John Ronciak Can we try a couple of things? 1) just comment out all the check for link code in the e100 driver and give that a try and 2) just comment out the update stats call and see if that works.  These seem to be the differences and we

Re: sky2 0.11 instability

2006-01-23 Thread Carl-Daniel Hailfinger
Stephen Hemminger schrieb: On Mon, 23 Jan 2006 20:57:10 +0100 Carl-Daniel Hailfinger [EMAIL PROTECTED] wrote: Stephen Hemminger schrieb: You might try adjusting the interrupt coalescing parameters with ethtool -C eth0 ... But I can't give you hard guidelines as to what would make it

Re: any way to easily map struct socket * to userspace fd?

2006-01-23 Thread Christopher Friesen
David S. Miller wrote: He wants to go the other direction, from socket to file descriptor. Typically people doing this are implementing desktop notifiers for socket activity and stuff like that in order to fill in a feature checkbox that Windows happens to have... I believe in this case it's

[PATCH] net: Move destructor from neigh-ops to neigh_params

2006-01-23 Thread Roland Dreier
This is a resend of a patch written by Michael S. Tsirkin [EMAIL PROTECTED]. I'd like to get an ACK or NAK of it from Dave and other networking people, so that we can either merge it upstream or try a different approach. There definitely is a problem with neighbour destructors that IP-over-IB is

[Patch 1/1] Resubmit: TCP/UDP getpeersec

2006-01-23 Thread Catherine Zhang
Hi, Resubmission since the previous submission has entangled tab/spaces. thanks, Catherine -- From: [EMAIL PROTECTED] This patch implements an application of the LSM-IPSec networking controls whereby an application can determine the label of the security association its TCP or UDP sockets

Re: [PATCH] net: Move destructor from neigh-ops to neigh_params

2006-01-23 Thread David S. Miller
From: Roland Dreier [EMAIL PROTECTED] Date: Mon, 23 Jan 2006 13:27:32 -0800 I'd like to get an ACK or NAK of it from Dave Dave is in New Zealand at linux.conf.au, don't expect him to be too active for at least a week... - To unsubscribe from this list: send the line unsubscribe netdev in the

RE: [PATCH 2.6.16-rc1] S2io: Large Receive Offload (LRO) feature for Neterion (s2io) 10GbE Xframe PCI-X and PCI-E NICs

2006-01-23 Thread Ravinandan Arakali
Rick, This is the basic implementation I submitted. I will try and include support for timestamp option and resubmit. I did not did understand your other comments about service demand. Thanks, Ravi -Original Message- From: Rick Jones [mailto:[EMAIL PROTECTED] Sent: Friday, January 20,

Re: [PATCH 2.6.16-rc1] S2io: Large Receive Offload (LRO) feature for Neterion (s2io) 10GbE Xframe PCI-X and PCI-E NICs

2006-01-23 Thread Rick Jones
Ravinandan Arakali wrote: Rick, This is the basic implementation I submitted. I will try and include support for timestamp option and resubmit. I did not did understand your other comments about service demand. Sorry, that's a netperfism - netperf can report the service demand measured during

Re: About via-velocity source code for linux 2.4.x

2006-01-23 Thread Francois Romieu
(netdev added to Cc: list again) SangOg Na [EMAIL PROTECTED] : [...] I read the change log of 2.4.33-pre1, but I can't see via-velocity patch. Do you have via-velocity release plan for 2.4.33? Not really. I fear that 2.4.x is not an official target for new drivers any more. -- Ueimor - To

Re: [PATCH] Fix more whitespace issues in net/core/filter.c

2006-01-23 Thread David S. Miller
From: Kris Katterjohn [EMAIL PROTECTED] Date: Fri, 20 Jan 2006 17:26:43 -0800 This fixes some whitespace issues in net/core/filter.c Signed-off-by: Kris Katterjohn [EMAIL PROTECTED] Applied, thanks Kris. - To unsubscribe from this list: send the line unsubscribe netdev in the body of a

Re: [PATCH 9/9] bnx2: Update version and copyright year

2006-01-23 Thread David S. Miller
From: Michael Chan [EMAIL PROTECTED] Date: Thu, 19 Jan 2006 15:58:29 -0800 Update version to 1.4.31 and add 2006 copyright. Skip the last digit when reporting the firmware version. Signed-off-by: Michael Chan [EMAIL PROTECTED] All 9 patches applied (in New Zealand :-)). The hw interrupt

Re: [PATCH] Fix some whitespace issues in af_packet.c

2006-01-23 Thread David S. Miller
From: Kris Katterjohn [EMAIL PROTECTED] Date: Fri, 20 Jan 2006 22:07:06 -0800 Those changes and a couple more just like them. Signed-off-by: Kris Katterjohn [EMAIL PROTECTED] Applied, thanks Kris. - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to

RE: [PATCH 2.6.16-rc1] S2io: Large Receive Offload (LRO) feature for Neterion (s2io) 10GbE Xframe PCI-X and PCI-E NICs

2006-01-23 Thread Ravinandan Arakali
Rick, In addition to showing improved throughput, the CPU utilization(service demand) also went down. But one of the CPUs was running at full utilization. For eg. without LRO, the CPU idle times on the 4 CPUs were 39,43,8,12(average 25% idle). With LRO, it was 48/0/46/47(average 35% idle).

[PATCH 1/6] ipw2100: Add LEAP authentication algorithm support

2006-01-23 Thread Zhu Yi
ipw2100: Add LEAP authentication algorithm support. Signed-off-by: Hong Liu [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -5363,9 +5363,12 @@ static int ipw2100_configure_security(st

[PATCH 2/6] ipw2100: Make iwconfig txpower setting consistent with user input

2006-01-23 Thread Zhu Yi
[PATCH] ipw2100: Make iwconfig txpower setting consistent with user input Signed-off-by: Hong Liu [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -5105,12 +5105,13 @@ static int

[PATCH 0/6] ipw2100 driver updated

2006-01-23 Thread Zhu Yi
Hi, Here is a series of patches for ipw2100 driver. It brings ipw2100 to version 1.1.4 as released in ipw2100.sf.net. Patches include: [PATCH 1/6] ipw2100: Add LEAP authentication algorithm support [PATCH 2/6] ipw2100: Make iwconfig txpower setting consistent with user input [PATCH 3/6]

[PATCH 6/6] ipw2100: Fix setting txpower failed problem

2006-01-23 Thread Zhu Yi
[PATCH] ipw2100: Fix setting txpower failed problem The ipw2100 driver misunderstood the parameter of txpower. Tx Power off means turn off the radio, but the driver interpret it as can't set txpower. So when getting the txpower, it sets disabled=1 to the iwconifg tool in managed mode. And the

[PATCH 5/6] ipw2100: Fix a gcc compile warning

2006-01-23 Thread Zhu Yi
[PATCH] ipw2100: Fix a gcc compile warning drivers/net/wireless/ipw2100.c:2236: warning: `ipw2100_match_buf' defined but not used Cc: Yi Zhu [EMAIL PROTECTED] Cc: James Ketrenos [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] Signed-off-by: Zhu

[PATCH 4/6] ipw2100: remove white space and better format the code

2006-01-23 Thread Zhu Yi
[PATCH] ipw2100: remove white space and better format the code Signed-off-by: James Ketrenos [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -3767,7 +3767,7 @@ static ssize_t store_memory(struct devic struct net_device *dev =

[PATCH 3/6] ipw2100: Add generic geo information

2006-01-23 Thread Zhu Yi
[PATCH] ipw2100: Add generic geo information This patch fixes a BUG_ON for the latest ieee80211 change. Signed-off-by: Hong Liu [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -1672,6 +1672,18 @@ static

Re: sky2 0.11 instability

2006-01-23 Thread Carl-Daniel Hailfinger
Carl-Daniel Hailfinger schrieb: Stephen Hemminger schrieb: On Mon, 23 Jan 2006 20:57:10 +0100 Carl-Daniel Hailfinger [EMAIL PROTECTED] wrote: Stephen Hemminger schrieb: You might try adjusting the interrupt coalescing parameters with ethtool -C eth0 ... But I can't give you hard

Re: the dreaded oom-killer (reproducable in 2.6.11 - 2.6.16-rc1) :(

2006-01-23 Thread Andrew Morton
(cc'ing netdev with permission) [EMAIL PROTECTED] wrote: We have a set of machines that have been usually hanging seconds after reporting an oom-killer: gfp_mask=0xd1, order=0. We've tried variations of kernels from 2.6.11 through 2.6.16-rc1, with and without PAE enabled, all seem to

Re: Fw: [Bugme-new] [Bug 5936] New: Openswan tunnels + netfilter problem

2006-01-23 Thread Herbert Xu
Patrick McHardy [EMAIL PROTECTED] wrote: Andrew Morton wrote: http://bugzilla.kernel.org/show_bug.cgi?id=5936 Please post your iptables rules and the full list of loaded modules. The problem is caused by SNAT on a dst that already has an xfrm set. When ip_route_me_harder processes the dst

RE: My vote against eepro* removal

2006-01-23 Thread kus Kusche Klaus
From: Jesse Brandeburg On Mon, 23 Jan 2006, kus Kusche Klaus wrote: Here are my results: If the watchdog doesn't get interrupted, preempted, or whatever, it spends 340 us in its body: * 303 us in the mii code *  36 us in the following code up to e100_adjust_adaptive_ifs *   1 us in