[ofa-general] [PATCH 1/2] ehca: remove checkpatch.pl's warnings externs should be avoided in .c files

2007-07-27 Thread Hoang-Nam Nguyen
From b5d0336089b5ebe5b18acb94b2c94c2026cb95ee Mon Sep 17 00:00:00 2001 From: Hoang-Nam Nguyen hnguyen at de.ibm.com Date: Fri, 27 Jul 2007 10:24:49 +0200 Subject: [PATCH] remove checkpatch.pl's warnings externs should be avoided in .c files Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED

[ofa-general] [PATCH 2/2] ehca: correction include order according kernel coding style

2007-07-27 Thread Hoang-Nam Nguyen
From a2794450cbee597cefd7b6e159257583c459d358 Mon Sep 17 00:00:00 2001 From: Hoang-Nam Nguyen hnguyen at de.ibm.com Date: Fri, 27 Jul 2007 10:26:40 +0200 Subject: [PATCH] correction include order according kernel coding style Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED] --- drivers

[PATCH 1/2] ehca: remove checkpatch.pl's warnings externs should be avoided in .c files

2007-07-27 Thread Hoang-Nam Nguyen
From b5d0336089b5ebe5b18acb94b2c94c2026cb95ee Mon Sep 17 00:00:00 2001 From: Hoang-Nam Nguyen hnguyen at de.ibm.com Date: Fri, 27 Jul 2007 10:24:49 +0200 Subject: [PATCH] remove checkpatch.pl's warnings externs should be avoided in .c files Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED

[PATCH 0/2] ehca: remove WARNING: externs should be avoided in .c files

2007-07-27 Thread Hoang-Nam Nguyen
Hello Roland! This small patch set fixes some coding-style related issues for ehca: [1/2] remove checkpatch.pl's warnings externs should be avoided in .c files [2/2] correction include order according kernel coding style Thanks Nam - To unsubscribe from this list: send the line unsubscribe

[PATCH 2/2] ehca: correction include order according kernel coding style

2007-07-27 Thread Hoang-Nam Nguyen
From a2794450cbee597cefd7b6e159257583c459d358 Mon Sep 17 00:00:00 2001 From: Hoang-Nam Nguyen hnguyen at de.ibm.com Date: Fri, 27 Jul 2007 10:26:40 +0200 Subject: [PATCH] correction include order according kernel coding style Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED] --- drivers

[PATCH 0/2] ehca: remove WARNING: externs should be avoided in .c files

2007-07-27 Thread Hoang-Nam Nguyen
Hello Roland! This small patch set fixes some coding-style related issues for ehca: [1/2] remove checkpatch.pl's warnings externs should be avoided in .c files [2/2] correction include order according kernel coding style Thanks Nam ___ Linuxppc-dev

[PATCH 1/2] ehca: remove checkpatch.pl's warnings externs should be avoided in .c files

2007-07-27 Thread Hoang-Nam Nguyen
From b5d0336089b5ebe5b18acb94b2c94c2026cb95ee Mon Sep 17 00:00:00 2001 From: Hoang-Nam Nguyen hnguyen at de.ibm.com Date: Fri, 27 Jul 2007 10:24:49 +0200 Subject: [PATCH] remove checkpatch.pl's warnings externs should be avoided in .c files Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED

[PATCH 2/2] ehca: correction include order according kernel coding style

2007-07-27 Thread Hoang-Nam Nguyen
From a2794450cbee597cefd7b6e159257583c459d358 Mon Sep 17 00:00:00 2001 From: Hoang-Nam Nguyen hnguyen at de.ibm.com Date: Fri, 27 Jul 2007 10:26:40 +0200 Subject: [PATCH] correction include order according kernel coding style Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED] --- drivers

[ofa-general] Re: [PATCH ofed-1.2-rc3 2/4] ehca: backport for rhel-4.5 - mmap functonality

2007-07-25 Thread Hoang-Nam Nguyen
Hi Michael, Below is the version without conflicts. And it should compile. As soon as the build scripts are ready, I'll test the whole backport. Thanks Nam From 6fa28219914394064a49c34030a09e23d160231c Mon Sep 17 00:00:00 2001 From: [EMAIL PROTECTED] Date: Wed, 25 Jul 2007 17:16:53 +0200

[ewg] Re: [PATCH ofed-1.2-rc3 2/4] ehca: backport for rhel-4.5 - mmap functonality

2007-07-25 Thread Hoang-Nam Nguyen
Hi Michael, Below is the version without conflicts. And it should compile. As soon as the build scripts are ready, I'll test the whole backport. Thanks Nam From 6fa28219914394064a49c34030a09e23d160231c Mon Sep 17 00:00:00 2001 From: [EMAIL PROTECTED] Date: Wed, 25 Jul 2007 17:16:53 +0200

Re: [ofa-general] [PATCH 1/5] ehca: Supports large page MRs

2007-07-21 Thread Hoang-Nam Nguyen
Hi Roland! > I applied this, but I agree with checkpatch.pl: > > > WARNING: externs should be avoided in .c files > > #227: FILE: drivers/infiniband/hw/ehca/ehca_mrmw.c:67: > > +extern int ehca_mr_largepage; > > > > WARNING: externs should be avoided in .c files > > #949: FILE:

