linux-netdev mailing list

FromSubjectsort iconDate
Ayaz Abdulla
[PATCH] forcedeth: msi interrupts
This patch adds a workaround for lost MSI interrupts. There is a race condition in the HW in which future interrupts could be missed. The workaround is to toggle the MSI irq mask. Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com>
Jun 3, 4:51 pm 2008
Adam Langley
[PATCH] Fix corrupt TCP packets when options space overflows...
When MD5 signatures are turned on we can end up with syntactically invalid packets with a header length < 20 bytes. This is because tcp_header_size overflows with 12 bytes of timestamp, 20 bytes of signature and > 8 bytes of SACK option. Since we can't fit any SACK blocks in the final 8 bytes of options space, and the MD5 signature is more important, we disable including SACK, or even advertising it, when MD5 is enabled. Signed-off-by: Adam Langley <agl@imperialviolet.org> --- dif...
Jun 3, 5:52 pm 2008
David Miller
net-2.6 being rebased...
Because of the bugs in Adam's MD5/SACK fix I need to rebase the tree to get rid of it. Adam, please post a complete new patch once you've fixed that SACK option adding problem. Thanks. The only other local change in net-2.6 is Dave Young's bluetooth deadlock fix which I'll put into the rebased tree. I hate to do this but: 1) I didn't pull any of this into net-next-2.6 yet, so it hasn't propagated there. 2) I don't want Adam's buggy change holding back my ability to push bug fixe...
Jun 3, 5:24 pm 2008
David Miller
Re: net-2.6 being rebased...
From: David Miller <davem@davemloft.net> The rebase of net-2.6 is complete, thanks for your understanding. --
Jun 3, 5:28 pm 2008
Adam Langley
Re: net-2.6 being rebased...
I should apologise for this. I don't know the TCP stack well enough (obviously); I just sought to highlight a bug that I saw when I was hacking around for one of my own pet projects. I'll send a v2 patch in a second which should contain all the first, plus fixes at all the other places I can find that the contents of the header are calculated. (I've tested it between a couple of KVM instances, which is all the testing ability I have at the moment). You may well want to drop it and wait until some...
Jun 3, 6:09 pm 2008
Jeff Garzik
Re: net-2.6 being rebased...
Thanks for warning us, and thanks for helping to make sure rebases are now a rare event. Cheers and enjoy your travels, Jeff --
Jun 3, 5:31 pm 2008
Adam Langley
Re: net-2.6 being rebased...
I'm just finishing up a proposed fix if you want to hold off. AGL --
Jun 3, 5:27 pm 2008
David Miller
Re: net-2.6 being rebased...
From: "Adam Langley" <agl@imperialviolet.org> It's better to have only a working fix in there. But thanks anyways. --
Jun 3, 5:28 pm 2008
David Miller
[PATCH 12/12]: wext: Emit event stream entries correctly whe...
Three major portions to this change: 1) Add IW_EV_COMPAT_LCP_LEN, IW_EV_COMPAT_POINT_OFF, and IW_EV_COMPAT_POINT_LEN helper defines. 2) Delete iw_stream_check_add_*(), they are unused. 3) Add iw_request_info argument to iwe_stream_add_*(), and use it to size the event and pointer lengths correctly depending upon whether IW_REQUEST_FLAG_COMPAT is set or not. 4) The mechanical transformations to the drivers and wireless stack bits to get the iw_request_info passed down into the r...
Jun 3, 4:28 pm 2008
Larry Finger
Re: [PATCH 12/12]: wext: Emit event stream entries correctly...
David, What tree should be used for this patch? On wireless-testing that git-describe lists as v2.6.26-rc4-8782-gd9a8bd7, hunk 5 for mlme.c fails. Larry --
Jun 3, 6:00 pm 2008
David Miller
Re: [PATCH 12/12]: wext: Emit event stream entries correctly...
From: Larry Finger <Larry.Finger@lwfinger.net> I said in the 0/12 posting that the patches are based upon net-next-2.6 --
Jun 3, 6:03 pm 2008
Johannes Berg
Re: [PATCH 12/12]: wext: Emit event stream entries correctly...
Awesome stuff. With respect to wpa supplicant, I'd expect we need some sort of handling for this wrt. notifications (multicast) which is a bit Did you miss drivers/net/ps3_gelic_wireless.c? johannes
Jun 3, 4:48 pm 2008
David Miller
Re: [PATCH 12/12]: wext: Emit event stream entries correctly...
From: Johannes Berg <johannes@sipsolutions.net> Likely yes, I guess that won't get hit with an allmodconfig build on sparc64 :( It would be really nice if we had some more compat layers so that the ps3 bus probing layer just nopped out but you could at least build test drivers on other platforms. --
Jun 3, 4:57 pm 2008
David Miller
Re: [PATCH 12/12]: wext: Emit event stream entries correctly...
From: David Miller <davem@davemloft.net> Here is a respin of patch 12 with the ps3 bits included, thank for noticing Johannes. I've also respun the tree on kernel.org so that it's fixed there too. wext: Emit event stream entries correctly when compat. Three major portions to this change: 1) Add IW_EV_COMPAT_LCP_LEN, IW_EV_COMPAT_POINT_OFF, and IW_EV_COMPAT_POINT_LEN helper defines. 2) Delete iw_stream_check_add_*(), they are unused. 3) Add iw_request_info argument to iwe_str...
Jun 3, 5:08 pm 2008
David Miller
[PATCH 11/12]: wext: Create IW_REQUEST_FLAG_COMPAT and set i...
Now low-level WEXT ioctl handlers can do compat handling when necessary. Signed-off-by: David S. Miller <davem@davemloft.net> --- include/net/iw_handler.h | 2 +- net/wireless/wext.c | 73 +++++++++++++++++++++------------------------- 2 files changed, 34 insertions(+), 41 deletions(-) diff --git a/include/net/iw_handler.h b/include/net/iw_handler.h index 369d50e..c99a8ee 100644 --- a/include/net/iw_handler.h +++ b/include/net/iw_handler.h @@ -256,7 +256,7 @@ #define EIWC...
Jun 3, 3:20 pm 2008
David Miller
[PATCH 11/12]: wext: Create IW_REQUEST_FLAG_COMPAT and set i...
Now low-level WEXT ioctl handlers can do compat handling when necessary. Signed-off-by: David S. Miller <davem@davemloft.net> --- include/net/iw_handler.h | 2 +- net/wireless/wext.c | 73 +++++++++++++++++++++------------------------- 2 files changed, 34 insertions(+), 41 deletions(-) diff --git a/include/net/iw_handler.h b/include/net/iw_handler.h index 369d50e..c99a8ee 100644 --- a/include/net/iw_handler.h +++ b/include/net/iw_handler.h @@ -256,7 +256,7 @@ #define EIWC...
Jun 3, 4:28 pm 2008
David Miller
[PATCH 8/12]: wext: Pull top-level ioctl dispatch logic into...
Signed-off-by: David S. Miller <davem@davemloft.net> --- net/wireless/wext.c | 26 ++++++++++++++++++++------ 1 files changed, 20 insertions(+), 6 deletions(-) diff --git a/net/wireless/wext.c b/net/wireless/wext.c index b72cdd2..91cf548 100644 --- a/net/wireless/wext.c +++ b/net/wireless/wext.c @@ -1079,8 +1079,10 @@ static int wext_permission_check(unsigned int cmd) } /* entry point from dev ioctl */ -int wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd, ...
Jun 3, 3:20 pm 2008
David Miller
[PATCH 1/12]: wext: Remove inline from get_priv_size() and a...
The compiler inlines when appropriate. Signed-off-by: David S. Miller <davem@davemloft.net> --- net/wireless/wext.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/net/wireless/wext.c b/net/wireless/wext.c index 947188a..e83d74a 100644 --- a/net/wireless/wext.c +++ b/net/wireless/wext.c @@ -500,7 +500,7 @@ static int call_commit_handler(struct net_device *dev) /* * Calculate size of private arguments */ -static inline int get_priv_size(__u16 args) ...
Jun 3, 4:28 pm 2008
David Miller
[PATCH 5/12]: wext: Pull ioctl permission checking out into ...
Signed-off-by: David S. Miller <davem@davemloft.net> --- net/wireless/wext.c | 22 +++++++++++++++------- 1 files changed, 15 insertions(+), 7 deletions(-) diff --git a/net/wireless/wext.c b/net/wireless/wext.c index a1cd19a..e96559e 100644 --- a/net/wireless/wext.c +++ b/net/wireless/wext.c @@ -1061,18 +1061,26 @@ static int wireless_process_ioctl(struct net *net, struct ifreq *ifr, unsigned i return -EOPNOTSUPP; } +/* If command is `set a parameter', or `get the encoding para...
Jun 3, 3:20 pm 2008
David Miller
[PATCH 0/12]: Proper compat WEXT support.
This is a refresh of my previous WEXT compat patch set. I've actually tested these exact patches on sparc64 with a RNDIS based USB wireless device from Linksys. I was able to perform iwconfig commands, check iwlist, bring up the interface and use it properly. All with 32-bit tools. I've also done an allmodconfig sanity build check on sparc64. The one thing I was not able to test yet is wpa_supplicant use, and that likely doesn't work properly yet, but we can fix that on top and these patches...
Jun 3, 3:19 pm 2008
David Miller
[PATCH 10/12]: wext: Remove compat handling from fs/compat_i...
No longer used. Signed-off-by: David S. Miller <davem@davemloft.net> --- fs/compat_ioctl.c | 107 +---------------------------------------------------- 1 files changed, 1 insertions(+), 106 deletions(-) diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 8ab850b..05ec7ee 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -58,7 +58,6 @@ #include <linux/syscalls.h> #include <linux/i2c.h> #include <linux/i2c-dev.h> -#include <linux/wireless.h> ...
Jun 3, 4:28 pm 2008
David Miller
[PATCH 0/12]: Proper compat WEXT support.
This is a refresh of my previous WEXT compat patch set. I've actually tested these exact patches on sparc64 with a RNDIS based USB wireless device from Linksys. I was able to perform iwconfig commands, check iwlist, bring up the interface and use it properly. All with 32-bit tools. I've also done an allmodconfig sanity build check on sparc64. The one thing I was not able to test yet is wpa_supplicant use, and that likely doesn't work properly yet, but we can fix that on top and these patches...
Jun 3, 4:27 pm 2008
David Miller
[PATCH 2/12]: wext: Make adjust_priv_size() take a "struct i...
Signed-off-by: David S. Miller <davem@davemloft.net> --- net/wireless/wext.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net/wireless/wext.c b/net/wireless/wext.c index e83d74a..cd2cf9f 100644 --- a/net/wireless/wext.c +++ b/net/wireless/wext.c @@ -512,9 +512,9 @@ static int get_priv_size(__u16 args) /* * Re-calculate the size of private arguments */ -static int adjust_priv_size(__u16 args, union iwreq_data *wrqu) +static int adjust_priv_size(__u...
Jun 3, 3:19 pm 2008
David Miller
[PATCH 9/12]: wext: Dispatch and handle compat ioctls entire...
Next we can kill the hacks in fs/compat_ioctl.c and also dispatch compat ioctls down into the driver and 80211 protocol helper layers in order to handle iw_point objects embedded in stream replies which need to be translated. Signed-off-by: David S. Miller <davem@davemloft.net> --- fs/compat_ioctl.c | 6 --- include/linux/wireless.h | 13 ++++++ include/net/wext.h | 7 +++ net/socket.c | 10 ++++ net/wireless/wext.c | 104 ++++++++++++++++++++++++...
Jun 3, 3:20 pm 2008
David Miller
[PATCH 6/12]: wext: Parameterize the standard/private handle...
The WEXT standard and private handlers to use are now arguments to wireless_process_ioctl(). Signed-off-by: David S. Miller <davem@davemloft.net> --- net/wireless/wext.c | 24 ++++++++++++++++-------- 1 files changed, 16 insertions(+), 8 deletions(-) diff --git a/net/wireless/wext.c b/net/wireless/wext.c index e96559e..929d241 100644 --- a/net/wireless/wext.c +++ b/net/wireless/wext.c @@ -1015,11 +1015,17 @@ static int ioctl_private_call(struct net_device *dev, struct ifreq *ifr, ...
Jun 3, 4:28 pm 2008
David Miller
[PATCH 10/12]: wext: Remove compat handling from fs/compat_i...
No longer used. Signed-off-by: David S. Miller <davem@davemloft.net> --- fs/compat_ioctl.c | 107 +---------------------------------------------------- 1 files changed, 1 insertions(+), 106 deletions(-) diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c index 8ab850b..05ec7ee 100644 --- a/fs/compat_ioctl.c +++ b/fs/compat_ioctl.c @@ -58,7 +58,6 @@ #include <linux/syscalls.h> #include <linux/i2c.h> #include <linux/i2c-dev.h> -#include <linux/wireless.h> ...
Jun 3, 3:20 pm 2008
David Miller
[PATCH 9/12]: wext: Dispatch and handle compat ioctls entire...
Next we can kill the hacks in fs/compat_ioctl.c and also dispatch compat ioctls down into the driver and 80211 protocol helper layers in order to handle iw_point objects embedded in stream replies which need to be translated. Signed-off-by: David S. Miller <davem@davemloft.net> --- fs/compat_ioctl.c | 6 --- include/linux/wireless.h | 13 ++++++ include/net/wext.h | 7 +++ net/socket.c | 10 ++++ net/wireless/wext.c | 104 ++++++++++++++++++++++++...
Jun 3, 4:28 pm 2008
David Miller Jun 3, 3:20 pm 2008
David Miller
[PATCH 7/12]: wext: Pass iwreq pointer down into standard/pr...
They have no need to see the object as an ifreq. Signed-off-by: David S. Miller <davem@davemloft.net> --- net/wireless/wext.c | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/net/wireless/wext.c b/net/wireless/wext.c index 929d241..b72cdd2 100644 --- a/net/wireless/wext.c +++ b/net/wireless/wext.c @@ -832,11 +832,10 @@ out: * user space and kernel space. */ static int ioctl_standard_call(struct net_device * dev, - struct ifreq * ...
Jun 3, 3:20 pm 2008
David Miller
[PATCH 7/12]: wext: Pass iwreq pointer down into standard/pr...
They have no need to see the object as an ifreq. Signed-off-by: David S. Miller <davem@davemloft.net> --- net/wireless/wext.c | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/net/wireless/wext.c b/net/wireless/wext.c index 929d241..b72cdd2 100644 --- a/net/wireless/wext.c +++ b/net/wireless/wext.c @@ -832,11 +832,10 @@ out: * user space and kernel space. */ static int ioctl_standard_call(struct net_device * dev, - struct ifreq * ...
Jun 3, 4:28 pm 2008
David Miller
[PATCH 2/12]: wext: Make adjust_priv_size() take a "struct i...
Signed-off-by: David S. Miller <davem@davemloft.net> --- net/wireless/wext.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/net/wireless/wext.c b/net/wireless/wext.c index e83d74a..cd2cf9f 100644 --- a/net/wireless/wext.c +++ b/net/wireless/wext.c @@ -512,9 +512,9 @@ static int get_priv_size(__u16 args) /* * Re-calculate the size of private arguments */ -static int adjust_priv_size(__u16 args, union iwreq_data *wrqu) +static int adjust_priv_size(__u...
Jun 3, 4:28 pm 2008
David Miller
[PATCH 5/12]: wext: Pull ioctl permission checking out into ...
Signed-off-by: David S. Miller <davem@davemloft.net> --- net/wireless/wext.c | 22 +++++++++++++++------- 1 files changed, 15 insertions(+), 7 deletions(-) diff --git a/net/wireless/wext.c b/net/wireless/wext.c index a1cd19a..e96559e 100644 --- a/net/wireless/wext.c +++ b/net/wireless/wext.c @@ -1061,18 +1061,26 @@ static int wireless_process_ioctl(struct net *net, struct ifreq *ifr, unsigned i return -EOPNOTSUPP; } +/* If command is `set a parameter', or `get the encoding para...
Jun 3, 4:28 pm 2008
David Miller Jun 3, 3:20 pm 2008
David Miller Jun 3, 4:28 pm 2008
David Miller
[PATCH 1/12]: wext: Remove inline from get_priv_size() and a...
The compiler inlines when appropriate. Signed-off-by: David S. Miller <davem@davemloft.net> --- net/wireless/wext.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/net/wireless/wext.c b/net/wireless/wext.c index 947188a..e83d74a 100644 --- a/net/wireless/wext.c +++ b/net/wireless/wext.c @@ -500,7 +500,7 @@ static int call_commit_handler(struct net_device *dev) /* * Calculate size of private arguments */ -static inline int get_priv_size(__u16 args) ...
Jun 3, 3:19 pm 2008
David Miller
[PATCH 3/12]: wext: Extract standard call iw_point handling ...
Signed-off-by: David S. Miller <davem@davemloft.net> --- net/wireless/wext.c | 258 ++++++++++++++++++++++++++------------------------ 1 files changed, 134 insertions(+), 124 deletions(-) diff --git a/net/wireless/wext.c b/net/wireless/wext.c index cd2cf9f..d17c0f4 100644 --- a/net/wireless/wext.c +++ b/net/wireless/wext.c @@ -694,6 +694,138 @@ void wext_proc_exit(struct net *net) */ /* ---------------------------------------------------------------- */ +static int ioctl_standar...
Jun 3, 4:28 pm 2008
David Miller
[PATCH 4/12]: wext: Extract private call iw_point handling i...
Signed-off-by: David S. Miller <davem@davemloft.net> --- net/wireless/wext.c | 141 +++++++++++++++++++++++++++------------------------ 1 files changed, 74 insertions(+), 67 deletions(-) diff --git a/net/wireless/wext.c b/net/wireless/wext.c index d17c0f4..a1cd19a 100644 --- a/net/wireless/wext.c +++ b/net/wireless/wext.c @@ -890,25 +890,22 @@ static int ioctl_standard_call(struct net_device * dev, * a iw_handler but process it in your ioctl handler (i.e. use the * old driver API)....
Jun 3, 3:20 pm 2008
David Miller
[PATCH 8/12]: wext: Pull top-level ioctl dispatch logic into...
Signed-off-by: David S. Miller <davem@davemloft.net> --- net/wireless/wext.c | 26 ++++++++++++++++++++------ 1 files changed, 20 insertions(+), 6 deletions(-) diff --git a/net/wireless/wext.c b/net/wireless/wext.c index b72cdd2..91cf548 100644 --- a/net/wireless/wext.c +++ b/net/wireless/wext.c @@ -1079,8 +1079,10 @@ static int wext_permission_check(unsigned int cmd) } /* entry point from dev ioctl */ -int wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd, ...
Jun 3, 4:28 pm 2008
David Miller
[PATCH 12/12]: wext: Emit event stream entries correctly whe...
Three major portions to this change: 1) Add IW_EV_COMPAT_LCP_LEN, IW_EV_COMPAT_POINT_OFF, and IW_EV_COMPAT_POINT_LEN helper defines. 2) Delete iw_stream_check_add_*(), they are unused. 3) Add iw_request_info argument to iwe_stream_add_*(), and use it to size the event and pointer lengths correctly depending upon whether IW_REQUEST_FLAG_COMPAT is set or not. 4) The mechanical transformations to the drivers and wireless stack bits to get the iw_request_info passed down into the r...
Jun 3, 3:20 pm 2008
John W. Linville
pull request: wireless-2.6 2008-06-03
Dave, A smattering of fixes for 2.6.26...nothing major... John --- Individual patches are available here: http://www.kernel.org/pub/linux/kernel/people/linville/wireless-2.6/ --- The following changes since commit 78b8c91d226f2bc1fae8cbdab7de8b8367ad758b: Adam Langley (1): TCP: Fix corrupt packets when options space overflows with MD5SIG enabled are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6.git master ...
Jun 3, 3:09 pm 2008
David Miller
Re: pull request: wireless-2.6 2008-06-03
From: "John W. Linville" <linville@tuxdriver.com> I'm not pulling this into my tree. I've already replied to that patch posting saying why I don't like this. Even if I found this change as the only way to go and therefore had to take it in, the commit log is way too terse about what the problem is. And it must describe the horrifics that are now necessary to include this file in userspace after the change. It needs to describe in detail what the conflicting types and definitions in the...
Jun 3, 5:16 pm 2008
David Dillow
Re: [ofa-general] Re: [PATCH v3 08/13] QLogic VNIC: sysfs in...
The idea would be to have a separate file per attribute, ie ioc_guid in a file, dgid in a file, pkey in a file, and so on. Userspace would make a directory for the new connection in /configfs/qlogic-device (or what ever you call it), and configfs will populate it with default values for those attributes. Or so the theory goes. Unfortunately, you need all that information before you can create the connection. The configfs guys have thought It looks like the design for what you'd need is there,...
Jun 3, 2:45 pm 2008
Greg KH
Re: [ofa-general] Re: [PATCH v3 08/13] QLogic VNIC: sysfs in...
But you have attribute/value pairs, right? Just create multiple If you want to, but as this looks like it is used for configuration, I suggest using configfs instead. thanks, greg k-h --
Jun 3, 2:30 pm 2008
Mark Asselstine
[PATCH] Cleanup use of deprecated calls to save_and_cli and ...
Make use of local_irq_save and local_irq_restore rather then the deprecated save_and_cli and restore_flags calls. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> --- drivers/net/sunhme.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/sunhme.c b/drivers/net/sunhme.c index b4e7f30..1aa425b 100644 --- a/drivers/net/sunhme.c +++ b/drivers/net/sunhme.c @@ -111,7 +111,7 @@ static __inline__ void tx_add_log(struct happy_meal *hp, unsigned ...
Jun 3, 12:19 pm 2008
Andrew Gallatin
How do I use multiqueue tx
I've done a patch to myri10ge which enables the use of multiple transmit queues in our Linux driver using CONFIG_NETDEVICES_MULTIQUEUE netdev subqueues. Our current hardware uses multiple queues purely for increasing host parallelism, not priority/QOS. I'm looking for a way, beyond pktgen, to actually use any transmit queue other than 0 to increase parallelism. Ideally, we would like to support hashing connections on egress to the same tx/rx queue pair (and hence MSI-X irq) as our device will h...
Jun 3, 11:34 am 2008
David Miller
Re: How do I use multiqueue tx
From: Andrew Gallatin <gallatin@myri.com> Even though there are seperate per-TX-queue start/stop states available to manage, all of the transmit path still uses a single global lock to manage the packet queue in the generic device structure. So you will get zero extra parallelism by using the other queues. I plan to work on this and have presented my ideas about how to solve this problem in two presentations I gave in Japan several months ago, and last week in Berlin. [ message continues ]
" title="http://vger.kern...">http://vger.kern...
Jun 3, 12:10 pm 2008
Andrew Gallatin
Re: How do I use multiqueue tx
David Miller wrote: > I plan to work on this and have presented my ideas about how to > solve this problem in two presentations I gave in Japan several > months ago, and last week in Berlin. Thank you for all the good information. It is great to hear that you're planning to work on this. Thanks, Drew --
Jun 3, 1:13 pm 2008
andrei radulescu-banu
Tcpdump, packet sockets and order of timestamps
I have a question regarding packet sockets: what ensures the sequentiality of the timestamps? It seems at least theoretically possible that packets are posted to a packet socket with timestamps out of order. Here is a snip of the dev_queue_xmit_nit() routine in net/core/dev.c void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev) { struct packet_type *ptype; net_timestamp(skb); rcu_read_lock(); ..... The buffer is timestamped outside the lock. That makes sens...
Jun 3, 10:59 am 2008
Jesper Dangaard Brouer
[PATCH 0/2] HTB scheduler HTB_HYSTERESIS modifications
This patch set modifies the HTB schedulers hysteresis mode. The HTB hysteresis is a hack to reduce the CPU load, it introduces significant jitter, enough to disturbe VoIP quality on e.g. ADSL. The first patch changes HTB_HYSTERESIS to default off. The second patch Change HTB_HYSTERESIS to a runtime parameter htb_hysteresis, adjustable via sys/module/sch_htb/parameters/htb_hysteresis. For details about my measurements see masters thesis (http://www.adsl-optimizer.dk/thesis/), chapter 7, sect...
Jun 3, 10:03 am 2008
Jesper Dangaard Brouer
[PATCH 2/2] Change HTB_HYSTERESIS to a runtime parameter htb...
Add a htb_hysteresis parameter to htb_sch.ko and by sysfs magic make it runtime adjustable via /sys/module/sch_htb/parameters/htb_hysteresis mode 640. Signed-off-by: Jesper Dangaard Brouer <hawk@comx.dk> --- net/sched/sch_htb.c | 23 +++++++++++++++-------- 1 files changed, 15 insertions(+), 8 deletions(-) diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c index 9134f02..6807c97 100644 --- a/net/sched/sch_htb.c +++ b/net/sched/sch_htb.c @@ -28,6 +28,7 @@ * $Id: sch_htb.c,v 1...
Jun 3, 10:06 am 2008
previous daytodaynext day
June 2, 2008June 3, 2008June 4, 2008