Re: [PATCH v2 38/51] IB/qib: Add qib_sysfs.c

2010-04-12 Thread Ralph Campbell
On Fri, 2010-04-09 at 17:27 -0700, Jason Gunthorpe wrote: On Fri, Apr 09, 2010 at 05:13:24PM -0700, Ralph Campbell wrote: For the QSFP data, I hope I can leave it as is since it is related to the link state that the other files contain. It is a read-only file so no issue with trying

Re: [PATCH v2 38/51] IB/qib: Add qib_sysfs.c

2010-04-09 Thread Ralph Campbell
On Thu, 2010-04-08 at 15:50 -0700, Jason Gunthorpe wrote: On Thu, Apr 08, 2010 at 03:26:41PM -0700, Ralph Campbell wrote: On Thu, 2010-04-08 at 15:08 -0700, Jason Gunthorpe wrote: On Thu, Apr 08, 2010 at 02:29:53PM -0700, Ralph Campbell wrote: One other place that has multiple values

Re: [PATCH v2 38/51] IB/qib: Add qib_sysfs.c

2010-04-09 Thread Ralph Campbell
On Thu, 2010-04-08 at 14:33 -0700, Roland Dreier wrote: This was for debugging and clearly could use a better method. Some stats are definitely useful and having files per value would make scripting easier too. I could add /sys/class/infiniband/qib0/ports/1/diag_counters/* One

Re: [PATCH v2 12/51] IB/qib: Add qib_dma.c

2010-04-08 Thread Ralph Campbell
OK. This will be in v3. On Wed, 2010-03-31 at 16:18 -0700, Roland Dreier wrote: +struct ib_dma_mapping_ops qib_dma_mapping_ops = { + qib_mapping_error, + qib_dma_map_single, + qib_dma_unmap_single, + qib_dma_map_page, + qib_dma_unmap_page, + qib_map_sg, +

Re: [PATCH v2 38/51] IB/qib: Add qib_sysfs.c

2010-04-08 Thread Ralph Campbell
This was for debugging and clearly could use a better method. Some stats are definitely useful and having files per value would make scripting easier too. I could add /sys/class/infiniband/qib0/ports/1/diag_counters/* One other place that has multiple values is dumping the QSFP data from the IB

Re: [PATCH v2 38/51] IB/qib: Add qib_sysfs.c

2010-04-08 Thread Ralph Campbell
On Thu, 2010-04-08 at 15:08 -0700, Jason Gunthorpe wrote: On Thu, Apr 08, 2010 at 02:29:53PM -0700, Ralph Campbell wrote: One other place that has multiple values is dumping the QSFP data from the IB cable. I was going to comment that building your own I2C subsystem is kinda strange

Re: [PATCH v2 38/51] IB/qib: Add qib_sysfs.c

2010-04-08 Thread Ralph Campbell
On Thu, 2010-04-08 at 15:50 -0700, Jason Gunthorpe wrote: On Thu, Apr 08, 2010 at 03:26:41PM -0700, Ralph Campbell wrote: On Thu, 2010-04-08 at 15:08 -0700, Jason Gunthorpe wrote: On Thu, Apr 08, 2010 at 02:29:53PM -0700, Ralph Campbell wrote: One other place that has multiple values

[PATCH 0/3] best practice for setting IB_CQ_REPORT_MISSED_EVENTS

2010-03-31 Thread Ralph Campbell
The following patches update ISER, SRP and core to use the IB_CQ_REPORT_MISSED_EVENTS when calling ib_req_notify_cq() similar to the patch I sent out for RDS. Since the QLogic HCAs use a separate thread to generate the CQ callback, it is important to make sure it isn't delayed more than

[PATCH 3/3] IB/iser: use IB_CQ_REPORT_MISSED_EVENTS to avoid missed CQ callbacks

2010-03-31 Thread Ralph Campbell
to call ib_poll_cq() and ib_req_notify_cq() again to avoid delays in processing the CQE. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/ulp/iser/iser_verbs.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/infiniband/ulp/iser

Re: [PATCH 1/3] IB/core: use IB_CQ_REPORT_MISSED_EVENTS to avoid missed CQ callbacks

2010-03-31 Thread Ralph Campbell
The way I understand the sequence of events w/o the patch is: ib_req_notify_cq(IB_CQ_NEXT_COMP) CQE 1 added to queue callback scheduled via tasklet future callbacks disarmed callback function calls ib_req_notify_cq(IB_CQ_NEXT_COMP) callback function calls ib_poll_cq() and gets CQE

[PATCH] IB/rds: use IB_CQ_REPORT_MISSED_EVENTS to avoid missed CQ callbacks

2010-03-30 Thread Ralph Campbell
consumer to call ib_poll_cq() and ib_req_notify_cq() again to avoid delays in processing the CQE. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- This patch by itself should improve RDS performance over QLogic HCAs. I was running qperf rds_bw tests and would sometimes see unexpected opcode

Re: [PATCH] IB/rds: use IB_CQ_REPORT_MISSED_EVENTS to avoid missed CQ callbacks

2010-03-30 Thread Ralph Campbell
On Tue, 2010-03-30 at 16:30 -0700, Roland Dreier wrote: OpenFabrics added a IB_CQ_REPORT_MISSED_EVENTS flag to detect this OpenFabrics? Funny, I thought I added that flag. You did. I can change the comment if you like. (This is not a serious objection ... I'm just being annoying. Being

Re: [PATCH v3] IB/ipoib: fix dangling pointer references to ipoib_neigh and ipoib_path

2010-03-29 Thread Ralph Campbell
On Sun, 2010-03-28 at 09:02 -0700, Eli Cohen wrote: On Thu, Mar 04, 2010 at 10:58:27AM -0800, Ralph Campbell wrote: Subject: [PATCH v3] IB/ipoib: fix dangling pointer references to ipoib_neigh and ipoib_path When using connected mode, ipoib_cm_create_tx() kmallocs a struct ipoib_cm_tx

Re: [ewg] [PATCH] ipoib: Fix lockup of the tx queue

2010-03-11 Thread Ralph Campbell
On Thu, 2010-03-11 at 13:38 -0800, Roland Dreier wrote: good debugging, applied thanks. I do worry (as Moni mentioned) that this doesn't explain why you would get send failures in this case, but the patch itself is well-explained and looks obviously correct so I think we should apply it.

Re: [ewg] [PATCH] ipoib: Fix lockup of the tx queue

2010-03-11 Thread Ralph Campbell
Sorry, I was referring to my patch not Eli's. On Thu, 2010-03-11 at 13:41 -0800, Ralph Campbell wrote: On Thu, 2010-03-11 at 13:38 -0800, Roland Dreier wrote: good debugging, applied thanks. I do worry (as Moni mentioned) that this doesn't explain why you would get send failures

Re: [ewg] [PATCH] ipoib: Fix lockup of the tx queue

2010-03-11 Thread Ralph Campbell
On Thu, 2010-03-11 at 13:52 -0800, Roland Dreier wrote: Sorry, I was referring to my patch not Eli's. Heh, I never would have said anything about your patch was obvious. I skimmed yours once but I do want to read it more carefully. Did you ever say what test case you are using to provoke

[PATCH v2] IB/ipoib: fix dangling pointer references to ipoib_neigh and ipoib_path

2010-03-01 Thread Ralph Campbell
When using connected mode, ipoib_cm_create_tx() kmallocs a struct ipoib_cm_tx which contains pointers to ipoib_neigh and ipoib_path. If the paths are flushed or the struct neighbour is destroyed, the pointers held by struct ipoib_cm_tx can reference freed memory. Signed-off-by: Ralph Campbell

Re: IPoIB memory use after free

2010-02-18 Thread Ralph Campbell
On Wed, 2010-02-17 at 12:08 -0800, Arthur Kepner wrote: On Wed, Feb 17, 2010 at 12:02:36PM -0800, Ralph Campbell wrote: I have been tracking down a kernel panic while running qperf udp_bw tests and it looks like ib_ipoib is using memory after freeing it. The problem is with connected

IPoIB memory use after free

2010-02-17 Thread Ralph Campbell
I have been tracking down a kernel panic while running qperf udp_bw tests and it looks like ib_ipoib is using memory after freeing it. The problem is with connected mode. I don't see the panic with datagram mode. Looking at the source code, I see that the process of creating the QP with the

Re: [PATCH] infiniband-diags/ibportstate: allow changes to CA portinfo parameters

2010-01-11 Thread Ralph Campbell
objection to it. On Thu, 2009-11-05 at 11:56 -0800, Ralph Campbell wrote: This patch adds new commands to ibportstate to support initializing the link for CAs connected back-to-back. It also allows more than one field to be changed at the same time such as lid 23 arm or width 1 speed 3 enable

Re: InfiniBand/RDMA merge plans for 2.6.33

2009-12-14 Thread Ralph Campbell
On Mon, 2009-12-14 at 10:37 -0800, Roland Dreier wrote: - New QLogic qib driver. Needs at least one more iteration of cleanups; and I have not had time to look at the latest code in detail to see exactly what cleanups are needed. I am concerned that QLogic chose to abandon the

Re: [PATCH v2 0/51] updated patches for adding QIB driver

2009-12-09 Thread Ralph Campbell
OK. Done. On Wed, 2009-12-09 at 14:47 -0800, Roland Dreier wrote: have not had a chance to look at the new submission yet but I think you need at least the following rolled in, to avoid calling __exit code that might have been thrown away from the error path of your init function. Building

[PATCH v2 0/51] updated patches for adding QIB driver

2009-12-03 Thread Ralph Campbell
The following emails are in response to Rolands comments. Since the patches are for whole files, its hard to see what has changed but I describe it below. A reminder that these depend on the patch I sent earlier which introduces ib_sysfs_create_port_files() into the ib_core. --- Changed the

[PATCH v2 01/51] IB/qib: Add Kconfig

2009-12-03 Thread Ralph Campbell
This creates the Kconfig file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/Kconfig | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/Kconfig diff --git a/drivers/infiniband/hw/qib

[PATCH v2 02/51] IB/qib: Add Makefile

2009-12-03 Thread Ralph Campbell
This creates the Makefile file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/Makefile | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/Makefile diff --git a/drivers/infiniband/hw/qib

[PATCH v2 04/51] IB/qib: Add qib_6120_regs.h

2009-12-03 Thread Ralph Campbell
This creates the qib_6120_regs.h file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_6120_regs.h | 977 + 1 files changed, 977 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_6120_regs.h

[PATCH v2 05/51] IB/qib: Add qib_7220.h

2009-12-03 Thread Ralph Campbell
creates the qib_7220.h file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_7220.h | 158 ++ 1 files changed, 158 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_7220.h diff --git

[PATCH v2 08/51] IB/qib: Add qib_common.h

2009-12-03 Thread Ralph Campbell
creates the qib_common.h file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_common.h | 755 1 files changed, 755 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_common.h diff --git

[PATCH v2 10/51] IB/qib: Add qib_debug.h

2009-12-03 Thread Ralph Campbell
creates the qib_debug.h file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_debug.h | 85 + 1 files changed, 85 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_debug.h diff --git

[PATCH v2 11/51] IB/qib: Add qib_diag.c

2009-12-03 Thread Ralph Campbell
creates the qib_diag.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_diag.c | 908 ++ 1 files changed, 908 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_diag.c diff --git

[PATCH v2 12/51] IB/qib: Add qib_dma.c

2009-12-03 Thread Ralph Campbell
creates the qib_dma.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_dma.c | 182 +++ 1 files changed, 182 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_dma.c diff --git

[PATCH v2 14/51] IB/qib: Add qib_eeprom.c

2009-12-03 Thread Ralph Campbell
creates the qib_eeprom.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_eeprom.c | 460 1 files changed, 460 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_eeprom.c diff --git

[PATCH v2 20/51] IB/qib: Add qib_init.c

2009-12-03 Thread Ralph Campbell
creates the qib_init.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_init.c | 1618 ++ 1 files changed, 1618 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_init.c diff --git

[PATCH v2 21/51] IB/qib: Add qib_intr.c

2009-12-03 Thread Ralph Campbell
creates the qib_intr.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_intr.c | 217 ++ 1 files changed, 217 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_intr.c diff --git

[PATCH v2 22/51] IB/qib: Add qib_keys.c

2009-12-03 Thread Ralph Campbell
creates the qib_keys.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_keys.c | 278 ++ 1 files changed, 278 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_keys.c diff --git

[PATCH v2 23/51] IB/qib: Add qib_mad.c

2009-12-03 Thread Ralph Campbell
creates the qib_mad.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_mad.c | 1867 +++ 1 files changed, 1867 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_mad.c diff --git

[PATCH v2 24/51] IB/qib: Add qib_mad.h

2009-12-03 Thread Ralph Campbell
creates the qib_mad.h file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_mad.h | 333 +++ 1 files changed, 333 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_mad.h diff --git

[PATCH v2 25/51] IB/qib: Add qib_mmap.c

2009-12-03 Thread Ralph Campbell
creates the qib_mmap.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_mmap.c | 173 ++ 1 files changed, 173 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_mmap.c diff --git

[PATCH v2 26/51] IB/qib: Add qib_mr.c

2009-12-03 Thread Ralph Campbell
creates the qib_mr.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_mr.c | 455 1 files changed, 455 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_mr.c diff --git a/drivers

[PATCH v2 27/51] IB/qib: Add qib_pcie.c

2009-12-03 Thread Ralph Campbell
creates the qib_pcie.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_pcie.c | 810 ++ 1 files changed, 810 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_pcie.c diff --git

[PATCH v2 28/51] IB/qib: Add qib_pio_copy.c

2009-12-03 Thread Ralph Campbell
creates the qib_pio_copy.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_pio_copy.c | 64 ++ 1 files changed, 64 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_pio_copy.c diff --git

[PATCH v2 29/51] IB/qib: Add qib_qp.c

2009-12-03 Thread Ralph Campbell
creates the qib_qp.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_qp.c | 1241 1 files changed, 1241 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_qp.c diff --git a/drivers

[PATCH v2 31/51] IB/qib: Add qib_qsfp.h

2009-12-03 Thread Ralph Campbell
creates the qib_qsfp.h file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_qsfp.h | 183 ++ 1 files changed, 183 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_qsfp.h diff --git

[PATCH v2 33/51] IB/qib: Add qib_ruc.c

2009-12-03 Thread Ralph Campbell
creates the qib_ruc.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_ruc.c | 817 +++ 1 files changed, 817 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_ruc.c diff --git

[PATCH v2 34/51] IB/qib: Add qib_sd7220.c

2009-12-03 Thread Ralph Campbell
creates the qib_sd7220.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_sd7220.c | 1442 1 files changed, 1442 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_sd7220.c diff --git

[PATCH v2 36/51] IB/qib: Add qib_sdma.c

2009-12-03 Thread Ralph Campbell
creates the qib_sdma.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_sdma.c | 1037 ++ 1 files changed, 1037 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_sdma.c diff --git

[PATCH v2 37/51] IB/qib: Add qib_srq.c

2009-12-03 Thread Ralph Campbell
creates the qib_srq.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_srq.c | 374 +++ 1 files changed, 374 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_srq.c diff --git

[PATCH v2 38/51] IB/qib: Add qib_sysfs.c

2009-12-03 Thread Ralph Campbell
creates the qib_sysfs.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_sysfs.c | 736 + 1 files changed, 736 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_sysfs.c diff --git

[PATCH v2 40/51] IB/qib: Add qib_tx.c

2009-12-03 Thread Ralph Campbell
creates the qib_tx.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_tx.c | 585 1 files changed, 585 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_tx.c diff --git a/drivers

[PATCH v2 35/51] IB/qib: Add qib_sd7220_img.c

2009-12-03 Thread Ralph Campbell
creates the qib_sd7220_img.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_sd7220_img.c | 1081 1 files changed, 1081 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_sd7220_img.c diff

[PATCH v2 42/51] IB/qib: Add qib_ud.c

2009-12-03 Thread Ralph Campbell
creates the qib_ud.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_ud.c | 607 1 files changed, 607 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_ud.c diff --git a/drivers

[PATCH v2 43/51] IB/qib: Add qib_user_pages.c

2009-12-03 Thread Ralph Campbell
creates the qib_user_pages.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_user_pages.c | 163 1 files changed, 163 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_user_pages.c diff

[PATCH v2 45/51] IB/qib: Add qib_user_sdma.h

2009-12-03 Thread Ralph Campbell
creates the qib_user_sdma.h file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_user_sdma.h | 52 + 1 files changed, 52 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_user_sdma.h diff

[PATCH v2 47/51] IB/qib: Add qib_verbs.h

2009-12-03 Thread Ralph Campbell
creates the qib_verbs.h file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_verbs.h | 1086 + 1 files changed, 1086 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_verbs.h diff --git

[PATCH v2 50/51] IB/qib: Add qib_wc_x86_64.c

2009-12-03 Thread Ralph Campbell
creates the qib_wc_x86_64.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_wc_x86_64.c | 187 + 1 files changed, 187 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_wc_x86_64.c diff

[PATCH v2 51/51] IB/qib: Hooks for adding the QIB driver into the framework

2009-12-03 Thread Ralph Campbell
Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/Kconfig |1 + drivers/infiniband/Makefile |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig index dd0db67..c80f973 100644

Re: [PATCH 07/53] IB/qib: Add qib_7322_regs.h

2009-11-24 Thread Ralph Campbell
On Mon, 2009-11-23 at 20:04 -0800, Roland Dreier wrote: Do we really need 9000+ lines of these defines, most of which are unused? Is this automatically generated or something? - R. The file is automatically generated from the HW description files we use internally. It is obviously easier

Re: [PATCH 07/53] IB/qib: Add qib_7322_regs.h

2009-11-24 Thread Ralph Campbell
On Tue, 2009-11-24 at 14:29 -0800, Roland Dreier wrote: The file is automatically generated from the HW description files we use internally. It is obviously easier for us to leave it as is but if you feel strongly, we can filter the output to only contain the ones we use. This one

[PATCH 02/53] IB/qib: Add Makefile

2009-11-19 Thread Ralph Campbell
This creates the Makefile file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/Makefile | 46 1 files changed, 46 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/Makefile diff --git

[PATCH 13/53] IB/qib: Add qib_driver.c

2009-11-19 Thread Ralph Campbell
creates the qib_driver.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_driver.c | 793 1 files changed, 793 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_driver.c diff --git

[PATCH 14/53] IB/qib: Add qib_eeprom.c

2009-11-19 Thread Ralph Campbell
creates the qib_eeprom.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_eeprom.c | 460 1 files changed, 460 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_eeprom.c diff --git

[PATCH 16/53] IB/qib: Add qib_fs.c

2009-11-19 Thread Ralph Campbell
creates the qib_fs.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_fs.c | 549 1 files changed, 549 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_fs.c diff --git a/drivers

[PATCH 20/53] IB/qib: Add qib_init.c

2009-11-19 Thread Ralph Campbell
creates the qib_init.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_init.c | 1618 ++ 1 files changed, 1618 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_init.c diff --git

[PATCH 23/53] IB/qib: Add qib_mad.c

2009-11-19 Thread Ralph Campbell
creates the qib_mad.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_mad.c | 1867 +++ 1 files changed, 1867 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_mad.c diff --git

[PATCH 24/53] IB/qib: Add qib_mad.h

2009-11-19 Thread Ralph Campbell
creates the qib_mad.h file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_mad.h | 333 +++ 1 files changed, 333 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_mad.h diff --git

[PATCH 25/53] IB/qib: Add qib_mmap.c

2009-11-19 Thread Ralph Campbell
creates the qib_mmap.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_mmap.c | 173 ++ 1 files changed, 173 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_mmap.c diff --git

[PATCH 26/53] IB/qib: Add qib_mr.c

2009-11-19 Thread Ralph Campbell
creates the qib_mr.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_mr.c | 455 1 files changed, 455 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_mr.c diff --git a/drivers

[PATCH 28/53] IB/qib: Add qib_pio_copy.c

2009-11-19 Thread Ralph Campbell
creates the qib_pio_copy.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_pio_copy.c | 64 ++ 1 files changed, 64 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_pio_copy.c diff --git

[PATCH 30/53] IB/qib: Add qib_qsfp.c

2009-11-19 Thread Ralph Campbell
creates the qib_qsfp.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_qsfp.c | 593 ++ 1 files changed, 593 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_qsfp.c diff --git

[PATCH 31/53] IB/qib: Add qib_qsfp.h

2009-11-19 Thread Ralph Campbell
creates the qib_qsfp.h file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_qsfp.h | 183 ++ 1 files changed, 183 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_qsfp.h diff --git

[PATCH 33/53] IB/qib: Add qib_ruc.c

2009-11-19 Thread Ralph Campbell
creates the qib_ruc.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_ruc.c | 817 +++ 1 files changed, 817 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_ruc.c diff --git

[PATCH 34/53] IB/qib: Add qib_sd7220.c

2009-11-19 Thread Ralph Campbell
creates the qib_sd7220.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_sd7220.c | 1442 1 files changed, 1442 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_sd7220.c diff --git

[PATCH 35/53] IB/qib: Add qib_sd7220_img.c

2009-11-19 Thread Ralph Campbell
creates the qib_sd7220_img.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_sd7220_img.c | 1081 1 files changed, 1081 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_sd7220_img.c diff

[PATCH 37/53] IB/qib: Add qib_srq.c

2009-11-19 Thread Ralph Campbell
creates the qib_srq.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_srq.c | 374 +++ 1 files changed, 374 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_srq.c diff --git

[PATCH 38/53] IB/qib: Add qib_sysfs.c

2009-11-19 Thread Ralph Campbell
creates the qib_sysfs.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_sysfs.c | 736 + 1 files changed, 736 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_sysfs.c diff --git

[PATCH 40/53] IB/qib: Add qib_trace.h

2009-11-19 Thread Ralph Campbell
creates the qib_trace.h file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_trace.h | 65 + 1 files changed, 65 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_trace.h diff --git

[PATCH 39/53] IB/qib: Add qib_trace.c

2009-11-19 Thread Ralph Campbell
creates the qib_trace.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_trace.c | 1346 + 1 files changed, 1346 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_trace.c diff --git

[PATCH 43/53] IB/qib: Add qib_uc.c

2009-11-19 Thread Ralph Campbell
creates the qib_uc.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_uc.c | 586 1 files changed, 586 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_uc.c diff --git a/drivers

[PATCH 44/53] IB/qib: Add qib_ud.c

2009-11-19 Thread Ralph Campbell
creates the qib_ud.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_ud.c | 607 1 files changed, 607 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_ud.c diff --git a/drivers

[PATCH 42/53] IB/qib: Add qib_tx.c

2009-11-19 Thread Ralph Campbell
creates the qib_tx.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_tx.c | 585 1 files changed, 585 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_tx.c diff --git a/drivers

[PATCH 45/53] IB/qib: Add qib_user_pages.c

2009-11-19 Thread Ralph Campbell
creates the qib_user_pages.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_user_pages.c | 163 1 files changed, 163 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_user_pages.c diff

[PATCH 47/53] IB/qib: Add qib_user_sdma.h

2009-11-19 Thread Ralph Campbell
creates the qib_user_sdma.h file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_user_sdma.h | 52 + 1 files changed, 52 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_user_sdma.h diff

[PATCH 50/53] IB/qib: Add qib_verbs_mcast.c

2009-11-19 Thread Ralph Campbell
creates the qib_verbs_mcast.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_verbs_mcast.c | 368 +++ 1 files changed, 368 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_verbs_mcast.c

[PATCH 51/53] IB/qib: Add qib_wc_ppc64.c

2009-11-19 Thread Ralph Campbell
creates the qib_wc_ppc64.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_wc_ppc64.c | 62 ++ 1 files changed, 62 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_wc_ppc64.c diff --git

[PATCH 52/53] IB/qib: Add qib_wc_x86_64.c

2009-11-19 Thread Ralph Campbell
creates the qib_wc_x86_64.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_wc_x86_64.c | 187 + 1 files changed, 187 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_wc_x86_64.c diff

[PATCH 53/53] IB/qib: Hooks for adding the QIB driver into the framework

2009-11-19 Thread Ralph Campbell
Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/Kconfig |1 + drivers/infiniband/Makefile |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/Kconfig b/drivers/infiniband/Kconfig index dd0db67..c80f973 100644

[PATCH 46/53] IB/qib: Add qib_user_sdma.c

2009-11-19 Thread Ralph Campbell
creates the qib_user_sdma.c file. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- drivers/infiniband/hw/qib/qib_user_sdma.c | 909 + 1 files changed, 909 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/qib/qib_user_sdma.c diff

New source release of libipathverbs-1.2.tar.gz

2009-11-16 Thread Ralph Campbell
I have updated the latest released source tarball for libipathverbs which can be found at: http://www.openfabrics.org/downloads/libipathverbs/libipathverbs-1.2.tar.gz Vlad, please update OFED-1.5 to include this version. -- To unsubscribe from this list: send the line unsubscribe linux-rdma in

Re: [PATCH] IB/core: export struct ib_port

2009-11-11 Thread Ralph Campbell
On Wed, 2009-11-11 at 11:19 -0800, Roland Dreier wrote: This patch moves the definition of struct ib_port from sysfs.c to ib_verbs.h so that HCAs can create files in /sys/class/infiniband/hca/ports/N/ um, maybe, but we need to see how it gets used first. How do you get the to struct

Re: [PATCH] IB/core: export struct ib_port

2009-11-11 Thread Ralph Campbell
On Wed, 2009-11-11 at 15:02 -0800, Roland Dreier wrote: | Hmm, maybe we should just add a vls directory with sl0 ... sl15 or | something like that in generic code? I don't see why this needs to be | driver-specific code. No particular reason, it just didn't seem likely to be useful

[PATCH] infiniband-diags/ibportstate: allow changes to CA portinfo parameters

2009-11-05 Thread Ralph Campbell
This patch adds new commands to ibportstate to support initializing the link for CAs connected back-to-back. It also allows more than one field to be changed at the same time such as lid 23 arm or width 1 speed 3 enable. Signed-off-by: Ralph Campbell ralph.campb...@qlogic.com --- diff --git

<    1   2