Re: [ofa-general] [PATCH 1/5] ehca: Supports large page MRs

2007-07-21 Thread Hoang-Nam Nguyen
Hi Roland! I applied this, but I agree with checkpatch.pl: WARNING: externs should be avoided in .c files #227: FILE: drivers/infiniband/hw/ehca/ehca_mrmw.c:67: +extern int ehca_mr_largepage; WARNING: externs should be avoided in .c files #949: FILE:

Re: [ofa-general] [PATCH 1/5] ehca: Supports large page MRs

2007-07-21 Thread Hoang-Nam Nguyen
Hi Roland! I applied this, but I agree with checkpatch.pl: WARNING: externs should be avoided in .c files #227: FILE: drivers/infiniband/hw/ehca/ehca_mrmw.c:67: +extern int ehca_mr_largepage; WARNING: externs should be avoided in .c files #949: FILE:

[PATCH 5/5] ehca: Support small QP queues

2007-07-20 Thread Hoang-Nam Nguyen
with firmware, this code needs to manage bite-sized chunks of kernel pages, making sure that no kernel page is shared between different protection domains. Signed-off-by: Hoang-Nam Nguyen <[EMAIL PROTECTED]> --- drivers/infiniband/hw/ehca/ehca_classes.h | 41 -- drivers/infiniband/h

[PATCH 2/5] ehca: Generate event when SRQ limit reached

2007-07-20 Thread Hoang-Nam Nguyen
From: Joachim Fenkes <[EMAIL PROTECTED]> Date: Thu, 19 Jul 2007 20:51:43 +0200 Subject: [PATCH 2/5] IB/ehca: Generate event when SRQ limit reached Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- drivers/infiniband/hw/ehca/ehca_irq.c | 42 ++--- 1 files

[PATCH 4/5] ehca: Make internal_create/destroy_qp() static

2007-07-20 Thread Hoang-Nam Nguyen
From: Joachim Fenkes <[EMAIL PROTECTED]> Date: Thu, 19 Jul 2007 21:40:00 +0200 Subject: [PATCH 4/5] IB/ehca: Make internal_{create,destroy}_qp() static They're only used in ehca_qp.c Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- drivers/infiniband/hw/ehca/ehca_qp.c | 17

[PATCH 3/5] ehca: Make ehca2ib_return_code() non-inline

2007-07-20 Thread Hoang-Nam Nguyen
From: Joachim Fenkes <[EMAIL PROTECTED]> Date: Thu, 19 Jul 2007 21:13:57 +0200 Subject: [PATCH 3/5] IB/ehca: Make ehca2ib_return_code() non-inline It's nowhere in the main path and making it non-inline saves ~1.5K of code. Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> ---

[PATCH 1/5] ehca: Supports large page MRs

2007-07-20 Thread Hoang-Nam Nguyen
From: Hoang-Nam Nguyen <[EMAIL PROTECTED]> Date: Thu, 19 Jul 2007 20:48:04 +0200 Subject: [PATCH 1/5] IB/ehca: Support large page MRs Add support for MR pages larger than 4K on eHCA2. This reduces firmware memory consumption. If enabled via the mr_largepage module parameter, the MR pag

[PATCH 0/5] ehca: MR large page, small queue and fixes

2007-07-20 Thread Hoang-Nam Nguyen
Here is a patch set against Roland's git, branch for-2.6.23 for ehca. It adds support for MR large page and small queues. In addition of that it also contains various small fixes from previous comments and what we found. They are in details: [1/5] adds support for MR large page [2/5] generates

[ofa-general] [PATCH 0/5] ehca: MR large page, small queue and fixes

2007-07-20 Thread Hoang-Nam Nguyen
Here is a patch set against Roland's git, branch for-2.6.23 for ehca. It adds support for MR large page and small queues. In addition of that it also contains various small fixes from previous comments and what we found. They are in details: [1/5] adds support for MR large page [2/5] generates

[ofa-general] [PATCH 1/5] ehca: Supports large page MRs

2007-07-20 Thread Hoang-Nam Nguyen
From: Hoang-Nam Nguyen [EMAIL PROTECTED] Date: Thu, 19 Jul 2007 20:48:04 +0200 Subject: [PATCH 1/5] IB/ehca: Support large page MRs Add support for MR pages larger than 4K on eHCA2. This reduces firmware memory consumption. If enabled via the mr_largepage module parameter, the MR page size

[ofa-general] [PATCH 2/5] ehca: Generate event when SRQ limit reached

2007-07-20 Thread Hoang-Nam Nguyen
From: Joachim Fenkes [EMAIL PROTECTED] Date: Thu, 19 Jul 2007 20:51:43 +0200 Subject: [PATCH 2/5] IB/ehca: Generate event when SRQ limit reached Signed-off-by: Joachim Fenkes [EMAIL PROTECTED] --- drivers/infiniband/hw/ehca/ehca_irq.c | 42 ++--- 1 files changed, 28

[ofa-general] [PATCH 5/5] ehca: Support small QP queues

2007-07-20 Thread Hoang-Nam Nguyen
-only QPs). Apart from dealing with firmware, this code needs to manage bite-sized chunks of kernel pages, making sure that no kernel page is shared between different protection domains. Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED] --- drivers/infiniband/hw/ehca/ehca_classes.h | 41

