[PATCH 5/5] ibmveth: fix int rollover panic

2006-10-03 Thread Santiago Leon
From: Santiago Leon <[EMAIL PROTECTED]> This patch fixes a nasty bug that has been sitting there since the very first versions of the driver, but is generating a panic because we changed the number of 2K buffers for 2.6.16. The consumer_index and producer_index are u32's that get

[PATCH 1/5] ibmveth: Harden driver initilisation

2006-10-03 Thread Santiago Leon
ls, we unregister and then try again. We don't unconditionally unregister, because we don't want to disturb the regular code path for 99% of users. Signed-off-by: Michael Ellerman <[EMAIL PROTECTED]> Acked-by: Anton Blanchard <[EMAIL PROTECTED]> Signed-off-by: Santiago Leo

[PATCH 4/5] ibmveth: rename proc entry name

2006-10-03 Thread Santiago Leon
From: Santiago Leon <[EMAIL PROTECTED]> This patch changes the name of the proc file for each ibmveth adapter from the network device name to the slot number in the virtual bus. The proc file is created when the device is probed, so a change in the name of the device will not be reflec

[PATCH 2/5] ibmveth: Add netpoll function

2006-10-03 Thread Santiago Leon
From: Santiago Leon <[EMAIL PROTECTED]> This patch adds the net poll controller function to ibmveth to support netconsole and netdump. Signed-off-by: Santiago Leon <[EMAIL PROTECTED]> --- drivers/net/ibmveth.c | 11 +++ 1 file changed, 11 insertions(+) diff -urNp a

[PATCH 0/5] ibmveth: various fixes

2006-10-03 Thread Santiago Leon
Hi Jeff, Can you apply the following patches (hopefully for 2.6.19)? They are the hardening of the initialization for kexec, adding netpoll, and some small fixes for bugs that people have been running into. Thanks, -- Santiago A. Leon Power Linux Development IBM Linux Technology Center - To u

[PATCH 3/5] ibmveth: kdump interrupt fix

2006-10-03 Thread Santiago Leon
From: Santiago Leon <[EMAIL PROTECTED]> This patch fixes a race that panics the kernel when opening the device after a kdump. Without this patch there is a window where the hypervisor can send an interrupt before all the structures for the kdump ibmveth module are ready (becau

[PATCH] ibmveth change buffer pools dynamically

2006-05-25 Thread Santiago Leon
: num, size, and active (which default to the values in the mainline version). Signed-off-by: Santiago Leon <[EMAIL PROTECTED]> -- ibmveth.c | 211 +- ibmveth.h |7 +- 2 files changed, 174 insertions(+), 44 deletions(-) --- a/

Re: [PATCH] ibmveth change buffer pools dynamically

2006-04-28 Thread Santiago Leon
Santiago Leon wrote: This patch provides a sysfs interface to change some properties of the ibmveth buffer pools (size of the buffers, number of buffers per pool, and whether a pool is active). Ethernet drivers use ethtool to provide this type of functionality. However, the buffers in the

[PATCH] ibmveth support for netpoll

2006-04-28 Thread Santiago Leon
This patch adds NETPOLL support for the ibmveth driver. Please apply. Signed-off-by: Santiago Leon <[EMAIL PROTECTED]> ibmveth.c | 11 +++ 1 file changed, 11 insertions(+) --- a/drivers/net/ibmveth.c 2006-04-28 13:16:22.244724056 -0500 +++ b/drivers/net/ibmveth.c 2006

Re: [PATCH] powerpc: ibmveth: Harden driver initilisation for kexec

2006-04-28 Thread Santiago Leon
Ellerman <[EMAIL PROTECTED]> Acked-by: Anton Blanchard <[EMAIL PROTECTED]> Signed-off-by: Santiago Leon <[EMAIL PROTECTED]> ibmveth.c | 31 ++- 1 file changed, 26 insertions(+), 5 deletions(-)

[PATCH] ibmveth change buffer pools dynamically

2006-04-25 Thread Santiago Leon
This patch provides a sysfs interface to change some properties of the ibmveth buffer pools (size of the buffers, number of buffers per pool, and whether a pool is active). Ethernet drivers use ethtool to provide this type of functionality. However, the buffers in the ibmveth driver can have an a

[RFC] ibmveth buffer pool sizes

2006-04-04 Thread Santiago Leon
The current ibmveth driver has a fixed number of buffers per buffer pool and under certain workloads, it's running out of buffers. So I would like to be able to change the number of buffers in each pool at runtime. The way most drivers do it is with ethtool -G and/or module parameters. Howeve

[PATCH] powerpc: ibmveth: Harden driver initilisation for kexec

2006-03-02 Thread Santiago Leon
PROTECTED]> Acked-by: Anton Blanchard <[EMAIL PROTECTED]> Signed-off-by: Santiago Leon <[EMAIL PROTECTED]> --- drivers/net/ibmveth.c | 32 ++-- 1 files changed, 26 insertions(+), 6 deletions(-) Looks good to me, and has been around for a couple of month