Re: [PATCH] scm: fold __scm_send() into scm_send()

2006-03-21 Thread Stephen Smalley
On Tue, 2006-03-21 at 08:32 -0500, Stephen Smalley wrote: I don't expect security_sk_sid() to be terribly expensive. It's not an AVC check, it's just propagating a label. But I've not done any benchmarking on that. No permission check there, but it looks like it does read lock

Re: Results WAS(Re: [PATCH] TC: bug fixes to the sample clause

2006-03-21 Thread jamal
On Tue, 2006-21-03 at 09:35 +1000, Russell Stuart wrote: Jeezz, that pisses me off. What is it with the bloody internet? This isn't the first time this has happened. The page you are accessing is in the US for gods sake. It seems like the internet has walled off islands on occasions. I

[Comment] sizeof(struct tcp_sock) is above 1024 on x86 since linux-2.6.15

2006-03-21 Thread Eric Dumazet
Hi all I would like to point out that struct tcp_sock was enlarged in 2.6.15, and the 'TCP' kmem_cache now needs order-1 allocations instead of order-0 In 2.6.14 : # grep ^TCP /proc/slabinfo TCP 64 7696041 : tunables 54 270 : slabdata 19 19

MPLS extension for pktgen

2006-03-21 Thread Steven Whitehouse
Hi, I've been looking into MPLS recently and so one of the first things that would be useful is a testbed to generate test traffic, and hence the attached patch to pktgen. If you have a moment to look over it, then please let me know if you would give it your blessing. The patch is against

Question about TCP behavior

2006-03-21 Thread Patrick Klos
Hello all, I am trying to figure out what is causing a change in behavior of the TCP stack on Linux? I have a very simple test setup: 1) Windows machine running a test app to request data from the server 2) Linux (2.6.10 - yeah, I know... upgrade...) machine running test server 3)

[Patch] mv643xx_eth: Cache align skb-data if CONFIG_NOT_COHERENT_CACHE

2006-03-21 Thread Dale Farnsworth
From: Dale Farnsworth [EMAIL PROTECTED] When I/O is non-cache-coherent, we need to ensure that the I/O buffers we use don't share cache lines with other data. Signed-off-by: Dale Farnsworth [EMAIL PROTECTED] --- This patch fixes red zone error messages that appear when CONFIG_SLAB_DEBUG=y.

MPLS extension for pktgen

2006-03-21 Thread Robert Olsson
Steven Whitehouse writes: I've been looking into MPLS recently and so one of the first things that would be useful is a testbed to generate test traffic, and hence the attached patch to pktgen. If you have a moment to look over it, then please let me know if you would give it your

[PATCH 8/9] skge: handle pci errors better