[PATCH 0/5] ehca: MR large page, small queue and fixes

2007-07-20 Thread Hoang-Nam Nguyen
Here is a patch set against Roland's git, branch for-2.6.23 for ehca. It adds support for MR large page and small queues. In addition of that it also contains various small fixes from previous comments and what we found. They are in details: [1/5] adds support for MR large page [2/5] generates

[PATCH 1/5] ehca: Supports large page MRs

2007-07-20 Thread Hoang-Nam Nguyen
From: Hoang-Nam Nguyen [EMAIL PROTECTED] Date: Thu, 19 Jul 2007 20:48:04 +0200 Subject: [PATCH 1/5] IB/ehca: Support large page MRs Add support for MR pages larger than 4K on eHCA2. This reduces firmware memory consumption. If enabled via the mr_largepage module parameter, the MR page size

[PATCH 3/5] ehca: Make ehca2ib_return_code() non-inline

2007-07-20 Thread Hoang-Nam Nguyen
From: Joachim Fenkes [EMAIL PROTECTED] Date: Thu, 19 Jul 2007 21:13:57 +0200 Subject: [PATCH 3/5] IB/ehca: Make ehca2ib_return_code() non-inline It's nowhere in the main path and making it non-inline saves ~1.5K of code. Signed-off-by: Joachim Fenkes [EMAIL PROTECTED] ---

[PATCH 2/5] ehca: Generate event when SRQ limit reached

2007-07-20 Thread Hoang-Nam Nguyen
From: Joachim Fenkes [EMAIL PROTECTED] Date: Thu, 19 Jul 2007 20:51:43 +0200 Subject: [PATCH 2/5] IB/ehca: Generate event when SRQ limit reached Signed-off-by: Joachim Fenkes [EMAIL PROTECTED] --- drivers/infiniband/hw/ehca/ehca_irq.c | 42 ++--- 1 files changed, 28

[PATCH 4/5] ehca: Make internal_create/destroy_qp() static

2007-07-20 Thread Hoang-Nam Nguyen
From: Joachim Fenkes [EMAIL PROTECTED] Date: Thu, 19 Jul 2007 21:40:00 +0200 Subject: [PATCH 4/5] IB/ehca: Make internal_{create,destroy}_qp() static They're only used in ehca_qp.c Signed-off-by: Joachim Fenkes [EMAIL PROTECTED] --- drivers/infiniband/hw/ehca/ehca_qp.c | 17 +

[PATCH 5/5] ehca: Support small QP queues

2007-07-20 Thread Hoang-Nam Nguyen
-only QPs). Apart from dealing with firmware, this code needs to manage bite-sized chunks of kernel pages, making sure that no kernel page is shared between different protection domains. Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED] --- drivers/infiniband/hw/ehca/ehca_classes.h | 41

[PATCH 1/5] ehca: Supports large page MRs

2007-07-20 Thread Hoang-Nam Nguyen
From: Hoang-Nam Nguyen [EMAIL PROTECTED] Date: Thu, 19 Jul 2007 20:48:04 +0200 Subject: [PATCH 1/5] IB/ehca: Support large page MRs Add support for MR pages larger than 4K on eHCA2. This reduces firmware memory consumption. If enabled via the mr_largepage module parameter, the MR page size

[PATCH 2/5] ehca: Generate event when SRQ limit reached

2007-07-20 Thread Hoang-Nam Nguyen
From: Joachim Fenkes [EMAIL PROTECTED] Date: Thu, 19 Jul 2007 20:51:43 +0200 Subject: [PATCH 2/5] IB/ehca: Generate event when SRQ limit reached Signed-off-by: Joachim Fenkes [EMAIL PROTECTED] --- drivers/infiniband/hw/ehca/ehca_irq.c | 42 ++--- 1 files changed, 28

[PATCH 3/5] ehca: Make ehca2ib_return_code() non-inline

2007-07-20 Thread Hoang-Nam Nguyen
From: Joachim Fenkes [EMAIL PROTECTED] Date: Thu, 19 Jul 2007 21:13:57 +0200 Subject: [PATCH 3/5] IB/ehca: Make ehca2ib_return_code() non-inline It's nowhere in the main path and making it non-inline saves ~1.5K of code. Signed-off-by: Joachim Fenkes [EMAIL PROTECTED] ---

[PATCH 5/5] ehca: Support small QP queues

2007-07-20 Thread Hoang-Nam Nguyen
-only QPs). Apart from dealing with firmware, this code needs to manage bite-sized chunks of kernel pages, making sure that no kernel page is shared between different protection domains. Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED] --- drivers/infiniband/hw/ehca/ehca_classes.h | 41

[PATCH 4/5] ehca: Make internal_create/destroy_qp() static

2007-07-20 Thread Hoang-Nam Nguyen
From: Joachim Fenkes [EMAIL PROTECTED] Date: Thu, 19 Jul 2007 21:40:00 +0200 Subject: [PATCH 4/5] IB/ehca: Make internal_{create,destroy}_qp() static They're only used in ehca_qp.c Signed-off-by: Joachim Fenkes [EMAIL PROTECTED] --- drivers/infiniband/hw/ehca/ehca_qp.c | 17 +

Re: [PATCH 01/10] IB/ehca: Support for multiple event queues

2007-07-19 Thread Hoang-Nam Nguyen
Roland Dreier <[EMAIL PROTECTED]> wrote on 17.07.2007 19:52:55: > At a higher level, I'm left wondering why nobody talked about multiple > EQs during the last months of the 2.6.22 process and now all of a > sudden it becomes urgent in the last few days of the 2.6.23 merge > window. That's not

[ofa-general] Re: [PATCH 01/10] IB/ehca: Support for multiple event queues

2007-07-19 Thread Hoang-Nam Nguyen
Roland Dreier [EMAIL PROTECTED] wrote on 17.07.2007 19:52:55: At a higher level, I'm left wondering why nobody talked about multiple EQs during the last months of the 2.6.22 process and now all of a sudden it becomes urgent in the last few days of the 2.6.23 merge window. That's not really

Re: [PATCH 01/10] IB/ehca: Support for multiple event queues

2007-07-19 Thread Hoang-Nam Nguyen
Roland Dreier [EMAIL PROTECTED] wrote on 17.07.2007 19:52:55: At a higher level, I'm left wondering why nobody talked about multiple EQs during the last months of the 2.6.22 process and now all of a sudden it becomes urgent in the last few days of the 2.6.23 merge window. That's not really

Re: [PATCH 01/10] IB/ehca: Support for multiple event queues

2007-07-16 Thread Hoang-Nam Nguyen
Roland Dreier <[EMAIL PROTECTED]> wrote on 16.07.2007 18:04:26: > Do you have any data on how well this round-robin assignment works? > It seems not quite right to me for the driver to advertise nr_eqs > completion vectors, but then if round-robin is turned on to ignore the > consumer's decision

[ofa-general] Re: [PATCH 01/10] IB/ehca: Support for multiple event queues

2007-07-16 Thread Hoang-Nam Nguyen
Roland Dreier [EMAIL PROTECTED] wrote on 16.07.2007 18:04:26: Do you have any data on how well this round-robin assignment works? It seems not quite right to me for the driver to advertise nr_eqs completion vectors, but then if round-robin is turned on to ignore the consumer's decision about

Re: [PATCH 01/10] IB/ehca: Support for multiple event queues

2007-07-16 Thread Hoang-Nam Nguyen
Roland Dreier [EMAIL PROTECTED] wrote on 16.07.2007 18:04:26: Do you have any data on how well this round-robin assignment works? It seems not quite right to me for the driver to advertise nr_eqs completion vectors, but then if round-robin is turned on to ignore the consumer's decision about

Re: [PATCH] fix idr_get_new_above id alias bugs

2007-07-11 Thread Hoang-Nam Nguyen
> With this patch, idr.c should work as advertised allocating id > values in the range 0...0x7fff. Andrew had speculated that > it should allow the full range 0...0x to be used. I was > tempted to make changes to allow this, but it would require changes > to API, e.g. making the

[ofa-general] Re: [PATCH] fix idr_get_new_above id alias bugs

2007-07-11 Thread Hoang-Nam Nguyen
With this patch, idr.c should work as advertised allocating id values in the range 0...0x7fff. Andrew had speculated that it should allow the full range 0...0x to be used. I was tempted to make changes to allow this, but it would require changes to API, e.g. making the starting

Re: [PATCH] fix idr_get_new_above id alias bugs

2007-07-11 Thread Hoang-Nam Nguyen
With this patch, idr.c should work as advertised allocating id values in the range 0...0x7fff. Andrew had speculated that it should allow the full range 0...0x to be used. I was tempted to make changes to allow this, but it would require changes to API, e.g. making the starting

Re: idr_get_new_above() limitation?

2007-07-04 Thread Hoang-Nam Nguyen
On Tuesday 03 July 2007 02:31, Jim Houston wrote: > The problem is in idr_get_new_above_int() in the loop which > adds new layers to the top of the radix tree. It is failing > the "layers < (MAX_LEVEL - 1)" test. It doesn't allocate the > new layer but still calls sub_alloc() which relies on

[ofa-general] Re: idr_get_new_above() limitation?

2007-07-04 Thread Hoang-Nam Nguyen
On Tuesday 03 July 2007 02:31, Jim Houston wrote: The problem is in idr_get_new_above_int() in the loop which adds new layers to the top of the radix tree. It is failing the layers (MAX_LEVEL - 1) test. It doesn't allocate the new layer but still calls sub_alloc() which relies on having

Re: idr_get_new_above() limitation?

2007-07-04 Thread Hoang-Nam Nguyen
On Tuesday 03 July 2007 02:31, Jim Houston wrote: The problem is in idr_get_new_above_int() in the loop which adds new layers to the top of the radix tree. It is failing the layers (MAX_LEVEL - 1) test. It doesn't allocate the new layer but still calls sub_alloc() which relies on having

idr_get_new_above() limitation?

2007-07-02 Thread Hoang-Nam Nguyen
Hello, For ehca device driver we're intending to utilize idr_get_new_above() and have written a test case, which I'm attaching at the end. Basically it tries to get an idr token above a lower boundary by calling idr_get_new_above() and then uses idr_find() to check if the returned token can be

[ofa-general] idr_get_new_above() limitation?