2006-03-21 Thread Stephen Hemminger
When a PCI error occurs, try and report more info. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- skge-2.6.orig/drivers/net/skge.c +++ skge-2.6/drivers/net/skge.c @@ -2764,17 +2764,6 @@ static void skge_mac_parity(struct skge_ ? GMF_CLI_TX_FC :

[PATCH 4/9] skge: dma configuration cleanup

2006-03-21 Thread Stephen Hemminger
Cleanup of the part of the code that sets up DMA configuration. Should cause no real change in operation, just clearer. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- skge-2.6.orig/drivers/net/skge.c +++ skge-2.6/drivers/net/skge.c @@ -3251,22 +3251,18 @@ static int __devinit

[PATCH 1/9] skge: use NAPI for tx cleanup.

2006-03-21 Thread Stephen Hemminger
Cleanup transmit buffers using NAPI. This allows the transmit routine to leave interrupts enabled, and that improves performance. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- skge-2.6.orig/drivers/net/skge.c +++ skge-2.6/drivers/net/skge.c @@ -2307,16 +2307,13 @@ static int

[PATCH 9/9] skge: version 1.4

2006-03-21 Thread Stephen Hemminger
Update version number Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- skge-2.6.orig/drivers/net/skge.c +++ skge-2.6/drivers/net/skge.c @@ -44,7 +44,7 @@ #include skge.h #define DRV_NAME skge -#define DRV_VERSION1.3 +#define DRV_VERSION1.4 #define

[PATCH 2/9] skge: use auto masking of irqs

2006-03-21 Thread Stephen Hemminger
Improve performance of skge driver by not touching irq mask register as much. Since the interrupt source auto-masks, the driver can just leave it disabled until the end of the soft irq. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- skge-2.6.orig/drivers/net/skge.c +++

[PATCH 7/9] skge: formmating and whitespace cleanup

2006-03-21 Thread Stephen Hemminger
Reformat some code to make it easier to read. And whitespace fixes. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- skge-2.6.orig/drivers/net/skge.c +++ skge-2.6/drivers/net/skge.c @@ -2177,15 +2177,17 @@ static int skge_up(struct net_device *de memset(skge-mem, 0,

[PATCH 3/9] skge: check the allocation of ring buffer

2006-03-21 Thread Stephen Hemminger
The SysKonnect Genesis and Yukon chip sets have restrictions on the possible control block area. The memory needs to not cross 4 Gig boundary, and it needs to be 8 byte aligned. This patch checks and fails to bring the device up if region is unacceptable. Signed-off-by: Stephen Hemminger [EMAIL

[PATCH 6/9] skge: use mmiowb

2006-03-21 Thread Stephen Hemminger
Add mmio barriers at the appropriate places, don't have a platform that needs them, but this is where the documentation of the patch says to add them. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- skge-2.6.orig/drivers/net/skge.c +++ skge-2.6/drivers/net/skge.c @@ -2394,9 +2394,11 @@

[PATCH 5/9] skge: use kcalloc

2006-03-21 Thread Stephen Hemminger
Use kcalloc when allocating ring data structure. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] --- skge-2.6.orig/drivers/net/skge.c +++ skge-2.6/drivers/net/skge.c @@ -733,13 +733,12 @@ static int skge_ring_alloc(struct skge_r struct skge_element *e; int i; -

Re: [PATCH RESEND] RT2x00 update: trivial fixes

2006-03-21 Thread John W. Linville
On Tue, Feb 28, 2006 at 08:46:54PM +0100, Ivo van Doorn wrote: ieee80211_rx has been renamed __ieee80211_rx. Use DRV_NAME as much as possible instead of a seperate name string. Add new USB device ID. Merged to dscape branch of wireless-2.6...thanks! John -- John W. Linville [EMAIL PROTECTED]

Re: [PATCH wireless-2.6 0/2] d80211: Devicescape 802.11 update

2006-03-21 Thread John W. Linville
On Fri, Mar 03, 2006 at 06:54:23PM -0800, Jouni Malinen wrote: Here's couple of patches to the Devicescape 802.11 implementation. Please consider applying to the dscape branch of wireless-2.6 tree. Merged to dscape branch of wireless-2.6...thanks! John -- John W. Linville [EMAIL PROTECTED] -

Re: [PATCH] wireless.git: update acxsm to 0.4.7

2006-03-21 Thread John W. Linville
On Wed, Mar 01, 2006 at 03:58:14PM +0200, Denis Vlasenko wrote: On Tuesday 28 February 2006 03:34, John W. Linville wrote: On Mon, Feb 27, 2006 at 11:44:38AM +0100, Carlos Martín wrote: On Monday 27 February 2006 11:20, Denis Vlasenko wrote: Comments are welcome and I'll split the patch

Re: [Patch] mv643xx_eth: Cache align skb-data if CONFIG_NOT_COHERENT_CACHE

2006-03-21 Thread Jeff Garzik
Dale Farnsworth wrote: From: Dale Farnsworth [EMAIL PROTECTED] When I/O is non-cache-coherent, we need to ensure that the I/O buffers we use don't share cache lines with other data. Signed-off-by: Dale Farnsworth [EMAIL PROTECTED] applied - To unsubscribe from this list: send the line

Re: [PATCH 1/9] skge: use NAPI for tx cleanup.

2006-03-21 Thread Jeff Garzik
Stephen Hemminger wrote: Cleanup transmit buffers using NAPI. This allows the transmit routine to leave interrupts enabled, and that improves performance. Signed-off-by: Stephen Hemminger [EMAIL PROTECTED] applied 1-9 - To unsubscribe from this list: send the line unsubscribe netdev in the

Re: [PATCH 1/9] sky2: remove support for untested Yukon EC/rev 0

2006-03-21 Thread Jeff Garzik
Stephen Hemminger wrote: The Yukon EC/rev0 (A1) chipset requires a bunch of workarounds. I copied these from sk98lin. But since they never got tested and add more cruft to the code; any attempt at using driver as is on this version will probably fail. It looks like this was a early engineering

Re: [PATCH] smc91x: allow for dynamic bus access configs

2006-03-21 Thread Jeff Garzik
Nicolas Pitre wrote: All accessor's different methods are now selected with C code and unused ones statically optimized away at compile time instead of being selected with #if's and #ifdef's. This has many advantages such as allowing the compiler to validate the syntax of the whole code, making

[PATCH] sis900 adm7001 PHY support

2006-03-21 Thread Artur Skawina
this patch is required to get a SIS964 based motherboard ethernet working (FSC D1875) (picking the #1 transceiver, instead of the last one, in case no known ones were found might be a better default, and would have worked in this case too) Signed-off-by: Artur Skawina [EMAIL PROTECTED] ---

Re: [PATCH 2.6.16-rc6 0/3] MAINTAINERS, e100 and e1000 text file updates

2006-03-21 Thread Jeff Garzik
Jesse Brandeburg wrote: okay, here goes... these patches are against Linus's current tree. They only update text files, no code updates. The large change to e1000.txt includes whitespace changes, and some content. They could be included with 2.6.16 as they are for the drivers that are already

Re: Please pull bcm43xx softmac-upstream and dscape-upstream branches

2006-03-21 Thread John W. Linville
On Sun, Mar 05, 2006 at 09:47:55PM +0100, Michael Buesch wrote: Please pull branches softmac-upstream and dscape-upstream from my repository at: git://bu3sch.de/wireless-2.6.git Merged to softmac and dscape branches of wireless-2.6...thanks! John -- John W. Linville [EMAIL PROTECTED] - To

Re: [PATCH 4/6 v2] IB: address translation to map IP toIB addresses (GIDs)

2006-03-21 Thread Roland Dreier
+struct workqueue_struct *rdma_wq; +EXPORT_SYMBOL(rdma_wq); Sean, I don't think I saw an answer when I asked you this before. Why is ib_addr exporting a workqueue? Is there some sort of ordering constraint that is forcing other modules to go through the same workqueue for things? This

Re: [openib-general] Re: [PATCH 4/6 v2] IB: address translation to map IP toIB addresses (GIDs)

2006-03-21 Thread Sean Hefty
Roland Dreier wrote: +struct workqueue_struct *rdma_wq; +EXPORT_SYMBOL(rdma_wq); Sean, I don't think I saw an answer when I asked you this before. Why is ib_addr exporting a workqueue? Is there some sort of ordering constraint that is forcing other modules to go through the same workqueue

Re: ES-API

2006-03-21 Thread Mark Butler
On Mon Mar 14, 2006, Christopher Hellwig wrote: On Mon, Mar 13, 2006 at 02:25:08PM -0800, Zach Brown wrote: Hi guys, I'm hearing noise about the 'Extended Sockets' API in Oracle. It's an extension to the socket API put together by an industry group that calls itself the Interconnect

Re: Results WAS(Re: [PATCH] TC: bug fixes to the sample clause

2006-03-21 Thread Stephen Hemminger
Back to the original question... What should the iproute2 utilities contain? Does it have to have the utsname hack to work? - To unsubscribe from this list: send the line unsubscribe netdev in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: Results WAS(Re: [PATCH] TC: bug fixes to the sample clause

2006-03-21 Thread Russell Stuart
On Tue, 2006-03-21 at 09:57 -0500, jamal wrote: I accessed them - unfortunately, though i am trying to, I dont see anything outstanding that would justify any changes to the hash. Lets just drop this. We can talk about other things if you want. If you still are not convinced, then I don't see

Re: Results WAS(Re: [PATCH] TC: bug fixes to the sample clause

2006-03-21 Thread Russell Stuart
On Tue, 2006-03-21 at 14:39 -0800, Stephen Hemminger wrote: Back to the original question... What should the iproute2 utilities contain? Does it have to have the utsname hack to work? Hi Stephen, I think the resolution was: - No to the utsname hack. Ergo the tc sample clause

RE: [RFC/PATCH 6/13] d80211: remove obsolete stuff

2006-03-21 Thread Simon Barber
Yes, fully agreed - and the hardware's pre-beacon interrupt would cause the beacon function to create a beacon frame and put it into the queue (dev_queue_xmit on the master device). The beacon frame would the be passed to the hardware through the normal run_queue that follows. Simon

Re: [iproute2] IPoIB link layer address bug

2006-03-21 Thread Stephen Hemminger
On Thu, 16 Mar 2006 17:24:41 -0500 (EST) James Lentini [EMAIL PROTECTED] wrote: The ip(8) command has a bug when dealing with IPoIB link layer addresses. Specifically it does not correctly handle the addition of new entries in the neighbor/arp table. For example, this command will fail:

Re: shared abstractions (was Writing a rate based transport protocol)

2006-03-21 Thread Mark Butler
One Tue, 14 Mar 2006 11:37:38 -0300, Arnaldo Carvalho de Melo wrote: On 3/13/06, Saurabh Jain [EMAIL PROTECTED] wrote: Hi All, I am trying to write a new rate based transport protocol in linux kernel (either as a module or directly within the kernel). Basically it

Re: [openib-general] Re: [iproute2] IPoIB link layer address bug

2006-03-21 Thread Jason Gunthorpe
On Tue, Mar 21, 2006 at 03:56:17PM -0800, Stephen Hemminger wrote: Okay, but there are number of other places in iproute2 that call ll_addr_a2n() with ifr.ifr_hwaddr.sa_data. And that is 14 bytes. If you want to fix those it will be harder since it would increase the sizeof(struct sockaddr)

Re: [PATCH 6/6 v2] IB: userspace support for RDMA connection manager

2006-03-21 Thread Roland Dreier
I added this patch to the rdma_cm branch in my git tree. When I was doing that, I noticed that it builds rdma_ucm.ko unconditionally. It seems that we want this to depend on CONFIG_INFINIBAND_USER_ACCESS, since that controls ib_uverbs.ko and ib_ucm.ko. To do this I rejiggered the Kconfig and

Re: [PATCH] Broadcom Sibyte SB1xxx NAPI ethernet support

2006-03-21 Thread Tom Rix
Yes. They are soon to follow. Tom On Sun, 19 Mar 2006 17:08:23 -0600, Lennert Buytenhek [EMAIL PROTECTED] wrote: On Sun, Mar 19, 2006 at 05:12:32PM -0600, Tom Rix wrote: This patch also has a fix to drivers/net/sb1250-mac.c, the dma descriptor table ptr is allocated, aligned and the

[PATCH] Broadcom Sibyte SB1xxx save unaligned dma descriptor pointer fix

2006-03-21 Thread Tom Rix
This patch has a fix to drivers/net/sb1250-mac.c, the dma descriptor table ptr is allocated, aligned and the aligned ptr is freed. If the ptr was not already aligned (usually is) then the free would not work of what was returned by the kmalloc. A variable was added to store the unaligned pointer

Re: [PATCH 2.6.16-rc6 1/1] ipw2200: Add Kconfig entries for QOS and Monitor mode

2006-03-21 Thread Zhu Yi
On Sat, 2006-03-18 at 18:47 +0100, Andreas Happe wrote: Adds Kconfig entries for enabling Monitor mode and Quality of service to the ipw2200 driver. It also renames the IPW_QOS define to IPW2200_QOS. As Monitor mode generates lots of firmware errors it depends upon BROKEN. QOS is under

Re: Writing a rate based transport protocol

2006-03-21 Thread Mark Butler
On Mon, 13 Mar 2006 18:20:26 -0600, Saurabh Jain wrote: Hi All, I am trying to write a new rate based transport protocol in linux kernel (either as a module or directly within the kernel). Basically it would be similar to UDP but with features like dynamic rate control, connection

[patch 1/2] net: Node aware multipath device round robin

2006-03-21 Thread Ravikiran G Thirumalai
Following patch adds in node aware, device round robin ip multipathing. It is based on multipath_drr.c, the multipath device round robin algorithm, and is derived from it. This implementation maintians per node state table, and round robins between interfaces on the same node. The

[patch 2/2] net: Node aware multipath device round robin -- device locality check

2006-03-21 Thread Ravikiran G Thirumalai
This patch checks device locality on every ip packet xmit. In multipath configuration tcp connection to route association is done at session startup time. The tcp session process is migrated to different nodes after this association. This would mean a remote NIC is chosen for xmit, although a

Re: Writing a rate based transport protocol

2006-03-21 Thread Stephen Hemminger
On Tue, 21 Mar 2006 20:26:55 -0700 Mark Butler [EMAIL PROTECTED] wrote: On Mon, 13 Mar 2006 18:20:26 -0600, Saurabh Jain wrote: Hi All, I am trying to write a new rate based transport protocol in linux kernel (either as a module or directly within the kernel). Basically it

[RFC][UPDATED PATCH 2.6.16] [Patch 9/9] Generic netlink interface for delay accounting

2006-03-21 Thread Balbir Singh
On Mon, Mar 13, 2006 at 09:48:26PM -0500, jamal wrote: On Mon, 2006-13-03 at 18:33 -0800, Matt Helsley wrote: On Mon, 2006-03-13 at 19:56 -0500, Shailabh Nagar wrote: I had a long description in an earlier email feedback; but the summary of it is the GET command is generic like