2007-07-02 Thread Hoang-Nam Nguyen
Hello, For ehca device driver we're intending to utilize idr_get_new_above() and have written a test case, which I'm attaching at the end. Basically it tries to get an idr token above a lower boundary by calling idr_get_new_above() and then uses idr_find() to check if the returned token can be

idr_get_new_above() limitation?

2007-07-02 Thread Hoang-Nam Nguyen
Hello, For ehca device driver we're intending to utilize idr_get_new_above() and have written a test case, which I'm attaching at the end. Basically it tries to get an idr token above a lower boundary by calling idr_get_new_above() and then uses idr_find() to check if the returned token can be

idr_get_new_above() limitation?

2007-07-02 Thread Hoang-Nam Nguyen
Hello, For ehca device driver we're intending to utilize idr_get_new_above() and have written a test case, which I'm attaching at the end. Basically it tries to get an idr token above a lower boundary by calling idr_get_new_above() and then uses idr_find() to check if the returned token can be

Use of Commission

2007-06-25 Thread Nam Nguyen
Hi list Sorry to post this question again. I've tried to use admin and DemoRepAll users to place orders to DemoRepAll and other users but I did not see any Commission Invoice generated at all. Is there a step-by-step usage example which I can take a look? Thanks Nam

[jira] Commented: (OFBIZ-1087) Order Ship to Another Address does not take in that address

2007-06-24 Thread Nam Nguyen (JIRA)
[ https://issues.apache.org/jira/browse/OFBIZ-1087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507741 ] Nam Nguyen commented on OFBIZ-1087: --- I suppose it was a Sales Order. I visited Order Manager, and click on Order

[ofa-general] Re: [ewg] OFED 1.2 rc5 release

2007-06-22 Thread Hoang-Nam Nguyen
Hi, I'm having troubles to reach www.openfabrics.org resp to download ofed-1.2-rc5. Do I need to consider something else? Thanks! Mit freundlichen Gruessen/Kind Regards Hoang-Nam Nguyen Tel. +49-7031-16-3570, email: [EMAIL PROTECTED] IBM Deutschland Entwicklung GmbH Vorsitzender des

Re: [ewg] OFED 1.2 rc5 release

2007-06-22 Thread Hoang-Nam Nguyen
Hi, I'm having troubles to reach www.openfabrics.org resp to download ofed-1.2-rc5. Do I need to consider something else? Thanks! Mit freundlichen Gruessen/Kind Regards Hoang-Nam Nguyen Tel. +49-7031-16-3570, email: [EMAIL PROTECTED] IBM Deutschland Entwicklung GmbH Vorsitzender des

Re: [ewg] ehca build fails on SLES 10 sp1 ppc

2007-06-21 Thread Hoang-Nam Nguyen
to linux-2.6.16.46-0.16-obj dir (a copy of include/asm/hvcall.h would be sufficient)? Thanks Nam [EMAIL PROTECTED] wrote on 21.06.2007 19:23:34: I'm not sure if it is intended to be supported at this time but it fails to build. See attached log. [attachment ehca-build.log deleted by Hoang-Nam

How to Use Commission?

2007-06-18 Thread Nam Nguyen
Hi list Is there a step-by-step example to make use of Commission? Cheers Nam

[jira] Created: (OFBIZ-1087) Order Ship to Another Address does not take in that address

2007-06-18 Thread Nam Nguyen (JIRA)
Components: order Affects Versions: SVN trunk Environment: Windows XP SP2, JDK 1.6.0, Browser Opera Reporter: Nam Nguyen In the shipping stage of order entry, I picked ship to different address, selected a party, and chose one of the addresses of that party. Upon clicking

[laptop-discuss] Protege R100 Wireless not working

2007-06-08 Thread Nam Nguyen
brian.xu wrote: Prameet Chhabra wrote: Wirelessers, I have tried all the instructions on the http://www.sun.com/bigadmin/hcl/data/components/details/1206.html and http://www.opensolaris.org/os/community/laptop/wireless/iwi/ to enable wireless on my laptopb but all in vain... any help

[PATCH 2.6.22] ehca: return proper error code if register_mr fails

2007-05-16 Thread Hoang-Nam Nguyen
This patch sets the return code of ehca_register_mr() to ENOMEM if corresponding firmware call fails due to out of resources. Some of error codes were mapped to EINVAL. They are now mapped to default case, which already returns EINVAL anyway. Signed-off-by: Hoang-Nam Nguyen <[EMAIL PROTEC

[ofa-general] [PATCH 2.6.22] ehca: return proper error code if register_mr fails

2007-05-16 Thread Hoang-Nam Nguyen
This patch sets the return code of ehca_register_mr() to ENOMEM if corresponding firmware call fails due to out of resources. Some of error codes were mapped to EINVAL. They are now mapped to default case, which already returns EINVAL anyway. Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED

[ofa-general] [PATCH ofed-1.2] ehca (kernel space): return proper error code if register_mr fails

2007-05-16 Thread Hoang-Nam Nguyen
of ehca_register_mr() to ENOMEM if corresponding firmware call fails due to out of resources. Some of error codes were mapped to EINVAL. They are now mapped to default case, which already returns EINVAL anyway. Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED] --- ehca_mrmw.c |7 ++- 1

[PATCH 2.6.22] ehca: return proper error code if register_mr fails

2007-05-16 Thread Hoang-Nam Nguyen
This patch sets the return code of ehca_register_mr() to ENOMEM if corresponding firmware call fails due to out of resources. Some of error codes were mapped to EINVAL. They are now mapped to default case, which already returns EINVAL anyway. Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED

Re: [ofa-general] [PATCH 1 of 3] IB/verbs: add cq comp_vector support in core

2007-05-04 Thread Hoang-Nam Nguyen
Hello Michael and Roland! How about a new verb delivering number of cqs associated with a comp_vector like this /** * Returns number of cqs assigned to comp_vector * @return 0 in error case eg invalid comp_vector */ int ib_query_comp_vector(struct ib_device *dev, int

Re: [ofa-general] [PATCH 1 of 3] IB/verbs: add cq comp_vector support in core

2007-05-04 Thread Hoang-Nam Nguyen
Michael S. Tsirkin [EMAIL PROTECTED] wrote on 04.05.2007 11:13:06: using comp_vector per port will help a lot, at least on ppc64 and with ehca - for other HCAs I haven't benchmarked. And that metric allows ULP to implement such one approach. Looks like a bit of overdesign. I think you

Test

2007-05-04 Thread nam . nguyen
Hello, Could somebody tell me whether you receive my email ? My collegue in this mailing list, does not receive my email so I 'd like check it. Thanks ! Nam This message and any attachments (the message) is intended solely for the addressees and is confidential. If you receive this message

Re: [ofa-general] [PATCH][RFC] IB: Return "maybe missed event" hint from ib_req_notify_cq()

2007-04-30 Thread Hoang-Nam Nguyen
Hi Roland! As far as this concerns ehca this looks great. Thanks Nam [EMAIL PROTECTED] wrote on 27.04.2007 00:43:19: > > - "IB: Return "maybe missed event" hint from ib_req_notify_cq()" > > This extends the API in a way that lets us implement NAPI, but may > > be useful for other

Re: [ofa-general] [PATCH][RFC] IB: Return maybe missed event hint from ib_req_notify_cq()

2007-04-30 Thread Hoang-Nam Nguyen
Hi Roland! As far as this concerns ehca this looks great. Thanks Nam [EMAIL PROTECTED] wrote on 27.04.2007 00:43:19: - IB: Return maybe missed event hint from ib_req_notify_cq() This extends the API in a way that lets us implement NAPI, but may be useful for other things too.

Re: [PATCH 2.6.21-rc2] ehca: fix mismatched sync between completion handler and destroy cq

2007-03-02 Thread Hoang-Nam Nguyen
> > +#include > This can just be , because you're only using > wait_queue_head_t and not struct completion, right? > I fixed this up before merging. Yes, right. Thanks for your help! Regards Nam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [PATCH 2.6.21-rc2] ehca: fix mismatched sync between completion handler and destroy cq

2007-03-02 Thread Hoang-Nam Nguyen
+#include linux/completion.h This can just be linux/wait.h, because you're only using wait_queue_head_t and not struct completion, right? I fixed this up before merging. Yes, right. Thanks for your help! Regards Nam - To unsubscribe from this list: send the line unsubscribe linux-kernel in

[PATCH 2.6.21-rc2] ehca: fix mismatched sync between completion handler and destroy cq

2007-02-28 Thread Hoang-Nam Nguyen
ehca_cq_idr_lock. - Replace yield by wait_event on the counter above to become zero Signed-off-by: Hoang-Nam Nguyen <[EMAIL PROTECTED]> --- ehca_classes.h |6 - ehca_cq.c | 16 +-- ehca_irq.c

[PATCH 2.6.21-rc2] ehca: fix mismatched sync between completion handler and destroy cq

2007-02-28 Thread Hoang-Nam Nguyen
ehca_cq_idr_lock. - Replace yield by wait_event on the counter above to become zero Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED] --- ehca_classes.h |6 - ehca_cq.c | 16 +-- ehca_irq.c | 59 + ehca_main.c

[PATCH 1/2] ibmebus: dynamic addiiton/removal of adapters, uevent, root device based on struct device

2007-02-22 Thread Hoang-Nam Nguyen
From: Joachim Fenkes <[EMAIL PROTECTED]> This adds two sysfs attributes to /sys/bus/ibmebus which can be used to notify the ebus driver of added / removed ebus devices in the OF device tree. Echoing the device's location code (as found in the OFDT "ibm,loc-code" property) into the "probe"

[PATCH 2/2] ibmebus: whitespace fixes

2007-02-22 Thread Hoang-Nam Nguyen
From: Joachim Fenkes <[EMAIL PROTECTED]> This fixes whitespacing in ibmebus.[ch] - no functionality changed. Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- arch/powerpc/kernel/ibmebus.c | 126 +- include/asm-powerpc/ibmebus.h | 42

[PATCH 1/2] ibmebus: dynamic addiiton/removal of adapters, uevent, root device based on struct device

2007-02-22 Thread Hoang-Nam Nguyen
From: Joachim Fenkes [EMAIL PROTECTED] This adds two sysfs attributes to /sys/bus/ibmebus which can be used to notify the ebus driver of added / removed ebus devices in the OF device tree. Echoing the device's location code (as found in the OFDT ibm,loc-code property) into the probe attribute

[PATCH 2/2] ibmebus: dynamic add/remove, uevent, root device and whitespace

2007-02-21 Thread Hoang-Nam Nguyen
This is the aforementioned whitespace fix which applies on top of part 1/2. Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- arch/powerpc/kernel/ibmebus.c | 126 +- include/asm-powerpc/ibmebus.h | 42 +++--- diff -urp

[PATCH 1/2] ibmebus: dynamic add/remove, uevent, root device and whitespace

2007-02-21 Thread Hoang-Nam Nguyen
The first part of this patch summarizes the patches of the previous days, namely: - Add dynamic addition/removal of adapters (with spiffy error reporting) - Implement the uevent interface using Sylvain's generic function - Base fake root device on device instead of of_device The first part

[PATCH 1/2] ibmebus: dynamic add/remove, uevent, root device and whitespace

2007-02-21 Thread Hoang-Nam Nguyen
The first part of this patch summarizes the patches of the previous days, namely: - Add dynamic addition/removal of adapters (with spiffy error reporting) - Implement the uevent interface using Sylvain's generic function - Base fake root device on device instead of of_device The first part

[PATCH 2/2] ibmebus: dynamic add/remove, uevent, root device and whitespace

2007-02-21 Thread Hoang-Nam Nguyen
This is the aforementioned whitespace fix which applies on top of part 1/2. Signed-off-by: Joachim Fenkes [EMAIL PROTECTED] --- arch/powerpc/kernel/ibmebus.c | 126 +- include/asm-powerpc/ibmebus.h | 42 +++--- diff -urp

[PATCH 2.6.21-rc1] ibmebus: more error reporting in dynamic add/remove code

2007-02-20 Thread Hoang-Nam Nguyen
Writing the ibmebus probe and remove attributes now throws an appropriate error if something goes wrong. This way, userspace tools can check for success or failure of an addition or removal. The write will block until the probe/remove operation completes, so, when the write operation returns

[PATCH 2.6.21-rc1] ibmebus: more error reporting in dynamic add/remove code

2007-02-20 Thread Hoang-Nam Nguyen
Writing the ibmebus probe and remove attributes now throws an appropriate error if something goes wrong. This way, userspace tools can check for success or failure of an addition or removal. The write will block until the probe/remove operation completes, so, when the write operation returns

[PATCH 2.6.21-rc1] ibmebus: make root device not of_device-based

2007-02-19 Thread Hoang-Nam Nguyen
The fake root device doesn't have an associated device tree node, so it should not be an of_device. This patch makes it a normal, bus-less device and thus saves a lot of checks later on. Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- ibmebus.c | 33 ++---

[PATCH 2.6.21-rc1] ibmebus: make root device not of_device-based

2007-02-19 Thread Hoang-Nam Nguyen
The fake root device doesn't have an associated device tree node, so it should not be an of_device. This patch makes it a normal, bus-less device and thus saves a lot of checks later on. Signed-off-by: Joachim Fenkes [EMAIL PROTECTED] --- ibmebus.c | 33 ++--- 1

[PATCH 2.6.21-rc1] powerpc: Make of_device_uevent() compatible with ibmebus

2007-02-17 Thread Hoang-Nam Nguyen
ibmebus has a fake root device that's not associated with an ofdt node. Filter out any such devices in of_device_uevent(). Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- of_device.c |4 1 files changed, 4 insertions(+) diff -urp a/arch/powerpc/kernel/of_device.c

[PATCH 2.6.21-rc1] powerpc: Make of_device_uevent() compatible with ibmebus

2007-02-17 Thread Hoang-Nam Nguyen
ibmebus has a fake root device that's not associated with an ofdt node. Filter out any such devices in of_device_uevent(). Signed-off-by: Joachim Fenkes [EMAIL PROTECTED] --- of_device.c |4 1 files changed, 4 insertions(+) diff -urp a/arch/powerpc/kernel/of_device.c

[PATCH 2.6.21-rc1] ibmebus: Use of_device_uevent()

2007-02-16 Thread Hoang-Nam Nguyen
This patch replaces ibmebus_uevent() by Sylvain's generic function. Signed-off-by: Joachim Fenkes <[EMAIL PROTECTED]> --- ibmebus.c | 37 +++-- 1 file changed, 3 insertions(+), 34 deletions(-) diff -urp a/arch/powerpc/kernel/ibmebus.c

[PATCH 2.6.21-rc1] ibmebus: Use of_device_uevent()

2007-02-16 Thread Hoang-Nam Nguyen
This patch replaces ibmebus_uevent() by Sylvain's generic function. Signed-off-by: Joachim Fenkes [EMAIL PROTECTED] --- ibmebus.c | 37 +++-- 1 file changed, 3 insertions(+), 34 deletions(-) diff -urp a/arch/powerpc/kernel/ibmebus.c

Re: [PATCH 2.6.21-rc1 4/5] ehca: replace yield() by wait_for_completion()

2007-02-15 Thread Hoang-Nam Nguyen
Hi, > So I'm holding off on applying this for now. Please think it over and > either tell me the current patch is OK, or fix it up. There's not > really too much urgency because a change like this is something I > would be comfortable merging between 2.6.21-rc1 and -rc2. You're absolutely right.

[PATCH 2.6.21-rc1] ibmebus: Support dynamic addition and removal of adapters

2007-02-15 Thread Hoang-Nam Nguyen
This patch will add two sysfs attributes to /sys/bus/ibmebus which can be used to notify the ebus driver of added / removed ebus devices in the OF device tree. Echoing the device's location code (as found in the OFDT "ibm,loc-code" property) into the "probe" attribute will notify ebus of addition

[PATCH 2.6.21-rc1 5/5] ehca: query_port() returns LINK_UP instead UNKNOWN

2007-02-15 Thread Hoang-Nam Nguyen
set port phys state as a result of ehca_query_port() to LINK_UP. On pSeries ehca actually represents a logical HCA, whose phys/link state always is LINK_UP. Signed-off-by: Hoang-Nam Nguyen <[EMAIL PROTECTED]> --- ehca_hca.c |3 +++ 1 files changed, 3 insertions(+) diff --git a/d

[PATCH 2.6.21-rc1 3/5] ehca: allow en/disabling scaling code via module parameter

2007-02-15 Thread Hoang-Nam Nguyen
allow users to en/disable scaling code when loading ib_ehca module Signed-off-by: Hoang-Nam Nguyen <[EMAIL PROTECTED]> --- Kconfig|8 ehca_classes.h |1 + ehca_irq.c | 47 +-- ehca_main.c|4 4

[PATCH 2.6.21-rc1 4/5] ehca: replace yield() by wait_for_completion()

2007-02-15 Thread Hoang-Nam Nguyen
remove yield() and use wait_for_completion() in order to wait for running completion handlers finished before destroying associated completion queue Signed-off-by: Hoang-Nam Nguyen <[EMAIL PROTECTED]> --- ehca_classes.h |3 +++ ehca_cq.c |5 +++-- ehca_irq.c |6 +++

[PATCH 2.6.21-rc1 2/5] ehca: fix race condition/locking issues in scaling code

2007-02-15 Thread Hoang-Nam Nguyen
fix a race condition in find_next_cpu_online() and some other locking issues in scaling code Signed-off-by: Hoang-Nam Nguyen <[EMAIL PROTECTED]> --- ehca_irq.c | 68 + 1 files changed, 33 insertions(+), 35 deletions(-) diff

[PATCH 2.6.21-rc1 1/5] ehca: reworked irq handler to avoid/reduce missed irq events

2007-02-15 Thread Hoang-Nam Nguyen
reworked irq handler to avoid/reduce missed irq events Signed-off-by: Hoang-Nam Nguyen <[EMAIL PROTECTED]> --- ehca_classes.h | 18 +++- ehca_eq.c |1 ehca_irq.c | 214 +++-- ehca_irq.h |1 ehca_main.c

Re: [PATCH 2.6.21-rc1 1/5] ehca: reworked irq handler to avoid/reduce missed irq events

2007-02-15 Thread Hoang-Nam Nguyen
> Looks fine but this patch at least has serious whitespace > damage... please resend a fixed version. Sorry for this. Resending the patches 1-5. Nam - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [openib-general] 32-bit build for ppc64 is required

2007-02-15 Thread Hoang-Nam Nguyen
And the customers can pick the one(s) they like. I see your point regarding QA effort. Is it really twice? Probably more - I'm reasonably sure most scripts written so far assume stuff is installed in prefix/bin, so testing harness etc would need to be changed. And how to make sure the

Re: [openib-general] [PATCH 2.6.21-rc1 1/5] ehca: reworked irq handler to avoid/reduce missed irq events

2007-02-15 Thread Hoang-Nam Nguyen
Looks fine but this patch at least has serious whitespace damage... please resend a fixed version. Sorry for this. Resending the patches 1-5. Nam ___ openib-general mailing list openib-general@openib.org

[openib-general] [PATCH 2.6.21-rc1 1/5] ehca: reworked irq handler to avoid/reduce missed irq events

2007-02-15 Thread Hoang-Nam Nguyen
reworked irq handler to avoid/reduce missed irq events Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED] --- ehca_classes.h | 18 +++- ehca_eq.c |1 ehca_irq.c | 214 +++-- ehca_irq.h |1 ehca_main.c| 28

[openib-general] [PATCH 2.6.21-rc1 2/5] ehca: fix race condition/locking issues in scaling code

2007-02-15 Thread Hoang-Nam Nguyen
fix a race condition in find_next_cpu_online() and some other locking issues in scaling code Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED] --- ehca_irq.c | 68 + 1 files changed, 33 insertions(+), 35 deletions(-) diff --git

[openib-general] [PATCH 2.6.21-rc1 3/5] ehca: allow en/disabling scaling code via module parameter

2007-02-15 Thread Hoang-Nam Nguyen
allow users to en/disable scaling code when loading ib_ehca module Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED] --- Kconfig|8 ehca_classes.h |1 + ehca_irq.c | 47 +-- ehca_main.c|4 4 files changed

[openib-general] [PATCH 2.6.21-rc1 4/5] ehca: replace yield() by wait_for_completion()

2007-02-15 Thread Hoang-Nam Nguyen
remove yield() and use wait_for_completion() in order to wait for running completion handlers finished before destroying associated completion queue Signed-off-by: Hoang-Nam Nguyen [EMAIL PROTECTED] --- ehca_classes.h |3 +++ ehca_cq.c |5 +++-- ehca_irq.c |6 +- 3

<    5   6   7   8   9   10   11   12   >